![]() |
VR-Forces 5.0.2 Developer's Guide
|
Base class for Track Monitors which monitor the tracking of an object. For example, a current derived class is DtLosTrackMonitor, which monitors LOS to an Entity. Track Monitors should set myTrackIsActive to false in their overide of update if the condition for monitoring that object is false. For examples when LOS is lost. To "reactivate" monitoring set the objectID using setObjectId()

Public Member Functions | |
| virtual | ~DtTrackMonitor () |
| virtual void | update (DtTime tNow) |
| virtual bool | needsUpdate (DtTime tNow) |
| virtual void | getTrackedObjectGateInfo (unsigned int &gateXSize, unsigned int &gateYSize, double &gateXPosition, double &gateYPosition) |
| virtual DtVector | trackedObjectPosition () |
| virtual DtGeodeticCoord | trackedObjectGeodeticCoord () |
| virtual void | setTrackBoxOn (bool boxOn) |
| virtual bool | activeTrack () |
| virtual DtElementID const | monitoredObjectId () const |
| virtual void | setObjectId (const DtElementID &entity) |
Public Member Functions inherited from makVrv::DtTickable | |
| virtual bool | updateIfNeeded (DtTime tNow) |
| virtual | ~DtTickable () |
| virtual void | setIsThreadSafe (bool safe) |
| virtual bool | isThreadSafe () const |
| virtual void | setTickableListState (TickableListState safeList) |
| virtual TickableListState | tickableListState () const |
| virtual void | setUpdatePeriod (unsigned int period) |
| virtual unsigned int | updatePeriod () const |
| virtual bool | lodSystemEnabled () const |
Protected Member Functions | |
| DtTrackMonitor (DtDe &de, DtObserver &observer, DtChannel &channel, DtElementID &objectIdToMonitor) | |
| virtual void | slot_coordinateSystemChanged () |
Protected Member Functions inherited from makVrv::DtTickable | |
| DtTickable (DtTickableManagerInterface *manager) | |
| DtTickable () | |
| virtual void | slot_managerAboutToBeDeleted () |
Protected Attributes | |
| DtDe & | myDe |
| DtObserver * | myObserver |
| DtChannel * | myChannel |
| DtWindowPolygonAgent * | myTrackBoxWindowPolygon |
| bool | myTrackIsActive |
| bool | myTrackBoxOn |
| unsigned int | myGateXSize |
| unsigned int | myGateYSize |
| DtVector | myTrackedObjectPosition |
| DtElementID | myObjectIdToMonitor |
| DtSignalConnectionManager | myConnections |
| DtCoordinateSystem * | myCoordinateSystem = nullptr |
Protected Attributes inherited from makVrv::DtTickable | |
| DtTickableManagerInterface * | myManager |
| DtSignalConnectionManager | myConnections |
| unsigned int | myFrameCounter |
| unsigned int | myFrameToUpdate |
| unsigned int | myUpdatePeriod |
| DtTime | myLastUpdateTime |
| bool | myIsThreadSafe |
| TickableListState | myTickableListState |
Friends | |
| class | DtTrackMonitorCreator |
Additional Inherited Members | |
Public Types inherited from makVrv::DtTickable | |
| enum | TickableListState { TickableNotOnList, TickableOnMainList, TickableOnThreadSafeList } |
|
virtual |
DTOR.
|
protected |
CTOR.
|
virtual |
The update function called by DtTickableManager during update-ticks.
| [in] | tNow | is the current time-stamp. |
Implements makVrv::DtTickable.
Reimplemented in makVrv::DtLosTrackMonitor.
Determine if we need to call update this tick, returns myTrackIsActive if the track is not active, the monitor will not tick.
Reimplemented from makVrv::DtTickable.
|
virtual |
Gets the on screen gate position in radians from the viewing vector.
|
virtual |
Gets the entity position in db units.
|
virtual |
Gets the entity lat/lon/alt.
|
virtual |
Turns on a box around the tracked entity for debugging Also initialises the DtWindowPolygonAgent.
|
virtual |
Returns whether this monitor still has an active track.
|
virtual |
Get the element ID for the object this is monitoring.
|
virtual |
|
protectedvirtual |
slot for when the coordinate system changes
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
The XY Size of the entity on screen in pixels.
|
protected |
|
protected |
|
protected |
|
protected |
local clone of the system wide coordinate system. for thread safety.