Class for Lights.
More...
#include <light_handler.h>
List of all members.
Public Member Functions |
| | LightHandler (void *g, void *context, LWError *err) |
| virtual | ~LightHandler () |
| virtual void | ChangeID (const LWItemID *id_list) |
| virtual void | Cleanup () |
| virtual const char * | DescLn () |
| virtual int | Evaluate (const LWDVector spot, double fractime, LWIllumination illumination[], const LWLightAccess *lightaccess)=0 |
| virtual unsigned int | Flags () |
| virtual unsigned int | GetPhotons (unsigned int maxphotons, LWPhoton photons[], const LWLightAccess *lightaccess) |
| virtual unsigned int | GetRayIlluminations (LWDVector raystart, LWDVector raydir, double farclip, unsigned int maxrayilluminations, LWRayIllumination rayilluminations[], const LWLightAccess *lightaccess) |
| virtual LWError | Init (int mode) |
| virtual LWError | Load (const LoadState &ls) |
| | Load data from a LWLoadState.
|
| virtual LWError | NewFrame (const LWFrameInfo *frameinfo, unsigned int *maxilluminations, const LWLightAccess *lightaccess)=0 |
| virtual LWError | NewTime (LWFrame frame, LWTime time) |
| virtual const LWPreviewLight * | Preview () |
| virtual LWError | Save (const SaveState &ss) |
| | Save data to a LWSaveState.
|
| void | SetClassName (const char *n) |
| void | SetDescription (const char *n) |
| void | SetDescription (const std::string &s) |
| void | SetName (const char *n) |
| void | Update () |
| void | Update (const char *cName) |
| virtual const LWItemID * | UseItems () |
Detailed Description
Constructor & Destructor Documentation
| lwpp::LightHandler::LightHandler |
( |
void * |
g, |
|
|
void * |
context, |
|
|
LWError * |
err |
|
) |
| |
|
inline |
| virtual lwpp::LightHandler::~LightHandler |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
| virtual void lwpp::ItemHandler::ChangeID |
( |
const LWItemID * |
id_list | ) |
|
|
inlinevirtualinherited |
| virtual void lwpp::RenderHandler::Cleanup |
( |
| ) |
|
|
inlinevirtualinherited |
| virtual const char* lwpp::InstanceHandler::DescLn |
( |
| ) |
|
|
inlinevirtualinherited |
| virtual int lwpp::LightHandler::Evaluate |
( |
const LWDVector |
spot, |
|
|
double |
fractime, |
|
|
LWIllumination |
illumination[], |
|
|
const LWLightAccess * |
lightaccess |
|
) |
| |
|
pure virtual |
| virtual unsigned int lwpp::LightHandler::Flags |
( |
void |
| ) |
|
|
inlinevirtual |
| virtual unsigned int lwpp::LightHandler::GetPhotons |
( |
unsigned int |
maxphotons, |
|
|
LWPhoton |
photons[], |
|
|
const LWLightAccess * |
lightaccess |
|
) |
| |
|
inlinevirtual |
| virtual unsigned int lwpp::LightHandler::GetRayIlluminations |
( |
LWDVector |
raystart, |
|
|
LWDVector |
raydir, |
|
|
double |
farclip, |
|
|
unsigned int |
maxrayilluminations, |
|
|
LWRayIllumination |
rayilluminations[], |
|
|
const LWLightAccess * |
lightaccess |
|
) |
| |
|
inlinevirtual |
| virtual LWError lwpp::RenderHandler::Init |
( |
int |
mode | ) |
|
|
inlinevirtualinherited |
| virtual LWError lwpp::Storeable::Load |
( |
const LoadState & |
ls | ) |
|
|
inlinevirtualinherited |
| virtual LWError lwpp::LightHandler::NewFrame |
( |
const LWFrameInfo * |
frameinfo, |
|
|
unsigned int * |
maxilluminations, |
|
|
const LWLightAccess * |
lightaccess |
|
) |
| |
|
pure virtual |
| virtual LWError lwpp::RenderHandler::NewTime |
( |
LWFrame |
frame, |
|
|
LWTime |
time |
|
) |
| |
|
inlinevirtualinherited |
| virtual const LWPreviewLight* lwpp::LightHandler::Preview |
( |
| ) |
|
|
inlinevirtual |
| virtual LWError lwpp::Storeable::Save |
( |
const SaveState & |
ss | ) |
|
|
inlinevirtualinherited |
| void lwpp::InstanceHandler::SetClassName |
( |
const char * |
n | ) |
|
|
inlineinherited |
| void lwpp::InstanceHandler::SetDescription |
( |
const char * |
n | ) |
|
|
inlineinherited |
| void lwpp::InstanceHandler::SetDescription |
( |
const std::string & |
s | ) |
|
|
inlineinherited |
| void lwpp::InstanceHandler::SetName |
( |
const char * |
n | ) |
|
|
inlineinherited |
| void lwpp::InstanceHandler::Update |
( |
| ) |
|
|
inlineinherited |
| void lwpp::InstanceHandler::Update |
( |
const char * |
cName | ) |
|
|
inlineinherited |
| virtual const LWItemID* lwpp::ItemHandler::UseItems |
( |
| ) |
|
|
inlinevirtualinherited |
Member Data Documentation
| LWItemID lwpp::LightHandler::Context |
|
protected |
| LWFrame lwpp::RenderHandler::currentFrame |
|
protectedinherited |
| LWTime lwpp::RenderHandler::currentTime |
|
protectedinherited |
| const char* lwpp::InstanceHandler::m_className |
|
protectedinherited |
| std::string lwpp::InstanceHandler::m_description |
|
protectedinherited |
| const char* lwpp::InstanceHandler::m_pluginName |
|
protectedinherited |
| int lwpp::RenderHandler::renderMode |
|
protectedinherited |
The documentation for this class was generated from the following file: