25 class DtChannelManager;
27 class DtEventProcessorInterface;
28 class DtInputDriverConfiguration;
29 class DtKeyAndMouseEventListener;
31 class DtKeyMapManager;
35 class DtObserverController;
37 class DtChannelConfiguration;
38 class DtObserverAnimator;
39 class DtObserverViewsManager;
40 class DtMouseHideProcessor;
60 const std::string& instanceName);
66 virtual bool onStart();
69 virtual bool onStop();
72 virtual bool onTick();
75 virtual const std::string& className()
const;
78 virtual bool processKeyEvent(
const DtKeyEvent& keyEvent,
82 virtual bool processMouseEvent(
const DtMouseEvent& mouseEvent,
85 virtual bool processPinchGesture(
const DtPinchGesture& pinchGesture,
90 virtual void setMouseHideProccessorEnabled(
bool enabled);
93 virtual void hideMouse(
DtChannel* channel,
float mouseX,
float mouseY);
96 virtual bool isMouseHidden()
const;
99 virtual void showMouse(
DtChannel* channel);
102 virtual void centerMouse(
DtChannel* channel);
105 virtual void setMousePosition(
DtChannel* channel,
float x,
float y);
109 virtual void clearState();
120 virtual DtChannel* findCurrentChannel()
const;
141 const std::string& className);
150 bool saveKeyMapToFile(
const DtKeyMap& keyMap,
const std::string&
filename)
const;
154 DtKeyMap* loadKeyMapFromFile(
const std::string&
filename,
bool createBackup =
false);
160 void setKeyMap(
const std::string& mapName);
163 const std::string& keyMap()
const;
166 DtKeyMap* createKeyMap(
const std::string& mapName);
169 DtKeyMap* findKeyMap(
const std::string& mapName);
173 const std::string& functionName,
175 bool replace =
false,
181 const std::string& binaryName,
183 bool replace =
false);
186 virtual void realizeConfiguration(
189 virtual void realizeObserverConfiguration(
204 void addObserverState(
const std::string& observerName,
217 virtual void addObserver(
DtObserver* observer);
220 virtual void removeObserver(
DtObserver* observer);
223 virtual void removeObserver(
const std::string& name);
226 virtual std::vector<DtObserver*> observers()
const;
229 virtual DtObserver* findObserverByName(
const std::string& name);
231 virtual const DtObserver* findObserverByName(
const std::string& name)
const;
235 virtual void setCurrentObserver(
const std::string& observerName);
244 virtual DtObserver* findCurrentObserver()
const;
248 void setTerrainContextEnabled(
bool enabled);
249 bool terrainContextEnabled()
const;
257 virtual void toggleTerrainScaling();
260 virtual void toggleWireframe();
263 virtual void toggleSimulationTimePaused();
266 virtual void incrementTerrainScaleFactor();
269 virtual void decrementTerrainScaleFactor();
272 virtual void toggleEntityLabels();
275 virtual void toggleEmbarkedEntityLabels();
278 virtual void toggleRotateEntitySymbols();
281 virtual void toggleTacticalGraphics();
284 virtual void toggleEntityHatLines();
287 virtual void toggleTacticalGraphicsHatLines();
289 virtual void toggleEntityHatMode();
292 virtual void toggleTacticalGraphicsHatMode();
295 virtual void toggleShowActiveTacticalGraphics();
298 virtual void togglePropTransparencySelected();
302 virtual void toggleViewControl();
305 virtual void clearAllTrackHistories();
312 virtual void setAllowObserverReset(
bool allow);
313 virtual bool allowObserverReset();
318 virtual void setObserverRestoreOnSlaveConnectEnabled(
bool enable);
319 virtual bool isObserverRestoreOnSlaveConnectEnabled();
322 void saveObservers(
const std::string&
filename);
327 void loadObservers(
const std::string&
filename,
bool force =
false);
337 virtual void removeAnimatorFromObserver(
DtObserver *observer);
340 virtual void takeScreenCapture();
343 virtual void toggleDeveloperDebugUI();
352 bool getLastMouseEventPosition(
int& x,
int& y);
355 DtChannel* lastMouseEventChannel()
const;
359 void setCurrentObserver(
DtObserver* observer);
362 virtual void initializeKeyMapManager(
const std::string& defaultKeyMap);
363 virtual void bindFunctions();
365 virtual void createMaps();
369 virtual void loadMaps(
bool loadFromFactory =
false);
375 void removeObserver(
ObserversMap& observers,
const std::string& name);
377 void destroyObservers();
379 bool setCurrentObserverFromChannel(
const DtChannel& channel);
383 void slot_windowToBeDestroyed(
DtWindow*);
384 void slot_channelConfigurationModified(
const std::string& deName,
385 const std::string& winName,
const std::string& oldChannelName,
387 void slot_attachedToChanged(
DtObserver* observer);
390 void createRequiredObservers(
const std::string& engineName);
393 virtual void slot_displayEngineAdded(
const DtDeRecord& igRecord);
398 std::string restoreObserversPart1();
401 void restoreObserversPart2(
const std::string&
filename);
403 virtual void slot_displayEngineRealized(
const std::string&,
404 const std::string& engineName);
412 bool showObserverNameWarning();
416 void setShowObserverNameWarning(
bool warn);
Abstract Base class.
Definition: DtWindow.h:25
boost::function< void(DtObserver &)> ObserverAction
Definition: DtViewStateProcessor.h:29
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
This class encapsulates a Key event.
Definition: DtKeyEvent.h:16
TODO: This class is used to encapsulate a set of default observer settings and parameters.
Definition: DtObserverConfiguration.h:22
DtPinchGesture represents a Pinch Multitouch Gesture. Instances of the DtPinchGesture class are used ...
Definition: DtPinchGesture.h:26
A Record of an IG instance.
Definition: DtDeRecord.h:24
Contains makVrv::DtObserverConfiguration class.
A DtObserverSettingsRecord contains the state of an observer.
Definition: DtObserverStateRecord.h:20
This class encapsulates a mouse button event.
Definition: DtMouseEvent.h:19
a Key Map contains a map of keys to FunctionMapEntrys, as well as a list of functions to execute when...
Definition: DtKeyMap.h:312
KeyModifier
Describe which modifier(s) are pressed.
Definition: DtKeyState.h:136
Definition: DtKeyEvent.h:22
unsigned int ObjectType
Definition: DtElementEntry.h:54
The manager for owning key maps.
Definition: DtKeyMapManager.h:31
The abstract Channel Class.
Definition: DtChannel.h:35
A facade for a DtObserverObject.
Definition: DtObserver.h:38
The DtDriver is an abstract class. Developers derive from this to create logic that "directs" things ...
Definition: DtDriver.h:31
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Contains makVrv::DtKeyMapManager class.
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains makVrv:DtDriver class.
Definition: DtKeyState.h:137
Base class for handling DtChannels. Derived classes should override the tick() method and advance the...
Definition: DtChannelManager.h:32
Contains makArchives::DtObserverStateRecord class.
Encapsulates the process of animating an observer to a given location. The animator will smoothly mov...
Definition: DtObserverAnimator.h:40
Base class to provide boost signal/slot management.
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:24
Manager for the observer view records loaded in the application.
Definition: DtObserverViewsManager.h:28
The base implementation of a configuration.
Definition: DtConfiguration.h:24
DtMouseHideProcessor tracks mouse move events and when they happen. If a mouse move event does not ha...
Definition: DtMouseHideProcessor.h:32
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
The DtEventProcessorInterface defines the generic interface for classes which handle input events...
Definition: DtEventProcessorInterface.h:34
KeyType
Enumerate the key types. These are based on Virtual Key Codes.
Definition: DtKeyState.h:25
KeyEventType
Enumerate the types of key events supported.
Definition: DtKeyEvent.h:20
This class's main responsibility is to provide the functions used to control an observer.
Definition: DtObserverController.h:29
This abstract base class defines the interface for OS-specific keyboard and mouse event listeners...
Definition: DtKeyAndMouseEventListener.h:25