![]() |
VR-Forces 4.8 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. More... | |
| typedef boost::unordered_set < std::string > | PropNameSet |
| Set of prop names. More... | |
Public Member Functions | |
| DtTerrainLayer (DtDe &de, DtAgentManagerInterface &sceneInterface) | |
| CTOR. More... | |
| virtual | ~DtTerrainLayer () |
| DTOR. More... | |
| virtual void | addProp (DtProp *prop) |
| Add prop based on the DtPropRecord. More... | |
| virtual bool | addPropFromRecord (const makArchives::DtPropRecord &record) |
| Add prop based on the DtPropRecord. More... | |
| virtual DtProp * | findProp (DtUniqueID id) |
| Finds a pointer to the prop on the feature layer with the same identifiers as the passed in prop. More... | |
| virtual bool | destroyProp (DtUniqueID id) |
| Destroys the prop with the unique name. More... | |
| const PropMap & | props () const |
| Get the container of props associated with the layer. More... | |
| const PropNameSet & | propNames () const |
| Get the set of prop names used in this layer. More... | |
| void | selectionChanged (const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &de) |
Public Attributes | |
| boost::signal< void(const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &deselected)> | signal_currentSelectionChanged |
| Emited when the current selection changes. More... | |
Protected Attributes | |
| DtDe & | myDe |
| DtAgentManagerInterface & | mySceneInterface |
Private Attributes | |
| PropMap | myProps |
| PropNameSet | myPropNames |
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.
| typedef boost::unordered_set<std::string> makVrv::DtTerrainLayer::PropNameSet |
Set of prop names.
| makVrv::DtTerrainLayer::DtTerrainLayer | ( | DtDe & | de, |
| DtAgentManagerInterface & | sceneInterface | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Add prop based on the DtPropRecord.
Ownership of the prop will be passed to the layer.
|
virtual |
Add prop based on the DtPropRecord.
|
virtual |
Finds a pointer to the prop on the feature layer with the same identifiers as the passed in prop.
|
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.
| const PropNameSet& makVrv::DtTerrainLayer::propNames | ( | ) | const |
Get the set of prop names used in this layer.
| void makVrv::DtTerrainLayer::selectionChanged | ( | const DtSelectionManager::IdSet & | selected, |
| const DtSelectionManager::IdSet & | de | ||
| ) |
| boost::signal<void (const DtSelectionManager::IdSet& selected, const DtSelectionManager::IdSet& deselected)> makVrv::DtTerrainLayer::signal_currentSelectionChanged |
Emited when the current selection changes.
|
protected |
|
protected |
|
private |
|
private |