VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
makVrv::DtObserverConfiguration Class Reference

TODO: This class is used to encapsulate a set of default observer settings and parameters. More...

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

List of all members.

Public Member Functions

 DtObserverConfiguration (const std::string &name="")
 CTOR The default Observer configuration.
 DtObserverConfiguration (const DtObserverConfiguration &)
 Copy CTOR.
DtObserverConfigurationoperator= (const DtObserverConfiguration &)
 Assignment operator.
virtual ~DtObserverConfiguration ()
 DTOR.
virtual const std::string & defaultMode () const
 Get and set the default mode name.
virtual void setDefaultMode (const std::string &defaultMode)
 Get and set the default mode name.
virtual double minLinearSpeed () const
 Get and set the minimum linear speed.
virtual void setMinLinearSpeed (double speed)
 Get and set the minimum linear speed.
virtual double maxLinearSpeed () const
 Get and set the maximum linear speed.
virtual void setMaxLinearSpeed (double speed)
 Get and set the maximum linear speed.
virtual double linearSpeed () const
 Get and set the starting linear speed.
virtual void setLinearSpeed (double speed)
 Get and set the starting linear speed.
virtual double minRotationSpeed () const
 Get and set the minimum rotation speed.
virtual void setMinRotationSpeed (double speed)
 Get and set the minimum rotation speed.
virtual double maxRotationSpeed () const
 Get and set the maximum rotation speed.
virtual void setMaxRotationSpeed (double speed)
 Get and set the maximum rotation speed.
virtual double rotationSpeed () const
 Get and set the starting rotation speed.
virtual void setRotationSpeed (double speed)
 Get and set the starting rotation speed.
virtual double minOrbitSpeed () const
 Get and set the minimum orbit speed.
virtual void setMinOrbitSpeed (double speed)
 Get and set the minimum orbit speed.
virtual double maxOrbitSpeed () const
 Get and set the maximum orbit speed.
virtual void setMaxOrbitSpeed (double speed)
 Get and set the maximum orbit speed.
virtual double orbitSpeed () const
 Get and set the starting orbit speed.
virtual void setOrbitSpeed (double speed)
 Get and set the starting orbit speed.
virtual double sceneCenterOffsetX () const
 Get and set the scene center X offset This offset is applied to the center of the database when the gotoSceneCenter() command is issued.
virtual void setSceneCenterOffsetX (double offset)
 Get and set the scene center X offset This offset is applied to the center of the database when the gotoSceneCenter() command is issued.
virtual double sceneCenterOffsetY () const
 Get and set the scene center Y offset This offset is applied to the center of the database when the gotoSceneCenter() command is issued.
virtual void setSceneCenterOffsetY (double offset)
 Get and set the scene center Y offset This offset is applied to the center of the database when the gotoSceneCenter() command is issued.
virtual double sceneCenterOffsetZ () const
 Get and set the scene center Z offset This offset is applied to the center of the database when the gotoSceneCenter() command is issued.
virtual void setSceneCenterOffsetZ (double offset)
 Get and set the scene center Z offset This offset is applied to the center of the database when the gotoSceneCenter() command is issued.
virtual const std::string & observerMode () const
 Get and set the observer mode The observer mode determines if the observer is in 2D or 3D, the model set used, key map, etc.
virtual void setObserverMode (const std::string &observerMode)
 Get and set the observer mode The observer mode determines if the observer is in 2D or 3D, the model set used, key map, etc.

Static Public Attributes

static const char * ObserverConfigurationString

Protected Member Functions

template<class Archive >
void _serialize (Archive &ar, const unsigned int version)
 Declare serialize functions Call via serialize(Archive ar, unsigned int version); Where Archive can be any of : xml_oarchive,xml_iarchive,binary_oarchive binary_iarchive,text_oarchive, or text_iarchive.

Protected Attributes

std::string myDefaultMode
int myOrbitSpeedGain
int myLinearScaledSpeedGain
int myLinearUnscaledSpeedGain
int myRotationSpeedGain
int myGainPrecision
double myMinLinearSpeed
double myMaxLinearSpeed
double myLinearSpeed
double myMinRotationSpeed
double myMaxRotationSpeed
double myRotationSpeed
double myMinOrbitSpeed
double myMaxOrbitSpeed
double myOrbitSpeed
double mySceneCenterOffsetX
double mySceneCenterOffsetY
double mySceneCenterOffsetZ
std::string myObserverMode

Detailed Description

TODO: This class is used to encapsulate a set of default observer settings and parameters.

Examples

Constructor & Destructor Documentation

CTOR The default Observer configuration.

Copy CTOR.

DTOR.


Member Function Documentation

DtObserverConfiguration& makVrv::DtObserverConfiguration::operator= ( const DtObserverConfiguration )

Assignment operator.

virtual const std::string& makVrv::DtObserverConfiguration::defaultMode ( ) const [virtual]

