Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
The SceneManagerVectorGraphics class is a SceneManager that contains VectorGraphics objects. More...
#include <SceneManagerVectorGraphics.hpp>
Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| SceneManagerVectorGraphics () | |
| void | setActorRenderRankStart (int rank_start) |
| Defines the Actor's render rank to be used when extracting them from the scene manager during the rendering. | |
| int | actorRenderRankStart () const |
| Returns the rendering rank start value used during the rendering of the VectorGraphics objects. See setActorRenderRankStart() for more information. | |
| virtual void | extractVisibleActors (vl::ActorCollection &queue, const vl::Camera *) |
| Performs frustum culling and appends the enabled and visible Actor[s] to the given ActorCollection. | |
| virtual void | extractActors (vl::ActorCollection &queue) |
| Appends all the Actor[s] contained in the scene manager without performing frustum culling or checking enable masks. | |
| vl::Collection< VectorGraphics > * | vectorGraphicObjects () |
| Returns the list of VectorGraphics objects bound to a SceneManagerVectorGraphics. | |
| const vl::Collection < VectorGraphics > * | vectorGraphicObjects () const |
| Returns the list of VectorGraphics objects bound to a SceneManagerVectorGraphics. | |
Protected Attributes | |
| vl::Collection< VectorGraphics > | mVectorGraphicObjects |
| int | mActorRenderRankStart |
The SceneManagerVectorGraphics class is a SceneManager that contains VectorGraphics objects.
The VectorGraphics objects are rendered in the order in which they are added to the SceneManagerVectorGraphics.
| vlVG::SceneManagerVectorGraphics::SceneManagerVectorGraphics | ( | ) | [inline] |
| virtual const char* vlVG::SceneManagerVectorGraphics::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::SceneManager.
| void vlVG::SceneManagerVectorGraphics::setActorRenderRankStart | ( | int | rank_start ) | [inline] |
Defines the Actor's render rank to be used when extracting them from the scene manager during the rendering.
During the rendering when the Actor[s] are extracted they are assigned a progressive render rank starting from rank_start so that they are rendered in the same order in which they were created by their VectorGraphics. Also the order in which a VectorGraphics is inserted in the SceneManagerVectorGraphics determines the rendering order.
| int vlVG::SceneManagerVectorGraphics::actorRenderRankStart | ( | ) | const [inline] |
Returns the rendering rank start value used during the rendering of the VectorGraphics objects. See setActorRenderRankStart() for more information.
| virtual void vlVG::SceneManagerVectorGraphics::extractVisibleActors | ( | vl::ActorCollection & | list, |
| const vl::Camera * | camera | ||
| ) | [inline, virtual] |
Performs frustum culling and appends the enabled and visible Actor[s] to the given ActorCollection.
See also enableMask(), Actor::enableMask()
Implements vl::SceneManager.
| virtual void vlVG::SceneManagerVectorGraphics::extractActors | ( | vl::ActorCollection & | list ) | [inline, virtual] |
Appends all the Actor[s] contained in the scene manager without performing frustum culling or checking enable masks.
Implements vl::SceneManager.
| vl::Collection<VectorGraphics>* vlVG::SceneManagerVectorGraphics::vectorGraphicObjects | ( | ) | [inline] |
Returns the list of VectorGraphics objects bound to a SceneManagerVectorGraphics.
| const vl::Collection<VectorGraphics>* vlVG::SceneManagerVectorGraphics::vectorGraphicObjects | ( | ) | const [inline] |
Returns the list of VectorGraphics objects bound to a SceneManagerVectorGraphics.
int vlVG::SceneManagerVectorGraphics::mActorRenderRankStart [protected] |