![]() |
VR-Forces 4.0.4 Class Documentation
|
The DtTerrainlayer is the base implementation of a layer of data which makes up the terrain. More...

Public Types | |
| typedef std::map< DtUniqueID, DtProp * > | PropMap |
| List of props. | |
Public Member Functions | |
| DtTerrainLayer (DtDe &de, DtAgentManagerInterface &sceneInterface) | |
| CTOR. | |
| virtual | ~DtTerrainLayer () |
| DTOR. | |
| virtual void | addProp (DtProp *prop) |
| Add prop based on the DtPropRecord. | |
| virtual bool | addPropFromRecord (const makArchives::DtPropRecord &record) |
| Add prop based on the DtPropRecord. | |
| virtual DtProp * | findProp (DtUniqueID id) |
| Finds a pointer to the prop on the feature layer with the same identifiers as the passed in prop. | |
| virtual bool | destroyProp (DtUniqueID id) |
| Destroys the prop with the unique name. | |
| const PropMap & | props () const |
| Get the container of props associated with the layer. | |
Protected Attributes | |
| DtDe & | myDe |
| DtAgentManagerInterface & | mySceneInterface |
Private Attributes | |
| PropMap | myProps |
The DtTerrainlayer is the base implementation of a layer of data which makes up the terrain.
| typedef std::map<DtUniqueID,DtProp*> makVrv::DtTerrainLayer::PropMap |
List of props.
| makVrv::DtTerrainLayer::DtTerrainLayer | ( | DtDe & | de, |
| DtAgentManagerInterface & | sceneInterface | ||
| ) |
CTOR.
| virtual makVrv::DtTerrainLayer::~DtTerrainLayer | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtTerrainLayer::addProp | ( | DtProp * | prop | ) | [virtual] |
Add prop based on the DtPropRecord.
Ownership of the prop will be passed to the layer.
| virtual bool makVrv::DtTerrainLayer::addPropFromRecord | ( | const makArchives::DtPropRecord & | record | ) | [virtual] |
Add prop based on the DtPropRecord.
| virtual DtProp* makVrv::DtTerrainLayer::findProp | ( | DtUniqueID | id | ) | [virtual] |
Finds a pointer to the prop on the feature layer with the same identifiers as the passed in prop.
| virtual bool makVrv::DtTerrainLayer::destroyProp | ( | DtUniqueID | id | ) | [virtual] |
Destroys the prop with the unique name.
Returns true if the prop was destroyed, false otherwise.
| const PropMap& makVrv::DtTerrainLayer::props | ( | ) | const |
Get the container of props associated with the layer.
DtDe& makVrv::DtTerrainLayer::myDe [protected] |
PropMap makVrv::DtTerrainLayer::myProps [private] |