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

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