VR-Forces Developer's Guide
 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.

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

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 DtDede ()
 
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
DtDemyDe
 

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.

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

Add a tree to the forest.

Implements makVrv::DtForestObject.

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

Add a tree to the forest.

Implements makVrv::DtForestObject.

Friends And Related Function Documentation

friend class DtOsgForestClassesCreator
friend

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

friend class DtOsgForestObjectCreator
friend

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)