LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::LWPanelCameraHandler Class Reference

#include <camera_handler.h>

+ Inheritance diagram for lwpp::LWPanelCameraHandler:
+ Collaboration diagram for lwpp::LWPanelCameraHandler:

List of all members.

Public Member Functions

 LWPanelCameraHandler (void *g, void *context, LWError *err)
virtual void ChangeID (const LWItemID *id_list)
virtual void Cleanup ()
virtual const char * DescLn ()
virtual int Evaluate (double fpx, double fpy, double lpx, double lpy, double fractime, LWCameraRay *ray, const LWCameraAccess *camaccess)
virtual int Flags ()
virtual LWError Init (int mode)
virtual LWError Load (const LoadState &ls)
 Load data from a LWLoadState.
virtual LWError NewFrame (const LWFrameInfo *frameinfo, const LWCameraAccess *camaccess)
virtual LWError NewTime (LWFrame frame, LWTime time)
virtual LWError Options (void)
 Open LWPanel.
virtual bool Preview (double lpx, double lpy, LWDMatrix4 projection, const LWCameraAccess *camaccess)
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 ()

Protected Member Functions

virtual void panelActivate (const LWPanel &)
 Called when a panel is activated by the user.
virtual void panelClose (const LWPanel &)
 Called when a panel is closed.
virtual void panelDraw (const LWPanel &, DrMode)
 Handle Panel redraws.
virtual int panelKeyDown (const LWPanel &, LWDualKey)
 Called when a key has been pressed.
virtual int panelKeyUp (const LWPanel &, LWDualKey)
 Called when a key has been released.
virtual void panelMouseButton (const LWPanel &, int, int, int)
 Called when a mouse button has been pressed.
virtual void panelMouseMove (const LWPanel &, int, int, int)
 Called when the mouse has been moved.
virtual void panelOpen (const LWPanel &)
 Called when a panel is opened.

Protected Attributes

LWFrame currentFrame
LWTime currentTime
lwpp::LWItemTracker ItemTracker
const char * m_className
std::string m_description
const char * m_pluginName
InstanceUpdate m_update
LWPanel Panel
int renderMode

Constructor & Destructor Documentation

lwpp::LWPanelCameraHandler::LWPanelCameraHandler ( void *  g,
void *  context,
LWError *  err 
)
inline

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::CameraHandler::Evaluate ( double  fpx,
double  fpy,
double  lpx,
double  lpy,
double  fractime,
LWCameraRay *  ray,
const LWCameraAccess *  camaccess 
)
inlinevirtualinherited
virtual int lwpp::CameraHandler::Flags ( )
inlinevirtualinherited
virtual LWError lwpp::RenderHandler::Init ( int  mode)
inlinevirtualinherited
virtual LWError lwpp::Storeable::Load ( const LoadState ls)
inlinevirtualinherited

Load data from a LWLoadState.

Parameters:
*lsLWLoadState to load from
Returns:
An error string if an error occured, 0 otherwise

Reimplemented in lwpp::LWItem, lwpp::FileName, lwpp::Image, lwpp::ColourManager, lwpp::NodeEditor, and lwpp::VParm.

virtual LWError lwpp::CameraHandler::NewFrame ( const LWFrameInfo *  frameinfo,
const LWCameraAccess *  camaccess 
)
inlinevirtualinherited
virtual LWError lwpp::RenderHandler::NewTime ( LWFrame  frame,
LWTime  time 
)
inlinevirtualinherited
virtual LWError lwpp::LWPanelInterface::Options ( void  )
inlinevirtualinherited

Open LWPanel.

virtual void lwpp::LWPanelCallbacks::panelActivate ( const LWPanel )
inlinevirtualinherited

Called when a panel is activated by the user.

virtual void lwpp::LWPanelCallbacks::panelClose ( const LWPanel )
inlinevirtualinherited

Called when a panel is closed.

virtual void lwpp::LWPanelCallbacks::panelDraw ( const LWPanel ,
DrMode   
)
inlinevirtualinherited

Handle Panel redraws.

virtual int lwpp::LWPanelCallbacks::panelKeyDown ( const LWPanel ,
LWDualKey   
)
inlinevirtualinherited

Called when a key has been pressed.

virtual int lwpp::LWPanelCallbacks::panelKeyUp ( const LWPanel ,
LWDualKey   
)
inlinevirtualinherited

Called when a key has been released.

virtual void lwpp::LWPanelCallbacks::panelMouseButton ( const LWPanel ,
int  ,
int  ,
int   
)
inlinevirtualinherited

Called when a mouse button has been pressed.

virtual void lwpp::LWPanelCallbacks::panelMouseMove ( const LWPanel ,
int  ,
int  ,
int   
)
inlinevirtualinherited

Called when the mouse has been moved.

virtual void lwpp::LWPanelCallbacks::panelOpen ( const LWPanel )
inlinevirtualinherited

Called when a panel is opened.

virtual bool lwpp::CameraHandler::Preview ( double  lpx,
double  lpy,
LWDMatrix4  projection,
const LWCameraAccess *  camaccess 
)
inlinevirtualinherited
virtual LWError lwpp::Storeable::Save ( const SaveState ss)
inlinevirtualinherited

Save data to a LWSaveState.

Parameters:
*ssLWSaveState to save to
Returns:
An error string if an error occured, 0 otherwise

Reimplemented in lwpp::LWItem, lwpp::FileName, lwpp::Image, lwpp::ColourManager, lwpp::NodeEditor, and lwpp::VParm.

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

LWFrame lwpp::RenderHandler::currentFrame
protectedinherited
LWTime lwpp::RenderHandler::currentTime
protectedinherited
lwpp::LWItemTracker lwpp::ItemHandler::ItemTracker
protectedinherited
const char* lwpp::InstanceHandler::m_className
protectedinherited
std::string lwpp::InstanceHandler::m_description
protectedinherited
const char* lwpp::InstanceHandler::m_pluginName
protectedinherited
InstanceUpdate lwpp::InstanceHandler::m_update
protectedinherited
LWPanel lwpp::LWPanelInterface::Panel
protectedinherited
int lwpp::RenderHandler::renderMode
protectedinherited

The documentation for this class was generated from the following file: