Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
The SceneManagerBVH class implements the basic functionalities for bounding-volume-hierarchy based scene managers. More...
#include <SceneManagerBVH.hpp>
Public Member Functions | |
void | setTree (T *bbh) |
Sets the tree to be used by the scene manager. | |
const T * | tree () const |
Returns the tree used by the scene manager. | |
T * | tree () |
Returns the tree used by the scene manager. | |
virtual void | extractVisibleActors (ActorCollection &list, const Camera *camera) |
Performs frustum culling and appends the enabled and visible Actor[s] to the given ActorCollection. | |
virtual void | extractActors (ActorCollection &list) |
Appends all the Actor[s] contained in the scene manager without performing frustum culling or checking enable masks. | |
Protected Attributes | |
ref< T > | mBoundingVolumeTree |
The SceneManagerBVH class implements the basic functionalities for bounding-volume-hierarchy based scene managers.
Definition at line 55 of file SceneManagerBVH.hpp.
void vl::SceneManagerBVH< T >::setTree | ( | T * | bbh ) | [inline] |
Sets the tree to be used by the scene manager.
Definition at line 61 of file SceneManagerBVH.hpp.
const T* vl::SceneManagerBVH< T >::tree | ( | ) | const [inline] |
Returns the tree used by the scene manager.
Definition at line 63 of file SceneManagerBVH.hpp.
T* vl::SceneManagerBVH< T >::tree | ( | ) | [inline] |
Returns the tree used by the scene manager.
Definition at line 65 of file SceneManagerBVH.hpp.
virtual void vl::SceneManagerBVH< T >::extractVisibleActors | ( | ActorCollection & | list, |
const 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.
Definition at line 67 of file SceneManagerBVH.hpp.
virtual void vl::SceneManagerBVH< T >::extractActors | ( | 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.
Definition at line 76 of file SceneManagerBVH.hpp.
ref<T> vl::SceneManagerBVH< T >::mBoundingVolumeTree [protected] |
Definition at line 83 of file SceneManagerBVH.hpp.