Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <RenderingAbstract.hpp>

Public Member Functions | |
| RenderingAbstract () | |
| Constructor. | |
| virtual void | render ()=0 |
| Executes the rendering. | |
| RenderingAbstract & | operator= (const RenderingAbstract &other) |
| void | dispatchRenderingCallbacks (ERenderingCallback reason) |
| Triggers the execution of the rendering callbacks with the given reason. | |
| Collection< RenderingCallback > * | renderingCallbacks () |
| Returns the list of RenderingCallback objects bound to a Rendering. | |
| const Collection < RenderingCallback > * | renderingCallbacks () const |
| Returns the list of RenderingCallback objects bound to a Rendering. | |
| void | setEnableMask (unsigned int mask) |
| The enable mask of the Rendering, used to define wheter the rendering is enabled or not, and which objects should be rendered. | |
| unsigned int | enableMask () const |
| The enable mask of the Rendering, used to define wheter the rendering is enabled or not, and which objects should be rendered. | |
| bool | isEnabled (unsigned int mask) |
Utility function equivalent to "(mask & mEnableMask) != 0". | |
| void | setUpdateTime (Real cur_time) |
| The update time of the current rendering frame. | |
| Real | updateTime () const |
| The update time of the current rendering frame. | |
Protected Attributes | |
| ref< Collection < RenderingCallback > > | mRenderingCallbacks |
| Real | mUpdateTime |
| unsigned int | mEnableMask |
| RenderingAbstract::RenderingAbstract | ( | ) |
Constructor.
| virtual void vl::RenderingAbstract::render | ( | ) | [pure virtual] |
Executes the rendering.
Implemented in vl::Rendering, and vl::RenderingTree.
| RenderingAbstract & RenderingAbstract::operator= | ( | const RenderingAbstract & | other | ) |
| void RenderingAbstract::dispatchRenderingCallbacks | ( | ERenderingCallback | reason | ) |
Triggers the execution of the rendering callbacks with the given reason.
| Collection<RenderingCallback>* vl::RenderingAbstract::renderingCallbacks | ( | ) | [inline] |
Returns the list of RenderingCallback objects bound to a Rendering.
| const Collection<RenderingCallback>* vl::RenderingAbstract::renderingCallbacks | ( | ) | const [inline] |
Returns the list of RenderingCallback objects bound to a Rendering.
| void vl::RenderingAbstract::setEnableMask | ( | unsigned int | mask | ) | [inline] |
The enable mask of the Rendering, used to define wheter the rendering is enabled or not, and which objects should be rendered.
| unsigned int vl::RenderingAbstract::enableMask | ( | ) | const [inline] |
The enable mask of the Rendering, used to define wheter the rendering is enabled or not, and which objects should be rendered.
| bool vl::RenderingAbstract::isEnabled | ( | unsigned int | mask | ) | [inline] |
Utility function equivalent to "(mask & mEnableMask) != 0".
| void vl::RenderingAbstract::setUpdateTime | ( | Real | cur_time | ) | [inline] |
The update time of the current rendering frame.
| Real vl::RenderingAbstract::updateTime | ( | ) | const [inline] |
The update time of the current rendering frame.
ref< Collection<RenderingCallback> > vl::RenderingAbstract::mRenderingCallbacks [protected] |
Real vl::RenderingAbstract::mUpdateTime [protected] |
unsigned int vl::RenderingAbstract::mEnableMask [protected] |