version 3.3

VRS::CullingSceneThing Class Reference

Scene graph node for view frustum culling. More...

#include <vrs/sg/cullingscenething.h>

Inheritance diagram for VRS::CullingSceneThing:

VRS::SceneThing VRS::SceneNode VRS::SharedObj VRS::Visitable

List of all members.

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 ()


Detailed Description

Scene graph node for view frustum culling.

Constructor & Destructor Documentation

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]


Member Function Documentation

void VRS::CullingSceneThing::setBoundingBox ( const VRS::Bounds bbox  ) 

virtual VRS::Bounds VRS::CullingSceneThing::boundingBox ( VRS::Engine engine  )  const [virtual]

Calculates the bounding box of the scene graph.

Reimplemented from VRS::SceneThing.

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   ) 


The documentation for this class was generated from the following file:

Generated on Mon May 21 06:00:26 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact