18 #include <osgEarth/MapNode>
19 #include <osgEarth/DecalLayer>
20 #include <osgEarth/FeatureSource>
21 #include <osgEarth/VirtualProgram>
22 #include <osgEarthSplat/RoadSurfaceLayer>
23 #include <osgEarth/FeatureImageLayer>
24 #include <osgEarth/Geometry>
25 #include <osgEarth/Feature>
26 #include <osgEarth/Threading>
30 class LandCoverDictionary;
36 class DtDynamicTerrainGeometry;
37 class DtDynamicTerrainChange;
38 class DtDynamicTerrainSwitch;
39 class DtDynamicTerrainRasterLibrary;
69 virtual DtString description()
const override;
88 virtual bool isInDefaultState()
const;
91 virtual bool lastStateWasDefaultState()
const;
96 virtual void iterateCommands(
const boost::function<
void(
const DtDynamicTerrainChange&)>& callback)
const override;
99 virtual void reloadShaders();
102 virtual void buildTrackStyleMap();
109 virtual const osgEarth::Style* findPersistentTrackStyle(
const std::string& trackType,
const std::string& soilType,
const std::string& trackDepth)
const;
126 virtual void sendTrackUpdates();
129 virtual bool parseTrackParameters(
const DtDynamicTerrainChange &change, std::string& trackId, std::string& trackType, std::string& soilType, std::string& trackDepth)
const;
133 virtual void slot_observerSettingRemoved(
DtObserverObject* observer,
int setting);
137 virtual void slot_observerSettingChanged(
DtObserverObject* observer,
int setting,
bool value);
141 virtual void setupTrackUpdatesEnabled();
osg::ref_ptr< osgEarth::Contrib::DecalLandCoverLayer > myDecalLandCoverLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:154
std::map< std::string, osg::ref_ptr< osgEarth::Feature > > myGeometryRefs
Definition: DtOsgEarthDynamicTerrainFeature.h:159
bool myTrackUpdatesEnabled
Definition: DtOsgEarthDynamicTerrainFeature.h:170
Definition: DtDynamicTerrainFeature.h:316
TrackTypeToStyleMap myTrackTypeToStyleMap
Definition: DtOsgEarthDynamicTerrainFeature.h:167
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:40
Represents (possibly infinite) area of space.
Definition: DtDynamicTerrainGeometry.h:20
DtDe & myDe
Definition: DtOsgEarthDynamicTerrainFeature.h:163
osg::ref_ptr< osgEarth::MapNode > myMapNode
Definition: DtOsgEarthDynamicTerrainFeature.h:148
DtOsgEarthDynamicTerrainFeature is a special DtDynamicTerrainFeature which listens to all the dynamic...
Definition: DtOsgEarthDynamicTerrainFeature.h:49
osg::ref_ptr< osgEarth::Splat::RoadSurfaceLayer > myTracksLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:157
Contains makVrv::DtDynamicTerrainGeometry class.
osg::ref_ptr< osg::Image > ImageRef
Definition: DtOsgEarthDynamicTerrainFeature.h:162
DtSignalConnectionManager myConnections
Definition: DtOsgEarthDynamicTerrainFeature.h:166
DtDynamicTerrainRasterLibrary * myRasterLibrary
Definition: DtOsgEarthDynamicTerrainFeature.h:164
const DtString myTracksStateName
Definition: DtOsgEarthDynamicTerrainFeature.h:146
osgEarth::LandCoverDictionary * myLandCoverDictionary
Definition: DtOsgEarthDynamicTerrainFeature.h:165
int myChangeCount
Definition: DtOsgEarthDynamicTerrainFeature.h:150
osg::ref_ptr< osgEarth::FeatureImageLayer > myTracksDebugLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:172
osg::ref_ptr< DtOsgEarthMemoryFeatureSource > myFeatureSource
Definition: DtOsgEarthDynamicTerrainFeature.h:158
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:145
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:152
Contains makVrv::DtDynamicTerrainFeature class.
Base class to provide boost signal/slot management.
osg::ref_ptr< osgEarth::Contrib::DecalElevationLayer > myDecalElevLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:153
Command which can be given to the dynamic terrain system to perform some change. This class is a simp...
Definition: DtDynamicTerrainChange.h:42
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
Contains makVrv::DtOsgEarthMemoryFeatureSource class.
osg::ref_ptr< osgEarth::VirtualProgram > myTerrainEngineVirtualProgram
Definition: DtOsgEarthDynamicTerrainFeature.h:160