VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Protected Attributes | Private Attributes
makVrv::DtTerrainLayer Class Reference

The DtTerrainlayer is the base implementation of a layer of data which makes up the terrain. More...

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

List of all members.

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 DtPropfindProp (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 PropMapprops () const
 Get the container of props associated with the layer.

Protected Attributes

DtDemyDe
DtAgentManagerInterfacemySceneInterface

Private Attributes

PropMap myProps

Detailed Description

The DtTerrainlayer is the base implementation of a layer of data which makes up the terrain.


Member Typedef Documentation

List of props.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

virtual void makVrv::DtTerrainLayer::addProp ( DtProp prop) [virtual]

Add prop based on the DtPropRecord.

Ownership of the prop will be passed to the layer.

Add prop based on the DtPropRecord.

Finds a pointer to the prop on the feature layer with the same identifiers as the passed in prop.

Destroys the prop with the unique name.

Returns true if the prop was destroyed, false otherwise.

Get the container of props associated with the layer.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)