The interface for the makVrv::DtTerrainContentsWidget for the makVrv::DtTerrainContentsLogic.
More...
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, double maxHeight)=0 |
| | Set the height above geodetic 0 altitude that the ocean will be rendered.
|
| virtual void | setLodRange (double range, const DtUnicode &units, int decimals, double maxRange, double minStep)=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.
|
Detailed Description
Member Enumeration Documentation
- Enumerator:
| TerrainPatch |
|
| FeatureLayer |
|
| OceanLayer |
|
Member Function Documentation
| virtual void makVrv::DtTerrainContentsInterface::addItem |
( |
int |
id, |
|
|
LayerType |
layerType, |
|
|
const DtUnicode & |
name, |
|
|
bool |
visualized |
|
) |
| |
|
pure virtual |
| virtual void makVrv::DtTerrainContentsInterface::removeItem |
( |
int |
id | ) |
|
|
pure virtual |
| virtual void makVrv::DtTerrainContentsInterface::clear |
( |
| ) |
|
|
pure virtual |
| virtual void makVrv::DtTerrainContentsInterface::setAddOceanButtonState |
( |
bool |
enabled | ) |
|
|
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.
| virtual void makVrv::DtTerrainContentsInterface::setOceanHeight |
( |
double |
height, |
|
|
const DtUnicode & |
units, |
|
|
int |
decimals, |
|
|
double |
maxHeight |
|
) |
| |
|
pure virtual |
| virtual void makVrv::DtTerrainContentsInterface::setLodRange |
( |
double |
range, |
|
|
const DtUnicode & |
units, |
|
|
int |
decimals, |
|
|
double |
maxRange, |
|
|
double |
minStep |
|
) |
| |
|
pure virtual |
Member Data Documentation
| 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.
| const double makVrv::DtTerrainContentsInterface::theMaxOceanHeightInMeters |
|
static |
| const double makVrv::DtTerrainContentsInterface::theMaxOceanLODElevationInMeters |
|
static |
The documentation for this class was generated from the following file: