![]() |
VR-Forces 4.8 Class Documentation
|
The interface for the makVrv::DtTerrainContentsWidget for the makVrv::DtTerrainContentsLogic. More...

Public Types | |
| enum | LayerType { TerrainPatch, FeatureLayer, OceanLayer } |
Public Member Functions | |
| virtual void | addItem (int id, LayerType layerType, const DtUnicode &name, bool visualized)=0 |
| Call to add a terrain patch/ feature layer to the widget. More... | |
| virtual void | removeItem (int id)=0 |
| Call to remove a terrain patch/ feature layer to the widget. More... | |
| virtual void | clear ()=0 |
| Called to clear all the terrain patches, feature layers in the widget. More... | |
| virtual void | setAddOceanButtonState (bool enabled)=0 |
| Called to set the state of the AddOceanFeatureLayer button. More... | |
Public Attributes | |
| boost::signal< void(int)> | signal_remove |
| emitted by the widget when the user chooses remove a layer. More... | |
The interface for the makVrv::DtTerrainContentsWidget for the makVrv::DtTerrainContentsLogic.
|
pure virtual |
Call to add a terrain patch/ feature layer to the widget.
Implemented in makVrv::DtTerrainContentsWidget.
|
pure virtual |
Call to remove a terrain patch/ feature layer to the widget.
Implemented in makVrv::DtTerrainContentsWidget.
|
pure virtual |
Called to clear all the terrain patches, feature layers in the widget.
Implemented in makVrv::DtTerrainContentsWidget.
|
pure virtual |
Called to set the state of the AddOceanFeatureLayer button.
Currently, only one ocean layer is supported, so disable if an ocean layer already exists
Implemented in makVrv::DtTerrainContentsWidget.
| boost::signal<void (int)> makVrv::DtTerrainContentsInterface::signal_remove |
emitted by the widget when the user chooses remove a layer.
Connected to a slot in the logic.