15 #include <boost/unordered_map.hpp>
17 #include <matrix/vlTaitBryan.h>
18 #include <matrix/vlVector.h>
23 class DtSceneObjectAgent;
24 class DtRibbonModelAgent;
25 class DtTrackHistoryUpdaterAgent;
45 virtual const std::string&
className()
const;
76 makVrv::DtSceneObjectAgent* sceneObjectAgent,
bool distribute );
Contains makVrv::DtModelSetRealizationManager class.
makVrv::DtSceneObjectAgent * mySceneObject
Definition: DtExampleTrackHistoryDriver.h:93
virtual void repositionAircraft(DtVector position, DtTaitBryan ori)
Positions the aircraft at the given coordinates.
TrackHistoriesVector myTrackHistories
Definition: DtExampleTrackHistoryDriver.h:103
virtual bool onStop()
Performs shutdown logic for the driver.
A Record of an IG instance.
Definition: DtDeRecord.h:24
double myClockAngle
Definition: DtExampleTrackHistoryDriver.h:111
double myLastUpdateTime
Definition: DtExampleTrackHistoryDriver.h:110
virtual const std::string & className() const
Returns the driver's class name.
double myAngularVelocity
Definition: DtExampleTrackHistoryDriver.h:109
makVrv::DtRibbonModelAgent * myTrackHistory
Definition: DtExampleTrackHistoryDriver.h:94
The DtEntityFacade is a facade around agents that make up an entity. This entity facade represents a ...
Definition: DtEntityFacade.h:35
virtual void updatePosition()
Updates the current position / orientation of the entity.
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.
The DtDriver is an abstract class. Developers derive from this to create logic that "directs" things ...
Definition: DtDriver.h:31
DtExampleTrackHistoryDriver(makVrv::DtAgentManager &am)
CTOR.
makVrv::DtEntityFacade * myEntityFacade
Definition: DtExampleTrackHistoryDriver.h:105
void createEntityTrackHistories(makVrv::DtEntityFacade *entityFacade, bool distribute)
Creates the track history model agents for the model sets visualized by the facade.
virtual void slot_settingsChanged()
Receives notification that track history settings have changed. Updates the track history to reflect ...
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
Contains makVrv:DtDriver class.
DtVector myOrbitCenter
Definition: DtExampleTrackHistoryDriver.h:107
std::vector< TrackHistoryInfo > TrackHistoriesVector
Vector type for storing created track histories and associated information.
Definition: DtExampleTrackHistoryDriver.h:101
Definition: DtExampleTrackHistoryDriver.h:91
virtual bool onTick()
Performs update logic for the driver.
double myRoll
Definition: DtExampleTrackHistoryDriver.h:113
virtual ~DtExampleTrackHistoryDriver()
Virtual DTOR.
This driver demonstrates drawing track histories.
Definition: DtExampleTrackHistoryDriver.h:30
virtual bool onStart()
Performs startup logic for the driver.
double myRadius
Definition: DtExampleTrackHistoryDriver.h:112
virtual void slot_displayEngineAdded(const makVrv::DtDeRecord &igRecord)
Ensures the driver is properly restarted when a De is connected.
std::map< int, bool > ModelSetRealizations
Definition: DtModelSetRealizationManager.h:41
makVrv::DtEntityFacade * createEntityFacade(makVrv::DtAgentManager &am, makVrv::DtElementID elementId, const makVrv::DtModelSetRealizationManager::ModelSetRealizations &modelSets, bool distribute)
Creates an entity facade for an F-18. Properly initializes the individual 3d/2d/XR facades...
makVrv::DtTrackHistoryUpdaterAgent * myUpdater
Definition: DtExampleTrackHistoryDriver.h:95