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>
35 class LandCoverDictionary;
42 class DtDynamicTerrainGeometry;
43 class DtDynamicTerrainChange;
44 class DtDynamicTerrainSwitch;
45 class DtDynamicTerrainRasterLibrary;
46 class DtObserverObject;
61 return "DtOsgEarthDynamicTerrainFeatureCreator";
88 virtual DtString description()
const override;
114 virtual bool isInDefaultState()
const;
117 virtual bool lastStateWasDefaultState()
const;
122 virtual void iterateCommands(
const boost::function<
void(
const DtDynamicTerrainChange&)>& callback)
const override;
125 virtual void reloadShaders();
128 virtual void buildTrackStyleMap();
135 virtual const osgEarth::Style* findPersistentTrackStyle(
const std::string& trackType,
const std::string& soilType,
const std::string& trackDepth)
const;
145 virtual void setMinimumLod(
unsigned int minLod );
146 virtual unsigned int getMinimumLod();
163 virtual void sendTrackUpdates();
166 virtual bool parseTrackParameters(
const DtDynamicTerrainChange &change, std::string& trackId, std::string& trackType, std::string& soilType, std::string& trackDepth)
const;
170 virtual void slot_observerSettingRemoved(
DtObserverObject* observer,
int setting);
174 virtual void slot_observerSettingChanged(
DtObserverObject* observer,
int setting,
bool value);
178 virtual void setupTrackUpdatesEnabled();
181 bool destroyDynamicProp(
const std::string&
id);
184 void destroyAllDynamicProp();
187 DtProp* addDynamicPropModel(
const std::string& modelDefinition,
const DtVector& center,
double orientation);
osg::ref_ptr< osgEarth::Contrib::DecalLandCoverLayer > myDecalLandCoverLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:215
std::map< std::string, osg::ref_ptr< osgEarth::Feature > > myGeometryRefs
Definition: DtOsgEarthDynamicTerrainFeature.h:220
std::set< std::string > myAppliedChangeIds
Identities (change-id) of changes already applied by changeState()
Definition: DtOsgEarthDynamicTerrainFeature.h:198
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:236
bool myTrackUpdatesEnabled
Definition: DtOsgEarthDynamicTerrainFeature.h:231
Definition: DtDynamicTerrainFeature.h:316
DtVirtualBaseClassCreator< DtOsgEarthDynamicTerrainFeature, osgEarth::MapNode * > DtOsgEarthDynamicTerrainFeatureCreator
creator
Definition: DtOsgEarthDynamicTerrainFeature.h:52
const char * creatorTypeName< DtOsgEarthDynamicTerrainFeature >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtOsgEarthDynamicTerrainFeature.h:59
osg::ref_ptr< osgEarth::Contrib::DecalImageLayer > myDecalLifeMapLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:207
TrackTypeToStyleMap myTrackTypeToStyleMap
Definition: DtOsgEarthDynamicTerrainFeature.h:228
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:48
Represents (possibly infinite) area of space.
Definition: DtDynamicTerrainGeometry.h:20
DtDe & myDe
Definition: DtOsgEarthDynamicTerrainFeature.h:224
Definition: DtOsgEarthDynamicFidManager.h:35
osg::ref_ptr< osgEarth::CoverageLayer > myDecalCoverageLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:211
osg::ref_ptr< osgEarth::MapNode > myMapNode
Definition: DtOsgEarthDynamicTerrainFeature.h:193
DtOsgEarthDynamicTerrainFeature is a special DtDynamicTerrainFeature which listens to all the dynamic...
Definition: DtOsgEarthDynamicTerrainFeature.h:69
osg::ref_ptr< osgEarth::Splat::RoadSurfaceLayer > myTracksLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:218
Contains makVrv::DtDynamicTerrainGeometry class.
DtOsgEarthDynamicFidManager * myDynamicFidManager
Definition: DtOsgEarthDynamicTerrainFeature.h:239
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:223
DtSignalConnectionManager myConnections
Definition: DtOsgEarthDynamicTerrainFeature.h:227
DynamicPropMap myDynamicProps
Definition: DtOsgEarthDynamicTerrainFeature.h:237
DtDynamicTerrainRasterLibrary * myRasterLibrary
Definition: DtOsgEarthDynamicTerrainFeature.h:225
const DtString myTerrainDeformationStateName
Definition: DtOsgEarthDynamicTerrainFeature.h:191
const DtString myTracksStateName
Definition: DtOsgEarthDynamicTerrainFeature.h:190
osgEarth::LandCoverDictionary * myLandCoverDictionary
Definition: DtOsgEarthDynamicTerrainFeature.h:226
int myChangeCount
Definition: DtOsgEarthDynamicTerrainFeature.h:195
osg::ref_ptr< osgEarth::FeatureImageLayer > myTracksDebugLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:233
osg::ref_ptr< DtOsgEarthMemoryFeatureSource > myFeatureSource
Definition: DtOsgEarthDynamicTerrainFeature.h:219
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:189
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:209
osg::ref_ptr< osgEarth::Contrib::DecalImageLayer > myDecalImageLayer
Definition: DtOsgEarthDynamicTerrainFeature.h:201
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:204
Command which can be given to the dynamic terrain system to perform some change. This class is a simp...
Definition: DtDynamicTerrainChange.h:44
unsigned int myMinimumLod
Definition: DtOsgEarthDynamicTerrainFeature.h:241
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:221