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

#include <preview.h>

+ Inheritance diagram for lwpp::Preview:
+ Collaboration diagram for lwpp::Preview:

List of all members.

Public Member Functions

 Preview (const char *title, PreviewCallbacks *prevCB)
 ~Preview ()
void close (void)
LWImageID getBitmap (int *width, int *height)
LWItemID getCamera (double pos[3], double rot[3], double *zoomFactor)
void getPixel (PvSample *pixel)
void getView (int *width, int *height, double *pixelAspect)
bool isOpen (void)
bool isValid (void)
void open (void)
void setClick (clickFunc *cf)
void setContext (void)
void setOptions (const char **list, PreviewCallbacks *prevCB, int selection)
void setPreset (PreviewCallbacks *prevCB)
void setRender (PreviewCallbacks *prevCB)
void startRender ()
void stopRender ()

Protected Member Functions

bool _acquireGlobal ()
virtual bool available () const
 Check if the global is available.
virtual LWPreviewFuncs * getGlobal ()
 Get the pointer to the global.
LWPreviewFuncs * operator-> ()
 Get the pointer to the global.

Static Protected Attributes

static LWPreviewFuncs * globPtr
 Pointer to the global functions.

Constructor & Destructor Documentation

lwpp::Preview::Preview ( const char *  title,
PreviewCallbacks prevCB 
)
inline
lwpp::Preview::~Preview ( )
inline

Member Function Documentation

bool lwpp::GlobalBase< LWPreviewFuncs >::_acquireGlobal ( )
inlineprotectedinherited
virtual bool lwpp::GlobalBase< LWPreviewFuncs >::available ( ) const
inlinevirtualinherited

Check if the global is available.

void lwpp::Preview::close ( void  )
inline
LWImageID lwpp::Preview::getBitmap ( int *  width,
int *  height 
)
inline
LWItemID lwpp::Preview::getCamera ( double  pos[3],
double  rot[3],
double *  zoomFactor 
)
inline
virtual LWPreviewFuncs * lwpp::GlobalBase< LWPreviewFuncs >::getGlobal ( )
inlinevirtualinherited

Get the pointer to the global.

void lwpp::Preview::getPixel ( PvSample *  pixel)
inline
void lwpp::Preview::getView ( int *  width,
int *  height,
double *  pixelAspect 
)
inline
bool lwpp::Preview::isOpen ( void  )
inline
bool lwpp::Preview::isValid ( void  )
inline
void lwpp::Preview::open ( void  )
inline
LWPreviewFuncs * lwpp::GlobalBase< LWPreviewFuncs >::operator-> ( )
inlineinherited

Get the pointer to the global.

void lwpp::Preview::setClick ( clickFunc *  cf)
inline
void lwpp::Preview::setContext ( void  )
inline
void lwpp::Preview::setOptions ( const char **  list,
PreviewCallbacks prevCB,
int  selection 
)
inline
void lwpp::Preview::setPreset ( PreviewCallbacks prevCB)
inline
void lwpp::Preview::setRender ( PreviewCallbacks prevCB)
inline
void lwpp::Preview::startRender ( )
inline
void lwpp::Preview::stopRender ( )
inline

Member Data Documentation

LWPreviewFuncs * lwpp::GlobalBase< LWPreviewFuncs >::globPtr
staticprotectedinherited

Pointer to the global functions.


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