![]() |
VR-Forces 4.7 Class Documentation
|
DtOsgEarthProfileInterface. More...

Public Types | |
| enum | LayerType { ImageLayer, ElevationLayer, ModelLayer, Building, GroundCoverLayer, GroundCover } |
Public Member Functions | |
| virtual void | setVisibility (LayerType layerType, bool visibility)=0 |
| Sets the visibility for the layer. | |
| virtual void | setOpacity (float opacity)=0 |
| Sets the opacity,only apply for image and elevation layers. | |
| virtual void | setLightingEnabled (bool enabled)=0 |
| Sets the lighting enabled or not,only apply for model layers. | |
| virtual void | addLayerType (LayerType layerType)=0 |
| Adds the type of the layer. | |
| virtual void | addLayer (int id, LayerType layerType, const std::string &name, bool enabled, bool visible, int parentID=-1)=0 |
| Adds the layer. | |
| virtual void | saveMaxDistanceForGroundCover (int id, float maxDistance)=0 |
| save the max distance for groundCover | |
| virtual float | getMaxDistanceForGroundCover (int id)=0 |
| get the max distance for groundCover | |
| virtual void | setGroundCoverVisibility (bool visible)=0 |
| Sets the visibility for the groundCover. | |
| virtual void | setGroundCoverDensity (double density)=0 |
| Sets the density for the groundCover. | |
| virtual void | setGroundCoverFill (double fill)=0 |
| Sets the fill percentage for the groundCover. | |
| virtual void | setGroundCoverWind (double wind)=0 |
| Sets the wind effect for the groundCover. | |
| virtual void | setGroundCoverBrightness (double brightness)=0 |
| Sets the brightness for the groundCover. | |
| virtual void | setGroundCoverContrast (double contrast)=0 |
| Sets the contrast for the groundCover. | |
| virtual void | slot_afterPopulateAllLayers ()=0 |
| Slots after populate all layers. | |
| virtual void | setLastEarthFileName (const std::string &name)=0 |
| set last earth file that this dialog diaplayed | |
Public Attributes | |
| boost::signal< void(std::string)> | signal_selectOsgEarthChanged |
| boost signals | |
| boost::signal< void(int, int, int)> | signal_selectLayerTreeChanged |
| boost::signal< void(int, int, int)> | signal_layerVisibilityCheckBoxValueChanged |
| boost::signal< void(int, int, double)> | signal_layerOpacitySpinBoxValueChanged |
| boost::signal< void(int, int, int)> | signal_lightingEnabledCheckBox_valueChanged |
| boost::signal< void(int, int, int)> | signal_groundCoverVisibilityChanged |
| boost::signal< void(int, int, double)> | signal_groundCoverDensityChanged |
| boost::signal< void(int, int, double)> | signal_groundCoverFillChanged |
| boost::signal< void(int, int, double)> | signal_groundCoverWindChanged |
| boost::signal< void(int, int, double)> | signal_groundCoverBrightnessChanged |
| boost::signal< void(int, int, double)> | signal_groundCoverContrastChanged |
|
pure virtual |
Sets the visibility for the layer.
| layerType | Type of the layer |
| visibility | The visibility of the layer |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Sets the opacity,only apply for image and elevation layers.
| name | opacity The opacity(between 0-1) |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Sets the lighting enabled or not,only apply for model layers.
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Adds the type of the layer.
| layerType | Type of the layer |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Adds the layer.
| id | The identifier |
| layerType | Type of the layer |
| name | The name |
| enabled | if the layer is enabled |
| visible | if the layer is visible |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
save the max distance for groundCover
| id | The identifier |
| maxDistance | the max distance of this groundCover(default is 1km) |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
get the max distance for groundCover
| id | The identifier |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Sets the visibility for the groundCover.
| visible | The visibility of the groundCover |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Sets the density for the groundCover.
| visible | The density of the groundCover |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Sets the fill percentage for the groundCover.
| fill | The fill percentage of the groundCover |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Sets the wind effect for the groundCover.
| wind | The wind effect of the groundCover |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Sets the brightness for the groundCover.
| brightness | The brightness of the groundCover |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Sets the contrast for the groundCover.
| contrast | The contrast of the groundCover |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Slots after populate all layers.
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
set last earth file that this dialog diaplayed
Implemented in makVrv::DtOsgEarthProfileDialog.
| boost::signal<void(std::string)> makVrv::DtOsgEarthProfileInterface::signal_selectOsgEarthChanged |
boost signals
| boost::signal<void(int, int, int)> makVrv::DtOsgEarthProfileInterface::signal_selectLayerTreeChanged |
| boost::signal<void(int, int, int)> makVrv::DtOsgEarthProfileInterface::signal_layerVisibilityCheckBoxValueChanged |
| boost::signal<void(int, int, double)> makVrv::DtOsgEarthProfileInterface::signal_layerOpacitySpinBoxValueChanged |
| boost::signal<void(int, int, int)> makVrv::DtOsgEarthProfileInterface::signal_lightingEnabledCheckBox_valueChanged |
| boost::signal<void(int, int, int)> makVrv::DtOsgEarthProfileInterface::signal_groundCoverVisibilityChanged |
| boost::signal<void(int, int, double)> makVrv::DtOsgEarthProfileInterface::signal_groundCoverDensityChanged |
| boost::signal<void(int, int, double)> makVrv::DtOsgEarthProfileInterface::signal_groundCoverFillChanged |
| boost::signal<void(int, int, double)> makVrv::DtOsgEarthProfileInterface::signal_groundCoverWindChanged |
| boost::signal<void(int, int, double)> makVrv::DtOsgEarthProfileInterface::signal_groundCoverBrightnessChanged |
| boost::signal<void(int, int, double)> makVrv::DtOsgEarthProfileInterface::signal_groundCoverContrastChanged |