VisioMove  2.1.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Friends Pages
VgEngine::VgIEnginePostDrawCallback Class Referenceabstract

This callback is used to draw some elements on the screen after the 3D view has been drawn. More...

Inheritance diagram for VgEngine::VgIEnginePostDrawCallback:
Inheritance graph

Public Member Functions

virtual ~VgIEnginePostDrawCallback ()
 Destructor. More...
 
virtual void postDraw (VgIEngineContext *pContext)=0
 This method is called after a 3D view is rendered. More...
 
void setEngine (VgEngine::VgIEngine *pEngine)
 Set the engine associated with the callback. More...
 
- Public Member Functions inherited from VgEngine::VgReferenced
 VgReferenced ()
 Constructor. More...
 
 VgReferenced (const VgReferenced &pThis)
 Copy constructor. More...
 
virtual ~VgReferenced ()
 Destructor. More...
 
VgReferencedoperator= (const VgReferenced &pThis)
 Assignment operator. More...
 
void ref () const
 This method is used to add a reference to this object. More...
 
int unref () const
 This method is used to remove a reference to this object. More...
 
int getNbReferences () const
 Retrieves the number of references to this object. More...
 

Protected Member Functions

 VgIEnginePostDrawCallback ()
 Constructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from VgEngine::VgReferenced
int mNbReferences
 The number of references to this object. More...
 

Detailed Description

This callback is used to draw some elements on the screen after the 3D view has been drawn.

Constructor & Destructor Documentation

virtual VgEngine::VgIEnginePostDrawCallback::~VgIEnginePostDrawCallback ( )
inlinevirtual

Destructor.

Will automatically remove the object from the engine if has hasn't already been removed.

VgEngine::VgIEnginePostDrawCallback::VgIEnginePostDrawCallback ( )
inlineprotected

Constructor.

Member Function Documentation

virtual void VgEngine::VgIEnginePostDrawCallback::postDraw ( VgIEngineContext pContext)
pure virtual

This method is called after a 3D view is rendered.

Parameters
pContextthe context used to draw on the screen.
void VgEngine::VgIEnginePostDrawCallback::setEngine ( VgEngine::VgIEngine pEngine)
inline

Set the engine associated with the callback.

The is set automatically by the engine when the object is added as a listener of the post draw events.

Parameters
pEngineThe engine to which this callback was added to.

The documentation for this class was generated from the following file:
VisioMove 2.1.5, Visioglobe® 2015