20 #include <osgEarth/DecalLayer>
21 #include <osgEarth/FeatureSource>
22 #include <osgEarth/VirtualProgram>
23 #include <osgEarthSplat/RoadSurfaceLayer>
24 #include <osgEarth/FeatureImageLayer>
25 #include <osgEarth/Geometry>
26 #include <osgEarth/Feature>
27 #include <osgEarth/Threading>
28 #include <osgEarthProcedural/LifeMapLayer>
32 class LandCoverDictionary;
39 class DtDynamicTerrainGeometry;
40 class DtDynamicTerrainChange;
41 class DtDynamicTerrainSwitch;
42 class DtDynamicTerrainRasterLibrary;
43 class DtObserverObject;
58 return "DtOsgEarthDynamicTerrainFeatureCreator";
85 virtual DtString description()
const override;
111 virtual bool isInDefaultState()
const;
114 virtual bool lastStateWasDefaultState()
const;
119 virtual void iterateCommands(
const boost::function<
void(
const DtDynamicTerrainChange&)>& callback)
const override;
122 virtual void reloadShaders();
125 virtual void buildTrackStyleMap();
132 virtual const osgEarth::Style* findPersistentTrackStyle(
const std::string& trackType,
const std::string& soilType,
const std::string& trackDepth)
const;
142 virtual void setMinimumLod(
unsigned int minLod );
143 virtual unsigned int getMinimumLod();
160 virtual void sendTrackUpdates();
163 virtual bool parseTrackParameters(
const DtDynamicTerrainChange &change, std::string& trackId, std::string& trackType, std::string& soilType, std::string& trackDepth)
const;
167 virtual void slot_observerSettingRemoved(
DtObserverObject* observer,
int setting);
171 virtual void slot_observerSettingChanged(
DtObserverObject* observer,
int setting,
bool value);
175 virtual void setupTrackUpdatesEnabled();
178 bool destroyDynamicProp(
const std::string&
id);
181 void destroyAllDynamicProp();
184 DtProp* addDynamicPropModel(
const std::string& modelDefinition,
const DtVector& center,
double orientation);
osg::ref_ptr< osgEarth::Contrib::DecalLandCoverLayer > myDecalLandCoverLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:209
std::map< std::string, osg::ref_ptr< osgEarth::Feature > > myGeometryRefs
Definition: DtOsgEarthDynamicTerrainFeature.h:214
Contains makVrv::DtDynamicTerrainLine class.
std::multimap< std::string, DtProp * > DynamicPropMap
List of props added for craters on runway or debris around OSM buildings.
Definition: DtOsgEarthDynamicTerrainFeature.h:230
bool myTrackUpdatesEnabled
Definition: DtOsgEarthDynamicTerrainFeature.h:225
Definition: DtDynamicTerrainFeature.h:316
DtVirtualBaseClassCreator< DtOsgEarthDynamicTerrainFeature, osgEarth::MapNode * > DtOsgEarthDynamicTerrainFeatureCreator
creator
Definition: DtOsgEarthDynamicTerrainFeature.h:49
const char * creatorTypeName< DtOsgEarthDynamicTerrainFeature >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtOsgEarthDynamicTerrainFeature.h:56
osg::ref_ptr< osgEarth::Contrib::DecalImageLayer > myDecalLifeMapLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:201
TrackTypeToStyleMap myTrackTypeToStyleMap
Definition: DtOsgEarthDynamicTerrainFeature.h:222
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:45
Represents (possibly infinite) area of space.
Definition: DtDynamicTerrainGeometry.h:20
DtDe & myDe
Definition: DtOsgEarthDynamicTerrainFeature.h:218
Definition: DtOsgEarthDynamicFidManager.h:35
osg::ref_ptr< osgEarth::CoverageLayer > myDecalCoverageLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:205
osg::ref_ptr< osgEarth::MapNode > myMapNode
Definition: DtOsgEarthDynamicTerrainFeature.h:190
DtOsgEarthDynamicTerrainFeature is a special DtDynamicTerrainFeature which listens to all the dynamic...
Definition: DtOsgEarthDynamicTerrainFeature.h:66
osg::ref_ptr< osgEarth::Splat::RoadSurfaceLayer > myTracksLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:212
Contains makVrv::DtDynamicTerrainGeometry class.
DtOsgEarthDynamicFidManager * myDynamicFidManager
Definition: DtOsgEarthDynamicTerrainFeature.h:233
Facade object for a scene prop.
Definition: DtProp.h:34
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
osg::ref_ptr< osg::Image > ImageRef
Definition: DtOsgEarthDynamicTerrainFeature.h:217
DtSignalConnectionManager myConnections
Definition: DtOsgEarthDynamicTerrainFeature.h:221
DynamicPropMap myDynamicProps
Definition: DtOsgEarthDynamicTerrainFeature.h:231
DtDynamicTerrainRasterLibrary * myRasterLibrary
Definition: DtOsgEarthDynamicTerrainFeature.h:219
const DtString myTerrainDeformationStateName
Definition: DtOsgEarthDynamicTerrainFeature.h:188
const DtString myTracksStateName
Definition: DtOsgEarthDynamicTerrainFeature.h:187
osgEarth::LandCoverDictionary * myLandCoverDictionary
Definition: DtOsgEarthDynamicTerrainFeature.h:220
int myChangeCount
Definition: DtOsgEarthDynamicTerrainFeature.h:192
osg::ref_ptr< osgEarth::FeatureImageLayer > myTracksDebugLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:227
osg::ref_ptr< DtOsgEarthMemoryFeatureSource > myFeatureSource
Definition: DtOsgEarthDynamicTerrainFeature.h:213
This abstract base class defines the interface for OS-specific keyboard and mouse event listeners...
Definition: DtObserverObject.h:35
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
const DtString myCraterStateName
Definition: DtOsgEarthDynamicTerrainFeature.h:186
Interface which abstracts the concept of a individually identifiable "thing" in the terrain...
Definition: DtDynamicTerrainFeature.h:83
osg::ref_ptr< osgEarth::Contrib::DecalImageLayer > myDecalCoverageRasterLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:203
osg::ref_ptr< osgEarth::Contrib::DecalImageLayer > myDecalImageLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:195
Contains OSG related utility functions.
Contains makVrv::DtDynamicTerrainFeature class.
Base class to provide boost signal/slot management.
osg::ref_ptr< osgEarth::Contrib::DecalElevationLayer > myDecalElevLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:198
Command which can be given to the dynamic terrain system to perform some change. This class is a simp...
Definition: DtDynamicTerrainChange.h:42
unsigned int myMinimumLod
Definition: DtOsgEarthDynamicTerrainFeature.h:235
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:76
Contains makVrv::DtOsgEarthMemoryFeatureSource class.
osg::ref_ptr< osgEarth::VirtualProgram > myTerrainEngineVirtualProgram
Definition: DtOsgEarthDynamicTerrainFeature.h:215