The DtTerrainContentsLogic populates the DtTerrainContentsWidget with the Contents that were used to compose the current terrain.
More...
Public Types |
typedef std::map< std::string,
int > | IdMap |
| | Terrain patches will have unique string names.
|
Detailed Description
The DtTerrainContentsLogic populates the DtTerrainContentsWidget with the Contents that were used to compose the current terrain.
Member Typedef Documentation
Terrain patches will have unique string names.
Feature layers will have unique string names. Terrain patches could have the same string name as feature layers though. Keep a map of the "unique" string name, to a actually unique id.
Constructor & Destructor Documentation
| makVrv::DtTerrainContentsLogic::~DtTerrainContentsLogic |
( |
| ) |
|
Member Function Documentation
| void makVrv::DtTerrainContentsLogic::populateWidgetWithContents |
( |
| ) |
|
|
protected |
Populate the widget with Contents already performed.
Not virtual because its called from the constructor. Overriding classes can send additional info to the widget in their own constructor
| virtual void makVrv::DtTerrainContentsLogic::slot_terrainPatchAdded |
( |
const DtTerrainPatch & |
terrainPatch | ) |
|
|
protectedvirtual |
| virtual void makVrv::DtTerrainContentsLogic::slot_terrainPatchToBeDeleted |
( |
const DtTerrainPatch & |
terrainPatch | ) |
|
|
protectedvirtual |
| virtual void makVrv::DtTerrainContentsLogic::slot_featureLayerAdded |
( |
const DtFeatureLayer & |
layer | ) |
|
|
protectedvirtual |
Slot called when the DtTerrainSignaler signals that a new feature layer has been added.
| virtual void makVrv::DtTerrainContentsLogic::slot_featureLayerToBeDeleted |
( |
const DtFeatureLayer & |
layer | ) |
|
|
protectedvirtual |
Slot called when the DtSignaler signals that a feature layer has been removed.
| virtual void makVrv::DtTerrainContentsLogic::slot_remove |
( |
int |
id | ) |
|
|
protectedvirtual |
Remove a terrain patch or feature layer based on id.
Signal raised by the widget.
Friends And Related Function Documentation
Member Data Documentation
| DtDe& makVrv::DtTerrainContentsLogic::myDe |
|
protected |
| int makVrv::DtTerrainContentsLogic::myNextUniqueId |
|
protected |
| IdMap makVrv::DtTerrainContentsLogic::myTerrainPatchMap |
|
protected |
| IdMap makVrv::DtTerrainContentsLogic::myFeatureLayerMap |
|
protected |
The documentation for this class was generated from the following file: