Public Member Functions | Protected Member Functions

VgEngine::VgIEnginePostDrawCallback Class Reference

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
[legend]
Collaboration diagram for VgEngine::VgIEnginePostDrawCallback:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~VgIEnginePostDrawCallback ()
 Destructor.
virtual void postDraw (VgIEngineContext *pContext)=0
 This method is called after a 3D view is rendered.
void setEngine (VgEngine::VgIEngine *pEngine)
 Set the engine associated with the callback.

Protected Member Functions

 VgIEnginePostDrawCallback ()
 Constructor.

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 (  ) [inline, virtual]

Destructor.

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

VgEngine::VgIEnginePostDrawCallback::VgIEnginePostDrawCallback (  ) [inline, protected]

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:
VisioDevKit 2.0, Visioglobe® 2013