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

Public Types | |
| typedef std::map< int, QTreeWidgetItem * > | ItemMap |
| Map of id's to the QTreeWidgetItem that represents them. | |
| typedef boost::unordered_map < int, QTreeWidgetItem * > | LayerTypeMap |
| typedef boost::unordered_map < int, QTreeWidgetItem * > | LayerMap |
| typedef boost::unordered_map < int, float > | MaxDistanceMap |
Public Types inherited from makVrv::DtOsgEarthProfileInterface | |
| enum | LayerType { ImageLayer, ElevationLayer, ModelLayer, Building, LandCover, LandCoverLayer } |
Public Member Functions | |
| DtOsgEarthProfileDialog (DtDe &de, QWidget *parent) | |
| CTOR. | |
| virtual | ~DtOsgEarthProfileDialog () |
| DTOR. | |
| virtual void | osgEarthFileSelectChanged (std::string definition) |
| callback when use select a different osg Earth file | |
| virtual void | addLayerType (LayerType layerType) |
| Adds the type of the layer. | |
| virtual void | addLayer (int id, LayerType layerType, const std::string &name, bool enabled, bool visible, int parentId=-1) |
| Adds the layer. | |
| virtual void | setVisibility (LayerType layerType, int visibility) |
| Sets the visibility for the layer. | |
| virtual void | setOpacity (float opacity) |
| Sets the opacity,only apply for image and elevation layers. | |
| virtual void | setLightingEnabled (int enabled) |
| Sets the lighting enabled or not,only apply for model layers. | |
| virtual void | setLandCoverVisibility (bool visible) |
| Sets the visibility for the landCover layer. | |
| virtual void | setLandCoverCoverDensity (double value) |
| Sets the density for the landCover layer. | |
| virtual void | setLandCoverCoverFill (double value) |
| Sets the fill percentage for the landCover layer. | |
| virtual void | setLandCoverCoverWind (double value) |
| Sets the wind effect for the landCover layer. | |
| virtual void | setLandCoverCoverBrightness (double value) |
| Sets the brightness for the landCover layer. | |
| virtual void | setLandCoverCoverContrast (double value) |
| Sets the contrast for the landCover layer. | |
| virtual void | saveMaxDistanceForLandCoverLayer (int id, float maxDistance) |
| save the max distance for landCover layer | |
| virtual float | getMaxDistanceForLandCoverLayer (int id) |
| get the max distance for landCover layer | |
| virtual void | setLastEarthFileName (const std::string &name) |
| set last earth file that this dialog diaplayed it will cleart the maxDistanceMap as well since the earth File has changed | |
Protected Slots | |
User input slots (protected). | |
Receives notification that the user has changed a widget's value. | |
| virtual void | on_layersTreeWidget_selectionChanged () |
| virtual void | on_visibilityCheckBox_valueChanged (int) |
| virtual void | on_opacitySpinBox_valueChanged (double) |
| virtual void | on_lightingEnabledCheckBox_valueChanged (int) |
| virtual void | on_landCoverVisibilityChanged (int) |
| virtual void | on_landCoverDensityChanged (double) |
| virtual void | on_landCoverFillChanged (double) |
| virtual void | on_landCoverWindChanged (double) |
| virtual void | on_landCoverBrightnessChanged (double) |
| virtual void | on_landCoverContrastChanged (double) |
Protected Member Functions | |
| virtual void | cleanup () |
| Clean up the item map. | |
| void | setupGui () |
| Setups the GUI.Call in the CTOR. | |
| virtual void | closeEvent (QCloseEvent *e) |
| override the closeEvent of QDialog | |
| virtual void | updateGui (int layerType) |
| Updates the GUI. | |
| virtual void | showEvent (QShowEvent *e) |
| Override QDialog::showEvent, create the logic here. | |
| virtual QTreeWidgetItem * | findLayerType (LayerType layerType) |
| Find the widget for a particular layerType. | |
| virtual QTreeWidgetItem * | findLayer (int id) |
| Find the widget for a particular layer. | |
| virtual void | setItemLayerType (QTreeWidgetItem *item, LayerType layerType) |
| Sets the type of the item layer. | |
| virtual void | setItemUniqueID (QTreeWidgetItem *item, int id) |
| Sets the item unique identifier. | |
| virtual void | setItemName (QTreeWidgetItem *item, const std::string &name) |
| Sets the name of the item. | |
| virtual std::string | getLayerTypeName (LayerType layerType) |
| gets the name for a layerType | |
| virtual void | connectToSignals () |
| call in the CTOR | |
| virtual bool | isItemLayer (QTreeWidgetItem *layer) |
| Determines whether the select item is a layer. | |
| virtual void | slot_afterPopulateAllLayers () |
| Slots after populate all layers. | |
Private Member Functions | |
| DtOsgEarthProfileDialog (const DtOsgEarthProfileDialog &) | |
| Copy Constructor not implimented – Copy not allowed. | |
| DtOsgEarthProfileDialog & | operator= (const DtOsgEarthProfileDialog &) |
| Assignment Operator not implimented – Copy not allowed. | |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtOsgEarthProfileInterface | |
| 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 |
| typedef std::map<int, QTreeWidgetItem*> makVrv::DtOsgEarthProfileDialog::ItemMap |
Map of id's to the QTreeWidgetItem that represents them.
| typedef boost::unordered_map<int, QTreeWidgetItem*> makVrv::DtOsgEarthProfileDialog::LayerTypeMap |
| typedef boost::unordered_map<int, QTreeWidgetItem*> makVrv::DtOsgEarthProfileDialog::LayerMap |
| typedef boost::unordered_map<int, float> makVrv::DtOsgEarthProfileDialog::MaxDistanceMap |
|
virtual |
DTOR.
|
private |
Copy Constructor not implimented – Copy not allowed.
|
virtual |
callback when use select a different osg Earth file
| definition | The name of the osgEarth file |
|
virtual |
Adds the type of the layer.
| layerType | Type of the layer |
Implements makVrv::DtOsgEarthProfileInterface.
|
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 |
Implements makVrv::DtOsgEarthProfileInterface.
|
virtual |
Sets the visibility for the layer.
| layerType | Type of the layer |
| visibility | The visibility of the layer |
Implements makVrv::DtOsgEarthProfileInterface.
|
virtual |
Sets the opacity,only apply for image and elevation layers.
| name | opacity The opacity(between 0-1) |
Implements makVrv::DtOsgEarthProfileInterface.
|
virtual |
Sets the lighting enabled or not,only apply for model layers.
Implements makVrv::DtOsgEarthProfileInterface.
|
virtual |
Sets the visibility for the landCover layer.
| visible | The visibility of the layer |
Implements makVrv::DtOsgEarthProfileInterface.
|
virtual |
Sets the density for the landCover layer.
| visible | The density of the layer |
Implements makVrv::DtOsgEarthProfileInterface.
|
virtual |
Sets the fill percentage for the landCover layer.
| fill | The fill percentage of the layer |
Implements makVrv::DtOsgEarthProfileInterface.
|
virtual |
Sets the wind effect for the landCover layer.
| wind | The wind effect of the layer |
Implements makVrv::DtOsgEarthProfileInterface.
|
virtual |
Sets the brightness for the landCover layer.
| brightness | The brightness of the layer |
Implements makVrv::DtOsgEarthProfileInterface.
|
virtual |
Sets the contrast for the landCover layer.
| contrast | The contrast of the layer |
Implements makVrv::DtOsgEarthProfileInterface.
|
virtual |
save the max distance for landCover layer
| id | The identifier |
| maxDistance | the max distance of this landCover layer(default is 1km) |
Implements makVrv::DtOsgEarthProfileInterface.
|
virtual |
get the max distance for landCover layer
| id | The identifier |
Implements makVrv::DtOsgEarthProfileInterface.
|
virtual |
set last earth file that this dialog diaplayed it will cleart the maxDistanceMap as well since the earth File has changed
Implements makVrv::DtOsgEarthProfileInterface.
|
private |
Assignment Operator not implimented – Copy not allowed.
|
protectedvirtual |
Clean up the item map.
|
protected |
Setups the GUI.Call in the CTOR.
|
protectedvirtual |
override the closeEvent of QDialog
|
protectedvirtual |
Updates the GUI.
| layerType | Type of the layer |
|
protectedvirtual |
Override QDialog::showEvent, create the logic here.
|
protectedvirtual |
Find the widget for a particular layerType.
|
protectedvirtual |
Find the widget for a particular layer.
|
protectedvirtual |
Sets the type of the item layer.
| item | The item |
| layerType | Type of the layer |
|
protectedvirtual |
Sets the item unique identifier.
| item | The item |
| id | The identifier |
|
protectedvirtual |
Sets the name of the item.
|
protectedvirtual |
gets the name for a layerType
|
protectedvirtual |
call in the CTOR
|
protectedvirtual |
Determines whether the select item is a layer.
|
protectedvirtual |
Slots after populate all layers.
Implements makVrv::DtOsgEarthProfileInterface.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |