![]() |
VR-Forces 4.6 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, GroundCoverLayerOffset = 200, GroundCoverOffset = 300 } |
| typedef std::vector < osgEarth::Splat::GroundCoverLayer * > | GroundCoverLayersVector |
| typedef std::vector < osgEarth::Splat::GroundCover * > | GroundCoversVector |
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 | populateGroundCovers (osgEarth::Splat::GroundCoverLayer *groundCoverLayer, int parentID) |
| populate all the GroundCovers for this groundCoverLayer | |
| virtual void | changeGroundCoverVisibility (osgEarth::Splat::GroundCover *groundCover, float maxDistance, bool visible) |
| Sets the visibility for the landCover layer. | |
| virtual void | changeGroundCoverDensity (osgEarth::Splat::GroundCover *groundCover, double density) |
| Sets the density for the landCover layer. | |
| virtual void | changeGroundCoverFill (osgEarth::Splat::GroundCover *groundCover, double fill) |
| Sets the fill percentage for the landCover layer. | |
| virtual void | changeGroundCoverWind (osgEarth::Splat::GroundCover *groundCover, double wind) |
| Sets the wind effect for the landCover layer. | |
| virtual void | changeGroundCoverBrightness (osgEarth::Splat::GroundCover *groundCover, double brightness) |
| Sets the brightness for the landCover layer. | |
| virtual void | changeGroundCoverContrast (osgEarth::Splat::GroundCover *groundCover, 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_groundCoverVisibilityChanged (int parentID, int layerID, int checked) |
| virtual void | slot_groundCoverDensityChanged (int parentID, int layerID, double value) |
| virtual void | slot_groundCoverFillChanged (int parentID, int layerID, double value) |
| virtual void | slot_groundCoverWindChanged (int parentID, int layerID, double value) |
| virtual void | slot_groundCoverBrightnessChanged (int parentID, int layerID, double value) |
| virtual void | slot_groundCoverContrastChanged (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 |
| GroundCoverLayersVector | myGroundCoverLayers |
| GroundCoversVector | myGroundCovers |
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 |
|
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 GroundCovers for this groundCoverLayer
|
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 |