#include <ivf/IvfCulledScene.h>
Inheritance diagram for CIvfCulledScene:
Public Member Functions | |
CIvfCulledScene () | |
virtual | ~CIvfCulledScene () |
IvfClassInfo ("CIvfCulledScene", CIvfScene) | |
void | addChild (CIvfShape *shape) |
void | setCullView (CIvfView *view) |
CIvfView * | getCullView () |
void | setUseCulling (bool flag) |
bool | getUseCulling () |
int | getCullCount () |
Protected Member Functions | |
bool | intersectFrustum (CIvfBoundingSphere *bSphere) |
void | cull () |
virtual void | createGeometry () |
Implements a scene with culling against a view frustum.
Definition at line 43 of file IvfCulledScene.h.
|
CIvfCulledScene constructor |
|
CIvfCulledScene destructor |
|
Adds a child to scene Each child added to the scene will be assigned a bounding sphere using the initBoundingSphere method of the CIvfObject class. Reimplemented from CIvfSceneBase. |
|
Forces an object recalculation. Reimplemented from CIvfSceneBase. |
|
Returns the number of objects culled |
|
Returns the view used for culling |
|
Returns the culling state Reimplemented from CIvfSceneBase. |
|
Sets the view used for culling If not set, the scene camera will be used to cull the scene. This method can be used to support custom culling routines. |
|
Enables or disables culling The default value is true. If set to false normal scene rendering will be used. Reimplemented from CIvfSceneBase. |