13 #include <osgEarth/MapCallback>
20 #include <osgEarth/VisibleLayer>
27 class DtTerrainPatchObject;
28 class DtObserverObject;
89 virtual void addToGroups(std::string groupStr, osgEarth::VisibleLayer* layer,
bool isect);
93 virtual void addToGroup(std::string groupName, osgEarth::VisibleLayer* layer,
bool isect);
96 virtual void activateGroup(std::string groupName);
99 std::string activeGroup();
103 virtual void reset();
106 virtual void resetGroupMasks();
109 virtual void enableAllGroupMasks();
112 virtual void defaultGroupMasksVisible(ShowIn show);
115 virtual bool hasGroup(std::string groupName);
118 virtual void updateAnyObserver3D();
121 virtual void addLayer(osgEarth::Layer* layer);
124 virtual void removeLayer(osgEarth::Layer* layer);
127 virtual void printState();
130 virtual std::vector<std::string> groupNames();
134 virtual void update(
DtTime tNow)
override;
137 virtual void closeLayer(osgEarth::VisibleLayer* layer);
140 virtual void openLayer(osgEarth::VisibleLayer* layer);
144 virtual DtTime lastUpdateTime()
const;
147 virtual std::vector<std::string> getGroupsForLayer(osgEarth::VisibleLayer* layer);
150 virtual bool layerInActiveGroup(osgEarth::VisibleLayer* layer);
154 virtual void removeGroup(std::string groupName);
164 virtual void slot_paperMapEnabledChanged(
bool setting);
167 virtual void slot_paperMapLayerTimeoutChanged(
double timeout);
170 virtual void slot_observerAdded(
const std::string& observerName);
173 virtual void slot_observerRemoved(
const std::string& observerName);
179 virtual void slot_observerGroupChanged(
DtObserver* observer, std::string obsGroup);
192 virtual void slot_paperMapIntersectionOverrideChanged(
bool setting);
200 static const std::string& theClassName();
std::set< osgEarth::VisibleLayer * > PaperMapLayerSet
Definition: DtOsgEarthPaperMapManager.h:209
Definition: DtOsgEarthPaperMapManager.h:71
Virtual base class.
Definition: DtVirtualBaseClass.h:19
DtObserver * myCurrentObserver
Definition: DtOsgEarthPaperMapManager.h:231
bool myAnyObserverIn3D
Definition: DtOsgEarthPaperMapManager.h:222
LayerBoolMap myLayerIsInDefault
Definition: DtOsgEarthPaperMapManager.h:215
#define DT_DLL_VRVOSGEARTH
Definition: vrvOsgEarth.h:21
std::map< osgEarth::VisibleLayer *, DtTime > LayerTimeMap
Definition: DtOsgEarthPaperMapManager.h:212
bool myIntersectionOverride
Definition: DtOsgEarthPaperMapManager.h:229
An abstract base class for objects that require updates.
Definition: DtTickable.h:26
Definition: DtOsgEarthPaperMapManager.h:70
A DtTerrainPatchObject contains the methods for loading a file as a terrain.
Definition: DtTerrainPatchObject.h:37
A facade for a DtObserverObject.
Definition: DtObserver.h:37
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
std::map< DtObserverObject *, bool > ObserverObj2DMap
Definition: DtOsgEarthPaperMapManager.h:208
double myLayerTimeOut
Definition: DtOsgEarthPaperMapManager.h:226
bool myPaperMapFeatureEnabled
Definition: DtOsgEarthPaperMapManager.h:228
LayerBoolMap myGroupIsect
Definition: DtOsgEarthPaperMapManager.h:216
DtOsgEarthPaperMapManagerCreator is used to create a DtOsgEarthPaperMapManager.
Definition: DtOsgEarthPaperMapManager.h:237
Base class to provide boost signal/slot management.
Contains the declaration for makVrv::DtTickable.
Manager that adds, clears, activates/deactives groups (if any) read in by the DtPaperMapCallback The ...
Definition: DtOsgEarthPaperMapManager.h:64
DtSignalConnectionManager myConnections
Definition: DtOsgEarthPaperMapManager.h:206
Contains the DtPaperMapManagerSignaler class declaration.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
ShowIn
Definition: DtOsgEarthPaperMapManager.h:68
GroupLayerMap myGroupMap
Definition: DtOsgEarthPaperMapManager.h:214
DtDe & myDe
Definition: DtOsgEarthPaperMapManager.h:204
std::string myActiveGroupName
Definition: DtOsgEarthPaperMapManager.h:217
LayerTimeMap myLayerTime
Definition: DtOsgEarthPaperMapManager.h:225
std::map< osgEarth::VisibleLayer *, bool > LayerBoolMap
Definition: DtOsgEarthPaperMapManager.h:211
Contains DLL export macros.
std::map< std::string, PaperMapLayerSet > GroupLayerMap
Definition: DtOsgEarthPaperMapManager.h:210
ObserverObj2DMap myObserverObj2DMap
Definition: DtOsgEarthPaperMapManager.h:221