![]() |
VR-Forces 4.3.1 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. | |
| virtual void | removeItem (int id)=0 |
| Call to remove a terrain patch/ feature layer to the widget. | |
| virtual void | clear ()=0 |
| Called to clear all the terrain patches, feature layers in the widget. | |
| virtual void | setAddOceanButtonState (bool enabled)=0 |
| Called to set the state of the AddOceanFeatureLayer button. | |
| virtual void | setOceanHeight (double height, const DtUnicode &units, int decimals)=0 |
| Set the height above geodetic 0 altitude that the ocean will be rendered. | |
| virtual void | setLodRange (double range, const DtUnicode &units, int decimals)=0 |
| Set the range at which ocean layers LOD out. | |
Public Attributes | |
| boost::signal< void(int)> | signal_remove |
| emitted by the widget when the user chooses remove a layer. | |
| boost::signal< void(float)> | signal_oceanHeightChanged |
| Signal emitted by the widget when the user changes the ocean height spin box or slider. | |
| boost::signal< void(float)> | signal_lodRangeChanged |
| Signal emitted by the widget when the user changes the lod range spin box or slider. | |
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.
|
pure virtual |
Set the height above geodetic 0 altitude that the ocean will be rendered.
Implemented in makVrv::DtTerrainContentsWidget.
|
pure virtual |
Set the range at which ocean layers LOD out.
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.
| boost::signal<void ( float )> makVrv::DtTerrainContentsInterface::signal_oceanHeightChanged |
Signal emitted by the widget when the user changes the ocean height spin box or slider.
| boost::signal<void ( float )> makVrv::DtTerrainContentsInterface::signal_lodRangeChanged |
Signal emitted by the widget when the user changes the lod range spin box or slider.