VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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,
  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

Detailed Description

DtOsgEarthProfileInterface.

Member Enumeration Documentation

Enumerator:
ImageLayer 
ElevationLayer 
ModelLayer 
Building 
GroundCoverLayer 
GroundCover 

Member Function Documentation

virtual void makVrv::DtOsgEarthProfileInterface::setVisibility ( LayerType  layerType,
bool  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 ( bool  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::saveMaxDistanceForGroundCover ( int  id,
float  maxDistance 
)
pure virtual

save the max distance for groundCover

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

Implemented in makVrv::DtOsgEarthProfileDialog.

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

get the max distance for groundCover

Parameters
idThe identifier

Implemented in makVrv::DtOsgEarthProfileDialog.

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

Sets the visibility for the groundCover.

Parameters
visibleThe visibility of the groundCover

Implemented in makVrv::DtOsgEarthProfileDialog.

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

Sets the density for the groundCover.

Parameters
visibleThe density of the groundCover

Implemented in makVrv::DtOsgEarthProfileDialog.

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

Sets the fill percentage for the groundCover.

Parameters
fillThe fill percentage of the groundCover

Implemented in makVrv::DtOsgEarthProfileDialog.

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

Sets the wind effect for the groundCover.

Parameters
windThe wind effect of the groundCover

Implemented in makVrv::DtOsgEarthProfileDialog.

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

Sets the brightness for the groundCover.

Parameters
brightnessThe brightness of the groundCover

Implemented in makVrv::DtOsgEarthProfileDialog.

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

Sets the contrast for the groundCover.

Parameters
contrastThe contrast of the groundCover

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_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

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)