![]() |
VR-Forces 4.5 Class Documentation
|
DtOsgEarthProfileLogic. More...
Public Member Functions | |
| virtual | ~DtOsgEarthProfileLogic () |
| DTOR. | |
Public Attributes | |
| boost::signal< void()> | singal_afterPopulateAllLayers |
| The singal emit after populate all layers. | |
Protected Types | |
| enum | LayerOffset { TerrainLayerOffset = 0, BuildingLayerOffset = 100, LandCoverOffset = 200, LandCoverLayerOffset = 300 } |
| typedef std::vector < osgEarth::Splat::LandCoverLayer * > | LandCoverLayersVector |
Protected Member Functions | |
| DtOsgEarthProfileLogic (DtDe &de, DtOsgEarthProfileInterface *iFace) | |
| Protected Constructor. | |
| virtual void | connectSignals () |
| connect the signals | |
| virtual void | disconnectSignals () |
| disconnect the signals | |
| virtual void | populateLayers () |
| Populates the layers. | |
| virtual void | setBuildingExtensionVisible (osgEarth::Extension *extension, bool visible) |
| set whether a building extension is visible by node mask | |
| virtual bool | isBuildingExtensionVisible (osgEarth::Extension *extension) |
| return whether a building extension is visible by its node mask(0x0 invisble,other visible) | |
| virtual void | populateLandCoverLayers (osgEarth::Splat::LandCover *landCover, int parentID) |
| populate all the landCover layers for this LandCover | |
| virtual void | changeLandCoverVisibility (osgEarth::Splat::LandCoverLayer *layer, float maxDistance, bool visible) |
| Sets the visibility for the landCover layer. | |
| virtual void | changeLandCoverDensity (osgEarth::Splat::LandCoverLayer *layer, double density) |
| Sets the density for the landCover layer. | |
| virtual void | changeLandCoverFill (osgEarth::Splat::LandCoverLayer *layer, double fill) |
| Sets the fill percentage for the landCover layer. | |
| virtual void | changeLandCoverWind (osgEarth::Splat::LandCoverLayer *layer, double wind) |
| Sets the wind effect for the landCover layer. | |
| virtual void | changeLandCoverBrightness (osgEarth::Splat::LandCoverLayer *layer, double brightness) |
| Sets the brightness for the landCover layer. | |
| virtual void | changeLandCoverContrast (osgEarth::Splat::LandCoverLayer *layer, double contrast) |
| Sets the contrast for the landCover layer. | |
| virtual void | slot_selectOsgEarthChanged (const std::string &file) |
| virtual void | slot_selectLayerTreeChanged (int parentID, int layerType, int layerID) |
| virtual void | slot_layerVisibilityCheckBoxValueChanged (int layerType, int layerID, int checked) |
| virtual void | slot_layerOpacitySpinBoxValueChanged (int layerType, int layerID, double value) |
| virtual void | slot_lightingEnabledCheckBox_valueChanged (int layerType, int layerID, int checked) |
| virtual void | slot_landCoverVisibilityChanged (int parentID, int layerID, int checked) |
| virtual void | slot_landCoverDensityChanged (int parentID, int layerID, double value) |
| virtual void | slot_landCoverFillChanged (int parentID, int layerID, double value) |
| virtual void | slot_landCoverWindChanged (int parentID, int layerID, double value) |
| virtual void | slot_landCoverBrightnessChanged (int parentID, int layerID, double value) |
| virtual void | slot_landCoverContrastChanged (int parentID, int layerID, double value) |
Protected Attributes | |
| DtDe & | myDe |
| std::string | myCurrentOsgEarthFileName |
| osgEarth::MapNode * | myMapNode |
| DtOsgEarthProfileInterface * | myInterface |
| DtSignalConnectionManager | mySignals |
| std::vector < osgEarth::Extension * > | myOsgEarthExtensions |
| std::vector < osgEarth::Splat::LandCover * > | myLandCovers |
| std::map < osgEarth::Splat::LandCover *, LandCoverLayersVector > | myLandCoverLayesMap |
Private Member Functions | |
| DtOsgEarthProfileLogic (const DtOsgEarthProfileLogic &) | |
| Copy Constructor not implimented – Copy not allowed. | |
| DtOsgEarthProfileLogic & | operator= (const DtOsgEarthProfileLogic &) |
| Assignment Operator not implimented – Copy not allowed. | |
Friends | |
| class | DtOsgEarthProfileLogicCreator |
|
protected |
|
protected |
|
virtual |
DTOR.
|
private |
Copy Constructor not implimented – Copy not allowed.
|
protected |
Protected Constructor.
Use DtOsgEarthProfileLogicCreator to create instances of this class
|
private |
Assignment Operator not implimented – Copy not allowed.
|
protectedvirtual |
connect the signals
|
protectedvirtual |
disconnect the signals
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Populates the layers.
|
protectedvirtual |
set whether a building extension is visible by node mask
| name | extension The osgEarth Building extension |
| name | visible the visible flag |
|
protectedvirtual |
return whether a building extension is visible by its node mask(0x0 invisble,other visible)
| name | extension The osgEarth Building extension |
|
protectedvirtual |
populate all the landCover layers for this LandCover
|
protectedvirtual |
Sets the visibility for the landCover layer.
| the | original max distance for this layer |
| visible | The visibility of the layer |
|
protectedvirtual |
Sets the density for the landCover layer.
| visible | The density of the layer |
|
protectedvirtual |
Sets the fill percentage for the landCover layer.
| fill | The fill percentage of the layer |
|
protectedvirtual |
Sets the wind effect for the landCover layer.
| wind | The wind effect of the layer |
|
protectedvirtual |
Sets the brightness for the landCover layer.
| brightness | The brightness of the layer |
|
protectedvirtual |
Sets the contrast for the landCover layer.
| contrast | The contrast of the layer |
|
friend |
| boost::signal<void()> makVrv::DtOsgEarthProfileLogic::singal_afterPopulateAllLayers |
The singal emit after populate all layers.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |