VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtTrackViewCommand Class Reference

DtTrackViewCommand enables or disables tracks.

Inheritance diagram for makVrv::DtTrackViewCommand:
Inheritance graph
[legend]

Public Member Functions

 DtTrackViewCommand ()
 
virtual ~DtTrackViewCommand ()
 
virtual std::string observer ()
 
virtual void setObserver (const std::string &newObs)
 
virtual DtVector worldPosition ()
 
virtual void setWorldPosition (const DtVector &vec)
 
virtual DtUniqueID trackedEntity () const
 
virtual void setTrackedEntity (const DtUniqueID &entityElementID)
 
virtual void execute (DtDe &de)
 
- Public Member Functions inherited from makVrv::DtVrvCommand
 DtVrvCommand ()
 
virtual ~DtVrvCommand ()
 
virtual
vrvControlToolkit::DtVrvControlTypeEnum 
commandType ()
 

Protected Attributes

std::string myObserver
 
DtUniqueID myTrackedEntity
 
DtVector myWorldPos
 
- Protected Attributes inherited from makVrv::DtVrvCommand
vrvControlToolkit::DtVrvControlTypeEnum myCommandType
 

Constructor & Destructor Documentation

makVrv::DtTrackViewCommand::DtTrackViewCommand ( )

CTOR.

virtual makVrv::DtTrackViewCommand::~DtTrackViewCommand ( )
virtual

DTOR.

Member Function Documentation

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.

Member Data Documentation

std::string makVrv::DtTrackViewCommand::myObserver
protected
DtUniqueID makVrv::DtTrackViewCommand::myTrackedEntity
protected
DtVector makVrv::DtTrackViewCommand::myWorldPos
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)