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

Public Types | |
| enum | LayerType { ImageLayer, ElevationLayer, ModelLayer, Building, LandCover, LandCoverLayer } |
Public Member Functions | |
| virtual void | setVisibility (LayerType layerType, int 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 (int 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 | saveMaxDistanceForLandCoverLayer (int id, float maxDistance)=0 |
| save the max distance for landCover layer | |
| virtual float | getMaxDistanceForLandCoverLayer (int id)=0 |
| get the max distance for landCover layer | |
| virtual void | setLandCoverVisibility (bool visible)=0 |
| Sets the visibility for the landCover layer. | |
| virtual void | setLandCoverCoverDensity (double density)=0 |
| Sets the density for the landCover layer. | |
| virtual void | setLandCoverCoverFill (double fill)=0 |
| Sets the fill percentage for the landCover layer. | |
| virtual void | setLandCoverCoverWind (double wind)=0 |
| Sets the wind effect for the landCover layer. | |
| virtual void | setLandCoverCoverBrightness (double brightness)=0 |
| Sets the brightness for the landCover layer. | |
| virtual void | setLandCoverCoverContrast (double contrast)=0 |
| Sets the contrast for the landCover layer. | |
| 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_landCoverVisibilityChanged |
| boost::signal< void(int, int, double)> | signal_landCoverDensityChanged |
| boost::signal< void(int, int, double)> | signal_landCoverFillChanged |
| boost::signal< void(int, int, double)> | signal_landCoverWindChanged |
| boost::signal< void(int, int, double)> | signal_landCoverBrightnessChanged |
| boost::signal< void(int, int, double)> | signal_landCoverContrastChanged |
|
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 landCover layer
| id | The identifier |
| maxDistance | the max distance of this landCover layer(default is 1km) |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
get the max distance for landCover layer
| id | The identifier |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Sets the visibility for the landCover layer.
| visible | The visibility of the layer |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Sets the density for the landCover layer.
| visible | The density of the layer |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Sets the fill percentage for the landCover layer.
| fill | The fill percentage of the layer |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Sets the wind effect for the landCover layer.
| wind | The wind effect of the layer |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Sets the brightness for the landCover layer.
| brightness | The brightness of the layer |
Implemented in makVrv::DtOsgEarthProfileDialog.
|
pure virtual |
Sets the contrast for the landCover layer.
| contrast | The contrast of the layer |
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_landCoverVisibilityChanged |
| boost::signal<void(int, int, double)> makVrv::DtOsgEarthProfileInterface::signal_landCoverDensityChanged |
| boost::signal<void(int, int, double)> makVrv::DtOsgEarthProfileInterface::signal_landCoverFillChanged |
| boost::signal<void(int, int, double)> makVrv::DtOsgEarthProfileInterface::signal_landCoverWindChanged |
| boost::signal<void(int, int, double)> makVrv::DtOsgEarthProfileInterface::signal_landCoverBrightnessChanged |
| boost::signal<void(int, int, double)> makVrv::DtOsgEarthProfileInterface::signal_landCoverContrastChanged |