VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
makVrv::DtForest Class Reference

A wrapper around the forest driver and some local state of the forest. More...

List of all members.

Public Member Functions

 DtForest (DtAgentManagerInterface &smi)
 CTOR.
 ~DtForest ()
 DTOR.
void setClippingPlanes (float farPlane)
 Set the clipping planes for the forest.
void getClippingPlanes (float &farPlane) const
 Get the clipping planes for the forest.
void setLodDistances (float nearLOD, float farLOD)
 Set the LOD distances for the trees.
void getLodDistances (float &nearLOD, float &farLOD) const
 Get the LOD distances for the trees.
void setPerformanceProfile (int index)
 Set performance profile.
int performanceProfile () const
 Get the performance profile.
void addTree (const DtTreeRecord &record)
 Add a tree to the forest.
void removeTree (const DtTreeRecord &record)
 Removes a tree from the forest.
void addTree (const DtProp &prop)
 Add a tree to the forest.
void removeTree (const DtProp &propID)
 Removes a tree from the forest.
void removeAllTrees ()
 Remove all trees.
DtForestObjectAgent * driver ()
 Get the forest driver. Typically you should not need to call this.

Protected Attributes

DtAgentManagerInterfacemySceneInterface
DtForestObjectAgent * myForestAgent
float myFarPlane
float myNearLOD
float myFarLOD
int myPerformanceProfile

Detailed Description

A wrapper around the forest driver and some local state of the forest.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

void makVrv::DtForest::setClippingPlanes ( float  farPlane)

Set the clipping planes for the forest.

void makVrv::DtForest::getClippingPlanes ( float &  farPlane) const

Get the clipping planes for the forest.

void makVrv::DtForest::setLodDistances ( float  nearLOD,
float  farLOD 
)

Set the LOD distances for the trees.

void makVrv::DtForest::getLodDistances ( float &  nearLOD,
float &  farLOD 
) const

Get the LOD distances for the trees.

Set performance profile.

Get the performance profile.

void makVrv::DtForest::addTree ( const DtTreeRecord record)

Add a tree to the forest.

void makVrv::DtForest::removeTree ( const DtTreeRecord record)

Removes a tree from the forest.

void makVrv::DtForest::addTree ( const DtProp prop)

Add a tree to the forest.

void makVrv::DtForest::removeTree ( const DtProp propID)

Removes a tree from the forest.

Remove all trees.

DtForestObjectAgent* makVrv::DtForest::driver ( )

Get the forest driver. Typically you should not need to call this.


Member Data Documentation

DtForestObjectAgent* makVrv::DtForest::myForestAgent [protected]
float makVrv::DtForest::myFarPlane [protected]
float makVrv::DtForest::myNearLOD [protected]
float makVrv::DtForest::myFarLOD [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)