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

DtMimicLocationTrackViewCommand enables mimic track on the named observer.

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

Public Member Functions

 DtMimicLocationTrackViewCommand ()
 
virtual ~DtMimicLocationTrackViewCommand ()
 
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::DtMimicLocationTrackViewCommand::DtMimicLocationTrackViewCommand ( )
virtual makVrv::DtMimicLocationTrackViewCommand::~DtMimicLocationTrackViewCommand ( )
virtual

Member Function Documentation

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

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

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

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

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

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

virtual void makVrv::DtMimicLocationTrackViewCommand::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::DtMimicLocationTrackViewCommand::attachedEntity ( ) const
virtual

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

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

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

virtual DtVector makVrv::DtMimicLocationTrackViewCommand::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::DtMimicLocationTrackViewCommand::setTrackedLocation ( const DtVector location)
virtual

Set the (database) location that will be tracked.

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

Execute the command.

Implements makVrv::DtVrvCommand.

Member Data Documentation

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

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)