A DtTreeRecord holds the requisite information needed to create a tree in a forest.
More...
Protected Member Functions |
| void | copyHelper (const DtTreeRecord &orig) |
| | Non virtual. Called by copy ctor and assignment operator.
|
Detailed Description
A DtTreeRecord holds the requisite information needed to create a tree in a forest.
Constructor & Destructor Documentation
| makVrv::DtTreeRecord::DtTreeRecord |
( |
| ) |
|
| makVrv::DtTreeRecord::DtTreeRecord |
( |
DtUniqueID |
id, |
|
|
const DtVector & |
pos, |
|
|
const std::string & |
modelDefinitionName |
|
) |
| |
| makVrv::DtTreeRecord::DtTreeRecord |
( |
const DtTreeRecord & |
orig | ) |
|
| virtual makVrv::DtTreeRecord::~DtTreeRecord |
( |
| ) |
|
|
virtual |
Member Function Documentation
Returns true if the two DtTreeRecords have the same UniqueId.
Returns true if the two this records UniqueId is less than other's UniqueId.
| virtual void makVrv::DtTreeRecord::setUniqueId |
( |
DtUniqueID |
id | ) |
|
|
virtual |
| virtual DtUniqueID makVrv::DtTreeRecord::uniqueId |
( |
| ) |
const |
|
virtual |
| void makVrv::DtTreeRecord::setCellID |
( |
DtUniqueID |
id | ) |
|
| DtUniqueID makVrv::DtTreeRecord::cellId |
( |
void |
| ) |
const |
| virtual void makVrv::DtTreeRecord::setPostion |
( |
const DtVector & |
pos | ) |
|
|
virtual |
Set position of the tree in scene coordinates.
| virtual const DtVector& makVrv::DtTreeRecord::position |
( |
| ) |
const |
|
virtual |
Return the position of the tree in scene coordinates.
| virtual void makVrv::DtTreeRecord::setModelDefinition |
( |
const std::string & |
modelDef | ) |
|
|
virtual |
Set the model definition name of the tree.
| virtual const std::string& makVrv::DtTreeRecord::modelDefinition |
( |
| ) |
const |
|
virtual |
Return the model definition name of the tree.
| virtual void makVrv::DtTreeRecord::setScale |
( |
float |
fScale | ) |
|
|
virtual |
| virtual float makVrv::DtTreeRecord::scale |
( |
void |
| ) |
const |
|
virtual |
| virtual void makVrv::DtTreeRecord::setOrientation |
( |
const DtDegrees & |
orientation | ) |
|
|
virtual |
| virtual DtDegrees makVrv::DtTreeRecord::orientation |
( |
void |
| ) |
const |
|
virtual |
| static void makVrv::DtTreeRecord::getRandomizedScale |
( |
float & |
fScale, |
|
|
float |
fMinScale, |
|
|
float |
fMaxScale, |
|
|
DtUniqueID |
id |
|
) |
| |
|
static |
| static void makVrv::DtTreeRecord::getRandomizedOrientation |
( |
DtDegrees & |
orientation, |
|
|
DtUniqueID |
id |
|
) |
| |
|
static |
| void makVrv::DtTreeRecord::copyHelper |
( |
const DtTreeRecord & |
orig | ) |
|
|
protected |
Non virtual. Called by copy ctor and assignment operator.
Member Data Documentation
| DtVector makVrv::DtTreeRecord::myPosition |
|
protected |
| std::string makVrv::DtTreeRecord::myModelDefinition |
|
protected |
| float makVrv::DtTreeRecord::myScale |
|
protected |
| DtDegrees makVrv::DtTreeRecord::myOrientation |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-4-branch/include/vrvCore/DtTreeRecord.h