![]() |
VR-Forces 4.0.4 Class Documentation
|
DtTrackViewCommand enables or disables tracks. More...

Public Member Functions | |
| DtTrackViewCommand () | |
| CTOR. | |
| virtual | ~DtTrackViewCommand () |
| DTOR. | |
| virtual std::string | observer () |
| Return the name of the observer that this command will control. | |
| virtual void | setObserver (const std::string &newObs) |
| Set the name of the observer that this command will control. | |
| virtual DtVector | worldPosition () |
| Get the positin the observer will be set to, in WGS84 geocentric coordinates. | |
| virtual void | setWorldPosition (const DtVector &vec) |
| Set the position the observer will be set to, in WGS84 geocentric coordinates. | |
| virtual DtUniqueID | trackedEntity () const |
| Get the element ID of the entity that will be tracked. | |
| virtual void | setTrackedEntity (const DtUniqueID &entityElementID) |
| Set the element ID of the entity that will be tracked. | |
| virtual void | execute (DtDe &de) |
| Execute the command. | |
Protected Attributes | |
| std::string | myObserver |
| DtUniqueID | myTrackedEntity |
| DtVector | myWorldPos |
DtTrackViewCommand enables or disables tracks.
| virtual makVrv::DtTrackViewCommand::~DtTrackViewCommand | ( | ) | [virtual] |
DTOR.
| virtual std::string makVrv::DtTrackViewCommand::observer | ( | ) | [virtual] |
Return the name of the observer that this command will control.
| virtual void makVrv::DtTrackViewCommand::setObserver | ( | const std::string & | newObs | ) | [virtual] |
Set the name of the observer that this command will control.
| virtual DtVector makVrv::DtTrackViewCommand::worldPosition | ( | ) | [virtual] |
Get the positin the observer will be set to, in WGS84 geocentric coordinates.
| virtual void makVrv::DtTrackViewCommand::setWorldPosition | ( | const DtVector & | vec | ) | [virtual] |
Set the position the observer will be set to, in WGS84 geocentric coordinates.
| virtual DtUniqueID makVrv::DtTrackViewCommand::trackedEntity | ( | ) | const [virtual] |
Get the element ID of the entity that will be tracked.
Tracking an entity means that the observer's orientation will be set to face the tracked entity
| virtual void makVrv::DtTrackViewCommand::setTrackedEntity | ( | const DtUniqueID & | entityElementID | ) | [virtual] |
Set the element ID of the entity that will be tracked.
| virtual void makVrv::DtTrackViewCommand::execute | ( | DtDe & | de | ) | [virtual] |
Execute the command.
Implements makVrv::DtVrvCommand.
std::string makVrv::DtTrackViewCommand::myObserver [protected] |
DtVector makVrv::DtTrackViewCommand::myWorldPos [protected] |