Get and set the default mode name.

virtual void makVrv::DtObserverConfiguration::setDefaultMode ( const std::string &  defaultMode) [virtual]

Get and set the default mode name.

virtual double makVrv::DtObserverConfiguration::minLinearSpeed ( ) const [virtual]

Get and set the minimum linear speed.

virtual void makVrv::DtObserverConfiguration::setMinLinearSpeed ( double  speed) [virtual]

Get and set the minimum linear speed.

virtual double makVrv::DtObserverConfiguration::maxLinearSpeed ( ) const [virtual]

Get and set the maximum linear speed.

virtual void makVrv::DtObserverConfiguration::setMaxLinearSpeed ( double  speed) [virtual]

Get and set the maximum linear speed.

virtual double makVrv::DtObserverConfiguration::linearSpeed ( ) const [virtual]

Get and set the starting linear speed.

virtual void makVrv::DtObserverConfiguration::setLinearSpeed ( double  speed) [virtual]

Get and set the starting linear speed.

virtual double makVrv::DtObserverConfiguration::minRotationSpeed ( ) const [virtual]

Get and set the minimum rotation speed.

virtual void makVrv::DtObserverConfiguration::setMinRotationSpeed ( double  speed) [virtual]

Get and set the minimum rotation speed.

virtual double makVrv::DtObserverConfiguration::maxRotationSpeed ( ) const [virtual]

Get and set the maximum rotation speed.

virtual void makVrv::DtObserverConfiguration::setMaxRotationSpeed ( double  speed) [virtual]

Get and set the maximum rotation speed.

virtual double makVrv::DtObserverConfiguration::rotationSpeed ( ) const [virtual]

Get and set the starting rotation speed.

virtual void makVrv::DtObserverConfiguration::setRotationSpeed ( double  speed) [virtual]

Get and set the starting rotation speed.

virtual double makVrv::DtObserverConfiguration::minOrbitSpeed ( ) const [virtual]

Get and set the minimum orbit speed.

virtual void makVrv::DtObserverConfiguration::setMinOrbitSpeed ( double  speed) [virtual]

Get and set the minimum orbit speed.

virtual double makVrv::DtObserverConfiguration::maxOrbitSpeed ( ) const [virtual]

Get and set the maximum orbit speed.

virtual void makVrv::DtObserverConfiguration::setMaxOrbitSpeed ( double  speed) [virtual]

Get and set the maximum orbit speed.

virtual double makVrv::DtObserverConfiguration::orbitSpeed ( ) const [virtual]

Get and set the starting orbit speed.

virtual void makVrv::DtObserverConfiguration::setOrbitSpeed ( double  speed) [virtual]

Get and set the starting orbit speed.

virtual double makVrv::DtObserverConfiguration::sceneCenterOffsetX ( ) const [virtual]

Get and set the scene center X offset This offset is applied to the center of the database when the gotoSceneCenter() command is issued.

virtual void makVrv::DtObserverConfiguration::setSceneCenterOffsetX ( double  offset) [virtual]

Get and set the scene center X offset This offset is applied to the center of the database when the gotoSceneCenter() command is issued.

virtual double makVrv::DtObserverConfiguration::sceneCenterOffsetY ( ) const [virtual]

Get and set the scene center Y offset This offset is applied to the center of the database when the gotoSceneCenter() command is issued.

virtual void makVrv::DtObserverConfiguration::setSceneCenterOffsetY ( double  offset) [virtual]

Get and set the scene center Y offset This offset is applied to the center of the database when the gotoSceneCenter() command is issued.

virtual double makVrv::DtObserverConfiguration::sceneCenterOffsetZ ( ) const [virtual]

Get and set the scene center Z offset This offset is applied to the center of the database when the gotoSceneCenter() command is issued.

virtual void makVrv::DtObserverConfiguration::setSceneCenterOffsetZ ( double  offset) [virtual]

Get and set the scene center Z offset This offset is applied to the center of the database when the gotoSceneCenter() command is issued.

virtual const std::string& makVrv::DtObserverConfiguration::observerMode ( ) const [virtual]

Get and set the observer mode The observer mode determines if the observer is in 2D or 3D, the model set used, key map, etc.

virtual void makVrv::DtObserverConfiguration::setObserverMode ( const std::string &  observerMode) [virtual]

Get and set the observer mode The observer mode determines if the observer is in 2D or 3D, the model set used, key map, etc.

template<class Archive >
void makVrv::DtObserverConfiguration::_serialize ( Archive &  ar,
const unsigned int  version 
) [inline, protected]

Declare serialize functions Call via serialize(Archive ar, unsigned int version); Where Archive can be any of : xml_oarchive,xml_iarchive,binary_oarchive binary_iarchive,text_oarchive, or text_iarchive.

Reimplemented from makVrv::DtConfiguration.

References DT_SERIALIZE_BASE, and DT_SERIALIZE_MEMBER.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)