13 #include <osgEarth/MapCallback>
20 #include <osgEarth/VisibleLayer>
29 class DtTerrainPatchObject;
30 class DtObserverObject;
91 virtual void addToGroups(std::string groupStr, osgEarth::VisibleLayer* layer,
bool isect);
95 virtual void addToGroup(std::string groupName, osgEarth::VisibleLayer* layer,
bool isect);
98 virtual void activateGroup(std::string groupName);
101 std::string activeGroup();
105 virtual void reset();
108 virtual void resetGroupMasks();
111 virtual void enableAllGroupMasks();
114 virtual void defaultGroupMasksVisible(ShowIn show);
117 virtual bool hasGroup(
const std::string& groupName);
120 virtual void updateAnyObserver3D();
123 virtual void addLayer(osgEarth::Layer* layer);
126 virtual void removeLayer(osgEarth::Layer* layer);
129 virtual void printState();
132 virtual std::vector<std::string> groupNames();
136 virtual void update(
DtTime tNow)
override;
139 virtual void closeLayer(osgEarth::VisibleLayer* layer);
142 virtual void openLayer(osgEarth::VisibleLayer* layer);
146 virtual DtTime lastUpdateTime()
const;
149 virtual std::vector<std::string> getGroupsForLayer(osgEarth::VisibleLayer* layer);
152 virtual bool layerInActiveGroup(osgEarth::VisibleLayer* layer);
156 virtual void removeGroup(std::string groupName);
166 virtual void slot_paperMapEnabledChanged(
bool setting);
169 virtual void slot_paperMapLayerTimeoutChanged(
double timeout);
172 virtual void slot_observerAdded(
const std::string& observerName);
175 virtual void slot_observerRemoved(
const std::string& observerName);
181 virtual void slot_observerGroupChanged(
DtObserver* observer, std::string obsGroup);
194 virtual void slot_paperMapIntersectionOverrideChanged(
bool setting);
202 static const std::string& theClassName();
std::set< osgEarth::VisibleLayer * > PaperMapLayerSet
Definition: DtOsgEarthPaperMapManager.h:209
Definition: DtOsgEarthPaperMapManager.h:73
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
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. This object automatically adds itself to a D...
Definition: DtTickable.h:26
Definition: DtOsgEarthPaperMapManager.h:72
A DtTerrainPatchObject contains the methods for loading a file as a terrain. When loading a file as a...
Definition: DtTerrainPatchObject.h:35
vrvSignalsLib::connection myPaperMapLayerChangedConnection
Definition: DtOsgEarthPaperMapManager.h:234
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
vrvSignalsLib::connection myLodScaleChangedConnection
Definition: DtOsgEarthPaperMapManager.h:233
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:240
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:66
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
ShowIn
Definition: DtOsgEarthPaperMapManager.h:70
GroupLayerMap myGroupMap
Definition: DtOsgEarthPaperMapManager.h:214
DtDe & myDe
Definition: DtOsgEarthPaperMapManager.h:206
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