18 #include <osgEarth/MapNode>
19 #include <osgEarth/DecalLayer>
20 #include <osgEarth/FeatureSource>
21 #include <osgEarth/VirtualProgram>
22 #include <osgEarthSplat/RoadSurfaceLayer>
23 #include <osgEarth/Geometry>
24 #include <osgEarth/Feature>
25 #include <osgEarth/Threading>
29 class LandCoverDictionary;
35 class DtDynamicTerrainGeometry;
36 class DtDynamicTerrainChange;
37 class DtDynamicTerrainSwitch;
38 class DtDynamicTerrainRasterLibrary;
68 virtual DtString description()
const override;
87 virtual bool isInDefaultState()
const;
90 virtual bool lastStateWasDefaultState()
const;
95 virtual void iterateCommands(
const boost::function<
void(
const DtDynamicTerrainChange&)>& callback)
const override;
98 virtual void reloadShaders();
101 virtual void buildTrackStyleMap();
108 virtual const osgEarth::Style* findPersistentTrackStyle(
const std::string& trackType,
const std::string& soilType,
const std::string& trackDepth)
const;
125 virtual void sendTrackUpdates();
128 virtual bool parseTrackParameters(
const DtDynamicTerrainChange &change, std::string& trackId, std::string& trackType, std::string& soilType, std::string& trackDepth)
const;
132 virtual void slot_observerSettingRemoved(
DtObserverObject* observer,
int setting);
136 virtual void slot_observerSettingChanged(
DtObserverObject* observer,
int setting,
bool value);
140 virtual void setupTrackUpdatesEnabled();
osg::ref_ptr< osgEarth::Contrib::DecalLandCoverLayer > myDecalLandCoverLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:153
std::map< std::string, osg::ref_ptr< osgEarth::Feature > > myGeometryRefs
Definition: DtOsgEarthDynamicTerrainFeature.h:158
bool myTrackUpdatesEnabled
Definition: DtOsgEarthDynamicTerrainFeature.h:169
Definition: DtDynamicTerrainFeature.h:316
TrackTypeToStyleMap myTrackTypeToStyleMap
Definition: DtOsgEarthDynamicTerrainFeature.h:166
DtDynamicTerrainRasterLibrary This class is used to managed rasters and out-the-window images appl...
Definition: DtDynamicTerrainRasterLibrary.h:95
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
std::map< std::string, osgEarth::Style > TrackTypeToStyleMap
Definition: DtOsgEarthDynamicTerrainFeature.h:39
Represents (possibly infinite) area of space.
Definition: DtDynamicTerrainGeometry.h:20
DtDe & myDe
Definition: DtOsgEarthDynamicTerrainFeature.h:162
osg::ref_ptr< osgEarth::MapNode > myMapNode
Definition: DtOsgEarthDynamicTerrainFeature.h:147
DtOsgEarthDynamicTerrainFeature is a special DtDynamicTerrainFeature which listens to all the dynamic...
Definition: DtOsgEarthDynamicTerrainFeature.h:48
osg::ref_ptr< osgEarth::Splat::RoadSurfaceLayer > myTracksLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:156
Contains makVrv::DtDynamicTerrainGeometry class.
osg::ref_ptr< osg::Image > ImageRef
Definition: DtOsgEarthDynamicTerrainFeature.h:161
DtSignalConnectionManager myConnections
Definition: DtOsgEarthDynamicTerrainFeature.h:165
DtDynamicTerrainRasterLibrary * myRasterLibrary
Definition: DtOsgEarthDynamicTerrainFeature.h:163
const DtString myTracksStateName
Definition: DtOsgEarthDynamicTerrainFeature.h:145
osgEarth::LandCoverDictionary * myLandCoverDictionary
Definition: DtOsgEarthDynamicTerrainFeature.h:164
int myChangeCount
Definition: DtOsgEarthDynamicTerrainFeature.h:149
osg::ref_ptr< DtOsgEarthMemoryFeatureSource > myFeatureSource
Definition: DtOsgEarthDynamicTerrainFeature.h:157
This abstract base class defines the interface for OS-specific keyboard and mouse event listeners...
Definition: DtObserverObject.h:29
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
const DtString myCraterStateName
Definition: DtOsgEarthDynamicTerrainFeature.h:144
Interface which abstracts the concept of a individually identifiable "thing" in the terrain...
Definition: DtDynamicTerrainFeature.h:83
osg::ref_ptr< osgEarth::Contrib::DecalImageLayer > myDecalImageLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:151
Contains makVrv::DtDynamicTerrainFeature class.
Base class to provide boost signal/slot management.
osg::ref_ptr< osgEarth::Contrib::DecalElevationLayer > myDecalElevLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:152
Command which can be given to the dynamic terrain system to perform some change.
Definition: DtDynamicTerrainChange.h:42
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains makVrv::DtOsgEarthMemoryFeatureSource class.
osg::ref_ptr< osgEarth::VirtualProgram > myTerrainEngineVirtualProgram
Definition: DtOsgEarthDynamicTerrainFeature.h:159