17 #include <osgEarth/VisibleLayer>
24 class DtTerrainPatchObject;
25 class DtObserverObject;
78 virtual void addToGroups(std::string groupStr, osgEarth::VisibleLayer* layer,
bool isect);
82 virtual void addToGroup(std::string groupName, osgEarth::VisibleLayer* layer,
bool isect);
85 virtual void activateGroup(std::string groupName);
88 std::string activeGroup();
95 virtual bool hasGroup(
const std::string& groupName);
98 virtual void updateAnyObserver3D();
101 virtual void addLayer(osgEarth::Layer* layer);
104 virtual void removeLayer(osgEarth::Layer* layer);
107 virtual void printState();
110 virtual std::vector<std::string> groupNames();
114 virtual void update(
DtTime tNow)
override;
118 virtual DtTime lastUpdateTime()
const;
121 virtual std::vector<std::string> getGroupsForLayer(osgEarth::VisibleLayer* layer);
124 virtual bool layerInActiveGroup(osgEarth::VisibleLayer* layer);
128 virtual void removeGroup(std::string groupName);
138 virtual void slot_paperMapEnabledChanged(
bool setting);
141 virtual void slot_paperMapLayerTimeoutChanged(
double timeout);
144 virtual void slot_observerAdded(
const std::string& observerName);
147 virtual void slot_observerRemoved(
const std::string& observerName);
153 virtual void slot_observerGroupChanged(
DtObserver* observer, std::string obsGroup);
166 virtual void slot_paperMapIntersectionOverrideChanged(
bool setting);
174 static const std::string& theClassName();
184 bool initialVisibility =
true;
185 bool intersectWhenHidden =
false;
187 bool layerInDefaultGroup =
false;
192 return layer < rhs.
layer;
203 std::string myActiveGroupName = {};
209 bool myAnyObserverIn3D =
true;
214 double myLayerTimeOut = 0.0;
217 bool myPaperMapFeatureEnabled =
true;
220 bool myIntersectionOverrideEnabled =
true;
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
#define DT_DLL_VRVOSGEARTH
Definition: vrvOsgEarth.h:21
osg::ref_ptr< osgEarth::VisibleLayer > layer
Definition: DtOsgEarthPaperMapManager.h:183
Definition: DtOsgEarthPaperMapManager.h:181
An abstract base class for objects that require updates. This object automatically adds itself to a D...
Definition: DtTickable.h:26
A DtTerrainPatchObject contains the methods for loading a file as a terrain. When loading a file as a...
Definition: DtTerrainPatchObject.h:35
osgEarth::Status layerStatus
Definition: DtOsgEarthPaperMapManager.h:188
A facade for a DtObserverObject.
Definition: DtObserver.h:38
This abstract base class defines the interface for OS-specific keyboard and mouse event listeners...
Definition: DtObserverObject.h:35
DtTime timeHidden
Definition: DtOsgEarthPaperMapManager.h:186
std::map< std::string, MapGroup > myMapGroups
Definition: DtOsgEarthPaperMapManager.h:200
DtOsgEarthPaperMapManagerCreator is used to create a DtOsgEarthPaperMapManager.
Definition: DtOsgEarthPaperMapManager.h:232
std::map< DtObserverObject *, bool > myObserverObj2DMap
Definition: DtOsgEarthPaperMapManager.h:206
Contains the declaration for makVrv::DtTickable.
Manager that adds, clears, activates/deactives groups (if any) read in by the DtPaperMapCallback The ...
Definition: DtOsgEarthPaperMapManager.h:61
Contains the DtPaperMapManagerSignaler class declaration.
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
DtDe & myDe
Definition: DtOsgEarthPaperMapManager.h:178
std::set< LayerState > MapGroup
Definition: DtOsgEarthPaperMapManager.h:198
Contains DLL export macros.