VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Friends
makVrv::DtOsgForest Class Reference

DtOsgForest provides a way to make lots of trees. More...

Inheritance diagram for makVrv::DtOsgForest:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtOsgForest ()
 Destructor.
Driver bound methods

These methods are bound to the driver.

virtual void addUniqueTree (DtTreeRecord &record)
 Add a tree to the forest.
virtual void removeTree (DtUniqueID id)
 Remove a tree from the forest.
virtual void removeAllTrees ()
 Remove all trees.
virtual void setTreeClippingPlane (float fFar)
 Set the distance that trees are clipped.
virtual void setTree3DLodDistances (float fNear, float fFar)
 Set the distances for tree LOD's.
virtual void getTreeClippingPlane (float &fFar)
 Get the distance that trees are clipped.
virtual void getTree3DLodDistances (float &fNear, float &fFar)
 Get the distances for tree LOD's.
virtual void setTreeBillboardDistances (float fStart, float fEnd)
 Set the distances for tree billboards.
virtual void getTreeBillboardDistances (float &fStart, float &fEnd)
 Get the distances for tree billboards.
- Public Member Functions inherited from makVrv::DtForestObject
virtual ~DtForestObject ()
 Destructor.
virtual DtDede ()
 IG accessor.
void addTree (DtTreeRecord &record)
 Add a tree to the forest.

Protected Member Functions

 DtOsgForest (DtDe &de, DtUniqueID id)
 Constructor is protected because this class is created via the creator pattern.
- Protected Member Functions inherited from makVrv::DtForestObject
 DtForestObject (DtDe &de, DtUniqueID id)
 Constructor is protected because this class is created via the creator pattern.

Friends

class DtOsgForestClassesCreator
 This allows the protected constructor to be called by the DtOsgForestCreator.
class DtOsgForestCreator

Additional Inherited Members

- Public Types inherited from makVrv::DtForestObject
typedef boost::unordered_map
< DtUniqueID, DtTreeRecord
TreeRecordMap
- Protected Attributes inherited from makVrv::DtForestObject
DtDemyDe

Detailed Description

DtOsgForest provides a way to make lots of trees.

Constructor & Destructor Documentation

virtual makVrv::DtOsgForest::~DtOsgForest ( )
virtual

Destructor.

makVrv::DtOsgForest::DtOsgForest ( DtDe de,
DtUniqueID  id 
)
protected

Constructor is protected because this class is created via the creator pattern.

Member Function Documentation

virtual void makVrv::DtOsgForest::addUniqueTree ( DtTreeRecord record)
virtual

Add a tree to the forest.

Implements makVrv::DtForestObject.

virtual void makVrv::DtOsgForest::removeTree ( DtUniqueID  id)
virtual

Remove a tree from the forest.

Implements makVrv::DtForestObject.

virtual void makVrv::DtOsgForest::removeAllTrees ( )
virtual

Remove all trees.

Implements makVrv::DtForestObject.

virtual void makVrv::DtOsgForest::setTreeClippingPlane ( float  fFar)
virtual

Set the distance that trees are clipped.

Implements makVrv::DtForestObject.

virtual void makVrv::DtOsgForest::setTree3DLodDistances ( float  fNear,
float  fFar 
)
virtual

Set the distances for tree LOD's.

Implements makVrv::DtForestObject.

virtual void makVrv::DtOsgForest::getTreeClippingPlane ( float &  fFar)
virtual

Get the distance that trees are clipped.

Implements makVrv::DtForestObject.

virtual void makVrv::DtOsgForest::getTree3DLodDistances ( float &  fNear,
float &  fFar 
)
virtual

Get the distances for tree LOD's.

Implements makVrv::DtForestObject.

virtual void makVrv::DtOsgForest::setTreeBillboardDistances ( float  fStart,
float  fEnd 
)
virtual

Set the distances for tree billboards.

Implements makVrv::DtForestObject.

virtual void makVrv::DtOsgForest::getTreeBillboardDistances ( float &  fStart,
float &  fEnd 
)
virtual

Get the distances for tree billboards.

Implements makVrv::DtForestObject.

Friends And Related Function Documentation

friend class DtOsgForestClassesCreator
friend

This allows the protected constructor to be called by the DtOsgForestCreator.

friend class DtOsgForestCreator
friend

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)