VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions
makVrv::DtOsgEarthProfileInterface Class Reference

DtOsgEarthProfileInterface. More...

Inheritance diagram for makVrv::DtOsgEarthProfileInterface:
Inheritance graph
[legend]

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

Detailed Description

DtOsgEarthProfileInterface.

Member Enumeration Documentation

Enumerator:
ImageLayer 
ElevationLayer 
ModelLayer 
Building 
LandCover 
LandCoverLayer 

Member Function Documentation

virtual void makVrv::DtOsgEarthProfileInterface::setVisibility ( LayerType  layerType,
int  visibility 
)
pure virtual

Sets the visibility for the layer.

Parameters
layerTypeType of the layer
visibilityThe visibility of the layer

Implemented in makVrv::DtOsgEarthProfileDialog.

virtual void makVrv::DtOsgEarthProfileInterface::setOpacity ( float  opacity)
pure virtual

Sets the opacity,only apply for image and elevation layers.

Parameters
nameopacity The opacity(between 0-1)

Implemented in makVrv::DtOsgEarthProfileDialog.

virtual void makVrv::DtOsgEarthProfileInterface::setLightingEnabled ( int  enabled)
pure virtual

Sets the lighting enabled or not,only apply for model layers.

Implemented in makVrv::DtOsgEarthProfileDialog.

virtual void makVrv::DtOsgEarthProfileInterface::addLayerType ( LayerType  layerType)
pure virtual

Adds the type of the layer.

Parameters
layerTypeType of the layer

Implemented in makVrv::DtOsgEarthProfileDialog.

virtual void makVrv::DtOsgEarthProfileInterface::addLayer ( int  id,
LayerType  layerType,
const std::string &  name,
bool  enabled,
bool  visible,
int  parentID = -1 
)
pure virtual

Adds the layer.

Parameters
idThe identifier
layerTypeType of the layer
nameThe name
enabledif the layer is enabled
visibleif the layer is visible

Implemented in makVrv::DtOsgEarthProfileDialog.

virtual void makVrv::DtOsgEarthProfileInterface::saveMaxDistanceForLandCoverLayer ( int  id,
float  maxDistance 
)
pure virtual

save the max distance for landCover layer

Parameters
idThe identifier
maxDistancethe max distance of this landCover layer(default is 1km)

Implemented in makVrv::DtOsgEarthProfileDialog.

virtual float makVrv::DtOsgEarthProfileInterface::getMaxDistanceForLandCoverLayer ( int  id)
pure virtual

get the max distance for landCover layer

Parameters
idThe identifier

Implemented in makVrv::DtOsgEarthProfileDialog.

virtual void makVrv::DtOsgEarthProfileInterface::setLandCoverVisibility ( bool  visible)
pure virtual

Sets the visibility for the landCover layer.

Parameters
visibleThe visibility of the layer

Implemented in makVrv::DtOsgEarthProfileDialog.

virtual void makVrv::DtOsgEarthProfileInterface::setLandCoverCoverDensity ( double  density)
pure virtual

Sets the density for the landCover layer.

Parameters
visibleThe density of the layer

Implemented in makVrv::DtOsgEarthProfileDialog.

virtual void makVrv::DtOsgEarthProfileInterface::setLandCoverCoverFill ( double  fill)
pure virtual

Sets the fill percentage for the landCover layer.

Parameters
fillThe fill percentage of the layer

Implemented in makVrv::DtOsgEarthProfileDialog.

virtual void makVrv::DtOsgEarthProfileInterface::setLandCoverCoverWind ( double  wind)
pure virtual

Sets the wind effect for the landCover layer.

Parameters
windThe wind effect of the layer

Implemented in makVrv::DtOsgEarthProfileDialog.

virtual void makVrv::DtOsgEarthProfileInterface::setLandCoverCoverBrightness ( double  brightness)
pure virtual

Sets the brightness for the landCover layer.

Parameters
brightnessThe brightness of the layer

Implemented in makVrv::DtOsgEarthProfileDialog.

virtual void makVrv::DtOsgEarthProfileInterface::setLandCoverCoverContrast ( double  contrast)
pure virtual

Sets the contrast for the landCover layer.

Parameters
contrastThe contrast of the layer

Implemented in makVrv::DtOsgEarthProfileDialog.

virtual void makVrv::DtOsgEarthProfileInterface::slot_afterPopulateAllLayers ( )
pure virtual

Slots after populate all layers.

Implemented in makVrv::DtOsgEarthProfileDialog.

virtual void makVrv::DtOsgEarthProfileInterface::setLastEarthFileName ( const std::string &  name)
pure virtual

set last earth file that this dialog diaplayed

Implemented in makVrv::DtOsgEarthProfileDialog.

Member Data Documentation

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

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)