|
| | DtVrfInputDriver (makVrv::DtAgentManager &agentManager, const std::string &instanceName) |
| | CTOR. More...
|
| |
| virtual | ~DtVrfInputDriver () |
| | DTOR. More...
|
| |
| virtual void | setChangeCurrentChannelOnMouseMove (bool) |
| | Sets a flag that will override the channel changing behavior on mouse movement. Default is false. More...
|
| |
| bool | changeCurrentChannelOnMouseMove () const |
| |
| virtual bool | processMouseEvent (const makVrv::DtMouseEvent &mouseEvent, makVrv::DtChannel *channel) |
| | handle a mouse event from our listener More...
|
| |
| | DtInputDriver (DtAgentManager &agentManager, const std::string &instanceName) |
| | CTOR. More...
|
| |
| virtual | ~DtInputDriver () |
| | DTOR. More...
|
| |
| virtual bool | onStart () |
| | Create and initialize our listener. More...
|
| |
| virtual bool | onStop () |
| | Uninitialize and destroy our listener. More...
|
| |
| virtual bool | onTick () |
| | Tick our keyboard/mouse listener. More...
|
| |
| virtual const std::string & | className () const |
| | Get the class name for the input driver. More...
|
| |
| virtual bool | processKeyEvent (const DtKeyEvent &keyEvent, DtChannel *channel) |
| | handle a key event from our listener More...
|
| |
| virtual bool | processPinchGesture (const DtPinchGesture &pinchGesture, DtChannel *channel) |
| |
| virtual void | setMouseHideProccessorEnabled (bool enabled) |
| | Enable/Disable myMouseHideProcessor which, if enabled,. More...
|
| |
| virtual void | hideMouse (DtChannel *channel, float mouseX, float mouseY) |
| | hide the mouse cursor More...
|
| |
| virtual bool | isMouseHidden () const |
| | Check to see if the mouse is hidden. More...
|
| |
| virtual void | showMouse (DtChannel *channel) |
| | show the mouse cursor More...
|
| |
| virtual void | centerMouse (DtChannel *channel) |
| | warp the mouse cursor to the center of the view More...
|
| |
| virtual void | setMousePosition (DtChannel *channel, float x, float y) |
| | warp the mouse cursor to the given window position More...
|
| |
| virtual void | clearState () |
| | clear any remembered keyboard modifiers and stop any observer motion More...
|
| |
| virtual void | addEventProcessorToFront (DtEventProcessorInterface *epi) |
| | This transfers resource management of the event processor to the input driver. More...
|
| |
| virtual void | addEventProcessorToBack (DtEventProcessorInterface *epi) |
| | Add an event processor to the driver. More...
|
| |
| virtual EventProcessorList & | eventProcessorList () |
| | Get the list of event processors. More...
|
| |
| virtual DtEventProcessorInterface * | findEventProcessor (const std::string &className) |
| | Find an event processor owned by the input driver that has the specified class name. More...
|
| |
| virtual void | removeEventProcessor (DtEventProcessorInterface *epi) |
| | Remove an event processor from the driver. More...
|
| |
| bool | saveKeyMapToFile (const DtKeyMap &keyMap, const std::string &filename) const |
| | Save a key map to a file. More...
|
| |
| DtKeyMap * | loadKeyMapFromFile (const std::string &filename, bool createBackup=false) |
| | Save a key map to a file. More...
|
| |
| void | setKeyMap (const std::string &mapName) |
| | explicitly set a key map More...
|
| |
| const std::string & | keyMap () const |
| | Get the name of the current keyMap. More...
|
| |
| DtKeyMap * | createKeyMap (const std::string &mapName) |
| | create a (blank) key map More...
|
| |
| DtKeyMap * | findKeyMap (const std::string &mapName) |
| | lookup a key map More...
|
| |
| void | addKeyBinding (DtKeyMap *map, DtKeyState::KeyType key, const std::string &functionName, DtKeyState::KeyModifier modifiers=DtKeyState::NO_MODIFIER, bool replace=false, DtKeyEvent::KeyEventType eventType=DtKeyEvent::KEY_DOWN) |
| | bind a key down or key up event (possibly modified) to a function name More...
|
| |
| void | addBinaryKeyBinding (DtKeyMap *map, DtKeyState::KeyType key, const std::string &binaryName, DtKeyState::KeyModifier modifiers=DtKeyState::NO_MODIFIER, bool replace=false) |
| | bind the up and down events for a key (possibly modified) to a binary function set More...
|
| |
| virtual void | realizeConfiguration (const DtConfiguration &configuration) |
| | Realize the driver using the configuration. More...
|
| |
| virtual void | realizeObserverConfiguration (const DtObserverConfiguration &configuration) |
| |
| const ObserverConfigurationMap & | observerConfigurations () const |
| |
| void | addObserverConfiguration (const DtObserverConfiguration &config) |
| | Observer name is already in the config... More...
|
| |
| void | addObserverState (const std::string &observerName, const makArchives::DtObserverStateRecord &stateRecord) |
| | put this state onto the observerState map and, if the observer currently exists, set its state from this record More...
|
| |
| void | initializeObserver (DtObserver *observer, const makArchives::DtObserverStateRecord &stateRecord) |
| | set the state of the specified observer from stateRecord. More...
|
| |
| virtual void | addObserver (DtObserver *observer) |
| | Observer Management. More...
|
| |
| virtual void | removeObserver (DtObserver *observer) |
| | Remove an observer object from the manager. More...
|
| |
| virtual void | removeObserver (const std::string &name) |
| | Remove an observer object from the manager. More...
|
| |
| virtual std::vector< DtObserver * > | observers () const |
| | Get a list of all observers. More...
|
| |
| virtual void | setCurrentObserver (const std::string &observerName) |
| | Set the current observer by name. More...
|
| |
| void | setTerrainContextEnabled (bool enabled) |
| | Set whether terrain context menus are enabed. More...
|
| |
| bool | terrainContextEnabled () const |
| |
| virtual void | performObserverAction (const DtViewStateProcessor::ObserverAction &action) |
| | View controls: More...
|
| |
| virtual void | toggleTerrainScaling () |
| | Toggle terrain scaling on or off. More...
|
| |
| virtual void | toggleWireframe () |
| | Toggle wireframe mode on or off. More...
|
| |
| virtual void | toggleSimulationTimePaused () |
| | Toggle sim time pause on or off. More...
|
| |
| virtual void | incrementTerrainScaleFactor () |
| | Increment terrain scale factor. More...
|
| |
| virtual void | decrementTerrainScaleFactor () |
| | Decrement terrain scale factor. More...
|
| |
| virtual void | toggleEntityLabels () |
| | Toggle entity labels on or off. More...
|
| |
| virtual void | toggleRotateEntitySymbols () |
| | Toggle entity symbol rotate on or off. More...
|
| |
| virtual void | toggleTacticalGraphics () |
| | Toggle tactical graphics display on or off. More...
|
| |
| virtual void | toggleEntityHatLines () |
| | Toggle entity height above terrain lines display on or off. More...
|
| |
| virtual void | toggleTacticalGraphicsHatLines () |
| | Toggle tactical graphics height above terrain lines display on or off. More...
|
| |
| virtual void | toggleEntityHatMode () |
| | Toggle entity height above terrain mode. More...
|
| |
| virtual void | toggleTacticalGraphicsHatMode () |
| | Toggle tactical graphics height above terrain mode. More...
|
| |
| virtual void | togglePropTransparencySelected () |
| | Toggles the transparency of all selected props. More...
|
| |
| virtual void | toggleViewControl () |
| | Toggle global listening to view controls (does not affect VR-Link driver view control listening overrides) More...
|
| |
| void | resetObservers (DtUniqueID id) |
| | Reset all of the observers to the unique id. More...
|
| |
| virtual void | setAllowObserverReset (bool allow) |
| | Control whether reset observers functions or not. More...
|
| |
| virtual bool | allowObserverReset () |
| |
| virtual void | setObserverRestoreOnSlaveConnectEnabled (bool enable) |
| | Control whether the observers are saved and restored when the slave is connected Turned off during postInit so that if a terrain is loaded on the command line and the slave is connected on the command line then it won't jump to the origin after connection. More...
|
| |
| virtual bool | isObserverRestoreOnSlaveConnectEnabled () |
| |
| void | saveObservers (const std::string &filename) |
| | Create an observer settings file. More...
|
| |
| void | loadObservers (const std::string &filename, bool force=false) |
| | Load an observer settings file. More...
|
| |
| DtElementEntry::ObjectType | typeFromId (const DtUniqueID &id) |
| |
| virtual void | animateObserver (DtObserverAnimator *newAnimator) |
| | Animate an observer to a given absolute location and orientation. More...
|
| |
| virtual void | removeAnimatorFromObserver (DtObserver *observer) |
| | Remove the animator associated with the specified observer. More...
|
| |
| virtual void | takeScreenCapture () |
| | Takes Screen capture of the current channel. More...
|
| |
| virtual void | toggleDeveloperDebugUI () |
| | Toggle ImGui based debug ui. More...
|
| |
| DtChannel * | currentChannel () const |
| | the last channel a mouse or keyboard event was received in. More...
|
| |
| virtual DtChannel * | findCurrentChannel () const |
| |
| virtual DtObserver * | findObserverByName (const std::string &name) |
| | Find an observer by its name. More...
|
| |
| virtual const DtObserver * | findObserverByName (const std::string &name) const |
| |
| DtObserver * | currentObserver () const |
| | Get the current observer. More...
|
| |
| virtual DtObserver * | findCurrentObserver () const |
| |
| const DtObserverViewsManager & | observerViewsManager () const |
| | Returns the observer view list manager. More...
|
| |
| DtObserverViewsManager & | observerViewsManager () |
| |
| | DtDriver (DtAgentManager &agentManager, const std::string &instanceName) |
| | CTOR. More...
|
| |
| virtual | ~DtDriver () |
| | DTOR. More...
|
| |
| virtual DtConfiguration | createConfiguration () const |
| | Create a configuration for the driver. More...
|
| |
| DtAgentManager & | agentManager () |
| | Get the master scene for this host. More...
|
| |
| virtual DtAgentManagerInterface & | sceneInterface () |
| | Get the scene manager interface for creating agents. More...
|
| |
| bool | started () const |
| | Get this driver's active state. More...
|
| |
| virtual const std::string & | instanceName () const |
| | Get this driver's instance name. More...
|
| |
| virtual bool | autoStart () const |
| | Get whether this driver is set to automatically start if it is persistent. More...
|
| |
| virtual void | setAutoStart (bool autoStart) |
| | Set whether this driver automatically starts if it is persistent. More...
|
| |
| virtual bool | isWindowDependent () const |
| | Get whether this driver is set to automatically start when the first window is created and stop when the last window is destroyed. More...
|
| |
| virtual void | setIsWindowDependent (bool dep) |
| | Set whether this driver is set to automatically start when the first window is created and stop when the last window is destroyed. More...
|
| |
| virtual void | setIsUserControllable (bool) |
| | Set whether this driver can be started and stopped by the user. More...
|
| |
| virtual bool | isUserControllable () const |
| | Get whether this driver can be started and stopped by the user. More...
|
| |
| virtual void | setIsPersistent (bool per) |
| | Set if the driver is persistent and should be saved between runs. More...
|
| |
| virtual bool | isPersistent () const |
| | Get if the driver is persistent and should be saved between runs. More...
|
| |
| virtual bool | isOnDriverSelectionList () const |
| | Returns whether or not this driver is to be automatically started/stopped from the driver selection list. More...
|
| |
| virtual void | setOnDriverSelectionList (bool) |
| | Sets whether or not this item is on the driver selection list. More...
|
| |
| bool | objectFromAgentManager (const DtUniqueID &id) const |
| | check to see if the object was created using this driver's agent manager. More...
|
| |
|
typedef std::list
< DtEventProcessorInterface * > | EventProcessorList |
| | A list of DtEventProcessorInterface, called in order for each event until one handles it. More...
|
| |
typedef std::map< std::string,
makArchives::DtObserverStateRecord > | ObserverStateMap |
| | A map of observer names, to DtObserverStateRecords. More...
|
| |
typedef std::map< std::string,
DtObserverConfiguration > | ObserverConfigurationMap |
| | A map of observer names, to DtObserverConfigurations. More...
|
| |
typedef std::map< std::string,
DtObserver * > | ObserversMap |
| | Observer Manager bound. More...
|
| |
| void | setCurrentObserver (DtObserver *observer) |
| |
| virtual void | initializeKeyMapManager (const std::string &defaultKeyMap) |
| | This will eventually load up key maps. More...
|
| |
| virtual void | bindFunctions () |
| |
| virtual void | createMaps () |
| | This creates the default key maps by hand. Kept around for now. More...
|
| |
| virtual void | loadMaps (bool loadFromFactory=false) |
| | Load all the key maps (*.kmpx) files in the $APP_DIR/settings directory. More...
|
| |
| void | removeObserver (ObserversMap &observers, DtObserver *observer) |
| |
| void | removeObserver (ObserversMap &observers, const std::string &name) |
| |
| void | destroyObservers () |
| |
| bool | setCurrentObserverFromChannel (const DtChannel &channel) |
| |
| void | slot_channelCreated (DtChannelManager *channelManager, DtChannel *channel) |
| |
| void | slot_channelDestroyed (DtChannelManager *channelManager, DtChannel *channel) |
| |
| void | slot_channelConfigurationModified (const std::string &deName, const std::string &winName, const std::string &oldChannelName, const DtChannelConfiguration &config) |
| |
| void | slot_attachedToChanged (DtObserver *observer) |
| |
| void | createRequiredObservers (const std::string &engineName) |
| |
| virtual void | slot_displayEngineAdded (const DtDeRecord &igRecord) |
| | Called when a display engine is added. Restarts this driver. More...
|
| |
| std::string | restoreObserversPart1 () |
| | Create a temporary observer settings file using a default filename - called when a display engine is added, before shutting down. More...
|
| |
| void | restoreObserversPart2 (const std::string &filename) |
| | Loads a temporary observer settings file and deletes the file. More...
|
| |
| virtual void | slot_displayEngineRealized (const std::string &, const std::string &engineName) |
| |
| bool | trimmedMatch (DtObserver *observer) |
| | Helper function for bindObserver where is a user does Observer1, Observer2 instead of Observer1,Observer2 it will still match. More...
|
| |
| bool | showObserverNameWarning () |
| | Is trimmedMatch showing warnings? More...
|
| |
| void | setShowObserverNameWarning (bool warn) |
| | Set whether to warn if an observer name is not in our start up list. More...
|
| |
| void | applyChangesAndDelete (DtElementChanges *changes) |
| | Function for apply changes from a changes object and deleting it. More...
|
| |
| void | reportElementCreated (DtElementID id, DtElementID parentId, DtElementEntry::ElementType type) |
| | Report an element created. More...
|
| |
| void | reportElementAttribute (DtElementID id, DtElementAttribute *attribute) |
| | Report an element attribute changed. More...
|
| |
| void | reportElementDestroyed (DtElementID id) |
| | Report an element destroyed. More...
|
| |
| void | start () |
| | Start the driver. More...
|
| |
| void | stop () |
| | Stop the driver. More...
|
| |
| bool | tick () |
| | Tick the host driver. More...
|
| |
| virtual void | setInstanceName (const std::string &name) |
| | set the Instance name. More...
|
| |
| virtual void | installAccessories () |
| | Installs accessories on this driver. More...
|
| |
| virtual void | uninstallAccessories () |
| | Removes accessories from this driver. More...
|
| |
Subclass to allow the channel to change on mouse movement.