![]() |
VR-Forces 5.0.2 Developer's Guide
|
DtOsgForest provides a way to make lots of trees.

Public Member Functions | |
| virtual | ~DtOsgForest () |
Driver bound methods | |
These methods are bound to the driver. | |
| virtual void | addUniqueTree (DtTreeRecord &record) |
| virtual void | removeTree (DtUniqueID id) |
| virtual void | removeAllTrees () |
| virtual void | setTreeClippingPlane (float fFar) |
| virtual void | setTree3DLodDistances (float fNear, float fFar) |
| virtual void | getTreeClippingPlane (float &fFar) |
| virtual void | getTree3DLodDistances (float &fNear, float &fFar) |
| virtual void | setTreeBillboardDistances (float fStart, float fEnd) |
| virtual void | getTreeBillboardDistances (float &fStart, float &fEnd) |
| virtual void | setBillboardFadeOutRange (float fFar) |
| virtual void | getBillboardFadeOutRange (float &fFar) |
Public Member Functions inherited from makVrv::DtForestObject | |
| virtual | ~DtForestObject () |
| virtual DtDe & | de () |
| void | addTree (DtTreeRecord &record) |
Protected Member Functions | |
| DtOsgForest (DtDe &de, DtUniqueID id) | |
Protected Member Functions inherited from makVrv::DtForestObject | |
| DtForestObject (DtDe &de, DtUniqueID id) | |
Friends | |
| class | DtOsgForestClassesCreator |
| class | DtOsgForestObjectCreator |
Additional Inherited Members | |
Public Types inherited from makVrv::DtForestObject | |
| typedef boost::unordered_map < DtUniqueID, DtTreeRecord > | TreeRecordMap |
Protected Attributes inherited from makVrv::DtForestObject | |
| DtDe & | myDe |
|
virtual |
Destructor.
|
protected |
Constructor is protected because this class is created via the creator pattern.
|
virtual |
Add a tree to the forest.
Implements makVrv::DtForestObject.
|
virtual |
Remove a tree from the forest.
Implements makVrv::DtForestObject.
|
virtual |
Remove all trees.
Implements makVrv::DtForestObject.
|
virtual |
Set the distance that trees are clipped.
Implements makVrv::DtForestObject.
|
virtual |
Set the distances for tree LOD's.
Implements makVrv::DtForestObject.
|
virtual |
Get the distance that trees are clipped.
Implements makVrv::DtForestObject.
|
virtual |
Get the distances for tree LOD's.
Implements makVrv::DtForestObject.
|
virtual |
Set the distances for tree billboards.
Implements makVrv::DtForestObject.
|
virtual |
Get the distances for tree billboards.
Implements makVrv::DtForestObject.
|
virtual |
Add a tree to the forest.
Implements makVrv::DtForestObject.
|
virtual |
Add a tree to the forest.
Implements makVrv::DtForestObject.
|
friend |
This allows the protected constructor to be called by the DtOsgForestObjectCreator.
|
friend |