VR-Forces 5.0.1 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::DtTetherLocationTrackViewCommand Class Reference

DtTetherLocationTrackViewCommand enables Tether track on the named observer.

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

Public Member Functions

 DtTetherLocationTrackViewCommand ()
 
virtual ~DtTetherLocationTrackViewCommand ()
 
virtual std::string observer ()
 
virtual void setObserver (const std::string &newObs)
 
virtual DtVector offset () const
 
virtual void setOffset (const DtVector &vec)
 
virtual DtUniqueID attachedEntity () const
 
virtual void setAttachedEntity (const DtUniqueID &entityId)
 
virtual DtVector trackedLocation () const
 
virtual void setTrackedLocation (const DtVector &location)
 
virtual void execute (DtDe &de)
 
- Public Member Functions inherited from makVrv::DtVrvCommand
 DtVrvCommand ()
 
virtual ~DtVrvCommand ()
 
virtual
vrvControlToolkit::DtVrvControlTypeEnum 
commandType ()
 

Protected Attributes

std::string myObserver
 
DtVector myOffset
 
DtUniqueID myAttachedEntity
 
DtVector myTrackedLocation
 
- Protected Attributes inherited from makVrv::DtVrvCommand
vrvControlToolkit::DtVrvControlTypeEnum myCommandType
 

Constructor & Destructor Documentation

makVrv::DtTetherLocationTrackViewCommand::DtTetherLocationTrackViewCommand ( )
virtual makVrv::DtTetherLocationTrackViewCommand::~DtTetherLocationTrackViewCommand ( )
virtual

Member Function Documentation

virtual std::string makVrv::DtTetherLocationTrackViewCommand::observer ( )
virtual

Return the name of the observer that this command will control.

virtual void makVrv::DtTetherLocationTrackViewCommand::setObserver ( const std::string &  newObs)
virtual

Set the name of the observer that this command will control.

virtual DtVector makVrv::DtTetherLocationTrackViewCommand::offset ( ) const
virtual

Get the location of the observer as an offset from the location of the attached-to entity.

virtual void makVrv::DtTetherLocationTrackViewCommand::setOffset ( const DtVector vec)
virtual

Specify the location of the observer as an offset from the location of the attached-to entity. The offset is specified in the body coordinate system of the attached-to object.

virtual DtUniqueID makVrv::DtTetherLocationTrackViewCommand::attachedEntity ( ) const
virtual

Get the element ID of the entity that the observer will be attached to.

virtual void makVrv::DtTetherLocationTrackViewCommand::setAttachedEntity ( const DtUniqueID entityId)
virtual

Specify the element ID of the entity that will be attached to.

virtual DtVector makVrv::DtTetherLocationTrackViewCommand::trackedLocation ( ) const
virtual

Get the (database) location that will be tracked. Tracking a location means that the observer's orientation will be set to face the tracked location.

virtual void makVrv::DtTetherLocationTrackViewCommand::setTrackedLocation ( const DtVector location)
virtual

Set the (database) location that will be tracked.

virtual void makVrv::DtTetherLocationTrackViewCommand::execute ( DtDe de)
virtual

Execute the command.

Implements makVrv::DtVrvCommand.

Member Data Documentation

std::string makVrv::DtTetherLocationTrackViewCommand::myObserver
protected
DtVector makVrv::DtTetherLocationTrackViewCommand::myOffset
protected
DtUniqueID makVrv::DtTetherLocationTrackViewCommand::myAttachedEntity
protected
DtVector makVrv::DtTetherLocationTrackViewCommand::myTrackedLocation
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)