![]() |
VR-Forces 4.10 Class Documentation
|
Base class for objects that identify entities that can be tracked on screen or in the scene. More...

Classes | |
| struct | DtByAngleComparision |
| Used to std::sort a vector of DtTrackableEntities Sorts from 1 -> 0, first element will be the closest to the observers front vector. More... | |
| struct | DtTrackableEntity |
| A struct for storing dot product values from observer front vector to entities within the scene, using a struct as we only need to compare the first value, rather than both in a pair. More... | |
Public Types | |
| typedef std::vector < DtTrackableEntity > | DtTrackableEntities |
| Typedef vector for holding scene objects that are within a FOV. More... | |
Public Member Functions | |
| virtual | ~DtTrackAcquirer () |
| Virtual DTOR. More... | |
| virtual bool | initiateTrack () |
| Initiates the track acquirer. More... | |
| virtual const DtElementID | identifiedTrackableObjectId () const |
| Get the unique ID for the object that has been identified for tracking, returns -1 if this has not been set. More... | |
| virtual void | setTrackAcquisitionBox (DtTrackAcquisitionBox &box) |
| Get/ Set the acquisition box. More... | |
| virtual const DtTrackAcquisitionBox & | trackAcquisitionBox () const |
| virtual DtTrackAcquisitionBox & | trackAcquisitionBox () |
| virtual DtTrackableEntities & | trackableEntities () |
| Get / Set trackable entities. More... | |
| virtual const DtTrackableEntities & | trackableEntities () const |
| virtual void | setTrackAbleEntities (const DtTrackableEntities &entities) |
Protected Member Functions | |
| DtTrackAcquirer (DtDe &de, DtObserver &observer, DtChannel &acquisitionChannel) | |
| CTOR. More... | |
Protected Attributes | |
| DtDe & | myDe |
| DtTrackableEntities | myTrackableEntities |
| DtTrackAcquisitionBox * | myAcquisitionBox |
| DtChannel * | myAcquisitionChannel |
| DtObserver * | myObserver |
| DtElementID | myObjectIdToTrack |
Private Member Functions | |
| DtTrackAcquirer (const DtTrackAcquirer &orig) | |
| Unimplemented CCTOR. More... | |
| DtTrackAcquirer & | operator= (const DtTrackAcquirer &rhs) |
| Unimplemented Assignment CTOR. More... | |
Friends | |
| class | DtTrackAcquirerCreator |
Base class for objects that identify entities that can be tracked on screen or in the scene.
Any class inheriting from this class must implement initiateTrack(), see DtLosTrackAcquirer for an example. initiateTrack() should identify and populate the DtTrackableEntities vector with entities that are within the acquisition box that is set on this object. initiateTrack() should then decide which entity from DtTrackableEntities to track. This is normally the entity closest to the centre of the acquisition box. This entity's ID is then set to the myObjectIdToTrack variable. Track acquirers are not intended to continuously check whether the identified entity is still within the acqusition box, one must pass myObjectIdToTrack into, and use a DtTrackMonitor.
| typedef std::vector<DtTrackableEntity> makVrv::DtTrackAcquirer::DtTrackableEntities |
Typedef vector for holding scene objects that are within a FOV.
|
virtual |
Virtual DTOR.
|
protected |
CTOR.
|
private |
Unimplemented CCTOR.
|
virtual |
Initiates the track acquirer.
Override in specific acquirers. Should return true if a track is initialised. This method creates an acquisition box with default values if one has not been added to this class before init'ed a track
Reimplemented in makVrv::DtLosTrackAcquirer.
|
virtual |
Get/ Set the acquisition box.
|
virtual |
|
virtual |
|
virtual |
Get / Set trackable entities.
|
virtual |
|
virtual |
|
virtual |
Get the unique ID for the object that has been identified for tracking, returns -1 if this has not been set.
|
private |
Unimplemented Assignment CTOR.
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |