| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/sg/cullingscenething.h>

Public Member Functions | |
| CullingSceneThing (const Bounds &boundingBox, SO< SceneThing > parent=NULL) | |
| void | setBoundingBox (const VRS::Bounds &bbox) |
| virtual VRS::Bounds | boundingBox (VRS::Engine *engine) const |
| Calculates the bounding box of the scene graph. | |
| virtual void | evaluate (Engine *engine) |
| VRS_TYPEINFO (CullingSceneThing, SceneThing) | |
| VRS_SERIALIZABLE (CullingSceneThing) | |
Protected Member Functions | |
| CullingSceneThing () | |
| VRS::CullingSceneThing::CullingSceneThing | ( | const Bounds & | boundingBox, | |
| SO< SceneThing > | parent = NULL | |||
| ) |
Creates a SceneThing with a given constant bounding box. The bounding box is used to decide wether the scene is inside or outside the view frustum. Scenes that are outside are not rendered (--> culled).
| VRS::CullingSceneThing::CullingSceneThing | ( | ) | [inline, protected] |
| void VRS::CullingSceneThing::setBoundingBox | ( | const VRS::Bounds & | bbox | ) |
| virtual VRS::Bounds VRS::CullingSceneThing::boundingBox | ( | VRS::Engine * | engine | ) | const [virtual] |
| virtual void VRS::CullingSceneThing::evaluate | ( | Engine * | engine | ) | [virtual] |
Evaluation of the subscene graph Simply tests if the bounding box is inside the view frustum.
Reimplemented from VRS::SceneThing.
| VRS::CullingSceneThing::VRS_TYPEINFO | ( | CullingSceneThing | , | |
| SceneThing | ||||
| ) |
| VRS::CullingSceneThing::VRS_SERIALIZABLE | ( | CullingSceneThing | ) |