![]() |
VR-Forces 4.8 Class Documentation
|
DtOsgForest provides a way to make lots of trees. More...

Public Member Functions | |
| virtual | ~DtOsgForest () |
| Destructor. More... | |
Driver bound methods | |
These methods are bound to the driver. | |
| virtual void | addUniqueTree (DtTreeRecord &record) |
| Add a tree to the forest. More... | |
| virtual void | removeTree (DtUniqueID id) |
| Remove a tree from the forest. More... | |
| virtual void | removeAllTrees () |
| Remove all trees. More... | |
| virtual void | setTreeClippingPlane (float fFar) |
| Set the distance that trees are clipped. More... | |
| virtual void | setTree3DLodDistances (float fNear, float fFar) |
| Set the distances for tree LOD's. More... | |
| virtual void | getTreeClippingPlane (float &fFar) |
| Get the distance that trees are clipped. More... | |
| virtual void | getTree3DLodDistances (float &fNear, float &fFar) |
| Get the distances for tree LOD's. More... | |
| virtual void | setTreeBillboardDistances (float fStart, float fEnd) |
| Set the distances for tree billboards. More... | |
| virtual void | getTreeBillboardDistances (float &fStart, float &fEnd) |
| Get the distances for tree billboards. More... | |
| virtual void | setBillboardFadeOutRange (float fFar) |
| set the fade out distance for the billboards. The Range - Cull distance = start transition dist More... | |
| virtual void | getBillboardFadeOutRange (float &fFar) |
| get the fade out distance for the billboards. The Range - Cull distance = start transition dist More... | |
Public Member Functions inherited from makVrv::DtForestObject | |
| virtual | ~DtForestObject () |
| Destructor. More... | |
| virtual DtDe & | de () |
| IG accessor. More... | |
| void | addTree (DtTreeRecord &record) |
| Add a tree to the forest. More... | |
Protected Member Functions | |
| DtOsgForest (DtDe &de, DtUniqueID id) | |
| Constructor is protected because this class is created via the creator pattern. More... | |
Protected Member Functions inherited from makVrv::DtForestObject | |
| DtForestObject (DtDe &de, DtUniqueID id) | |
| Constructor is protected because this class is created via the creator pattern. More... | |
Friends | |
| class | DtOsgForestClassesCreator |
| This allows the protected constructor to be called by the DtOsgForestObjectCreator. More... | |
| 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 |
DtOsgForest provides a way to make lots of trees.
|
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 |
set the fade out distance for the billboards. The Range - Cull distance = start transition dist
Implements makVrv::DtForestObject.
|
virtual |
get the fade out distance for the billboards. The Range - Cull distance = start transition dist
Implements makVrv::DtForestObject.
|
friend |
This allows the protected constructor to be called by the DtOsgForestObjectCreator.
|
friend |