![]() |
VR-Forces 4.10 Class Documentation
|
This driver demonstrates drawing track histories. More...

Classes | |
| struct | TrackHistoryInfo |
Public Member Functions | |
| DtExampleTrackHistoryDriver (makVrv::DtAgentManager &am) | |
| CTOR. More... | |
| virtual | ~DtExampleTrackHistoryDriver () |
| Virtual DTOR. More... | |
| virtual void | slot_settingsChanged () |
| Receives notification that track history settings have changed. More... | |
Methods Inherited from makVrv::DtDriver | |
| virtual const std::string & | className () const |
| Returns the driver's class name. More... | |
| virtual bool | onStart () |
| Performs startup logic for the driver. More... | |
| virtual bool | onStop () |
| Performs shutdown logic for the driver. More... | |
| virtual bool | onTick () |
| Performs update logic for the driver. More... | |
| virtual void | slot_displayEngineAdded (const makVrv::DtDeRecord &igRecord) |
| Ensures the driver is properly restarted when a De is connected. More... | |
Public Member Functions inherited from makVrv::DtDriver | |
| DtDriver (DtAgentManager &agentManager, const std::string &instanceName) | |
| CTOR. More... | |
| virtual | ~DtDriver () |
| DTOR. More... | |
| virtual void | realizeConfiguration (const DtConfiguration &configuration) |
| Realize the driver using the configuration. 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... | |
Protected Types | |
| typedef std::vector < TrackHistoryInfo > | TrackHistoriesVector |
| Vector type for storing created track histories and associated information. More... | |
Protected Member Functions | |
| void | createEntityTrackHistories (makVrv::DtEntityFacade *entityFacade, bool distribute) |
| Creates the track history model agents for the model sets visualized by the facade. More... | |
| void | createEntityTrackHistory (int modelSet, int visualType, makVrv::DtSceneObjectAgent *sceneObjectAgent, bool distribute) |
| Creates a track history for the given model set and scene object of the entity facade. More... | |
| makVrv::DtEntityFacade * | createEntityFacade (makVrv::DtAgentManager &am, makVrv::DtElementID elementId, const makVrv::DtModelSetRealizationManager::ModelSetRealizations &modelSets, bool distribute) |
| Creates an entity facade for an F-18. More... | |
| virtual void | updatePosition () |
| Updates the current position / orientation of the entity. More... | |
| virtual void | repositionAircraft (DtVector position, DtTaitBryan ori) |
| Positions the aircraft at the given coordinates. More... | |
Protected Member Functions inherited from makVrv::DtDriver | |
| 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... | |
Protected Attributes | |
| TrackHistoriesVector | myTrackHistories |
| makVrv::DtEntityFacade * | myEntityFacade |
| DtVector | myOrbitCenter |
| double | myAngularVelocity |
| double | myLastUpdateTime |
| double | myClockAngle |
| double | myRadius |
| double | myRoll |
Protected Attributes inherited from makVrv::DtDriver | |
| DtAgentManager & | myAgentManager |
| bool | myStartedFlag |
| std::string | myName |
| DtConfiguration | myConfiguration |
| bool | myPersistentFlag |
| bool | myUserControllableFlag |
| bool | myRequestStateDiffPendingFlag |
| DtElementChanges | myChanges |
This driver demonstrates drawing track histories.
|
protected |
Vector type for storing created track histories and associated information.
| DtExampleTrackHistoryDriver::DtExampleTrackHistoryDriver | ( | makVrv::DtAgentManager & | am | ) |
CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
Returns the driver's class name.
Implements makVrv::DtDriver.
|
virtual |
Performs startup logic for the driver.
Implements makVrv::DtDriver.
|
virtual |
Performs shutdown logic for the driver.
Implements makVrv::DtDriver.
|
virtual |
|
virtual |
Ensures the driver is properly restarted when a De is connected.
Reimplemented from makVrv::DtDriver.
|
virtual |
Receives notification that track history settings have changed.
Updates the track history to reflect the latest settings.
|
protected |
Creates the track history model agents for the model sets visualized by the facade.
|
protected |
Creates a track history for the given model set and scene object of the entity facade.
|
protected |
Creates an entity facade for an F-18.
Properly initializes the individual 3d/2d/XR facades.
|
protectedvirtual |
Updates the current position / orientation of the entity.
|
protectedvirtual |
Positions the aircraft at the given coordinates.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |