CIvfCulledScene Class Reference

#include <ivf/IvfCulledScene.h>

Inheritance diagram for CIvfCulledScene:

CIvfScene CIvfSceneBase CIvfShape CIvfObject CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Member Functions

 CIvfCulledScene ()
virtual ~CIvfCulledScene ()
 IvfClassInfo ("CIvfCulledScene", CIvfScene)
void addChild (CIvfShape *shape)
void setCullView (CIvfView *view)
CIvfViewgetCullView ()
void setUseCulling (bool flag)
bool getUseCulling ()
int getCullCount ()

Protected Member Functions

bool intersectFrustum (CIvfBoundingSphere *bSphere)
void cull ()
virtual void createGeometry ()

Detailed Description

Culled scene class (obsolete use CIvfSceneBase derived classes instead)

Implements a scene with culling against a view frustum.

Author:
Jonas Lindemann

Definition at line 43 of file IvfCulledScene.h.


Constructor & Destructor Documentation

CIvfCulledScene::CIvfCulledScene  ) 
 

CIvfCulledScene constructor

virtual CIvfCulledScene::~CIvfCulledScene  )  [virtual]
 

CIvfCulledScene destructor


Member Function Documentation

void CIvfCulledScene::addChild CIvfShape shape  ) 
 

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.

virtual void CIvfCulledScene::createGeometry  )  [protected, virtual]
 

Forces an object recalculation.

Reimplemented from CIvfSceneBase.

int CIvfCulledScene::getCullCount  ) 
 

Returns the number of objects culled

CIvfView* CIvfCulledScene::getCullView  ) 
 

Returns the view used for culling

bool CIvfCulledScene::getUseCulling  ) 
 

Returns the culling state

Reimplemented from CIvfSceneBase.

void CIvfCulledScene::setCullView CIvfView view  ) 
 

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.

void CIvfCulledScene::setUseCulling bool  flag  ) 
 

Enables or disables culling

The default value is true. If set to false normal scene rendering will be used.

Reimplemented from CIvfSceneBase.


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:50 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO