![]() |
VR-Forces 4.0.4 Class Documentation
|
TODO: This class is used to encapsulate a set of default observer settings and parameters. More...

Public Member Functions | |
| DtObserverConfiguration (const std::string &name="") | |
| CTOR The default Observer configuration. | |
| DtObserverConfiguration (const DtObserverConfiguration &) | |
| Copy CTOR. | |
| DtObserverConfiguration & | operator= (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 |
TODO: This class is used to encapsulate a set of default observer settings and parameters.
| makVrv::DtObserverConfiguration::DtObserverConfiguration | ( | const std::string & | name = "" | ) |
CTOR The default Observer configuration.
Copy CTOR.
| virtual makVrv::DtObserverConfiguration::~DtObserverConfiguration | ( | ) | [virtual] |
DTOR.
| 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.
| 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.
const char* makVrv::DtObserverConfiguration::ObserverConfigurationString [static] |
std::string makVrv::DtObserverConfiguration::myDefaultMode [protected] |
int makVrv::DtObserverConfiguration::myOrbitSpeedGain [protected] |
int makVrv::DtObserverConfiguration::myLinearScaledSpeedGain [protected] |
int makVrv::DtObserverConfiguration::myLinearUnscaledSpeedGain [protected] |
int makVrv::DtObserverConfiguration::myRotationSpeedGain [protected] |
int makVrv::DtObserverConfiguration::myGainPrecision [protected] |
double makVrv::DtObserverConfiguration::myMinLinearSpeed [protected] |
double makVrv::DtObserverConfiguration::myMaxLinearSpeed [protected] |
double makVrv::DtObserverConfiguration::myLinearSpeed [protected] |
double makVrv::DtObserverConfiguration::myMinRotationSpeed [protected] |
double makVrv::DtObserverConfiguration::myMaxRotationSpeed [protected] |
double makVrv::DtObserverConfiguration::myRotationSpeed [protected] |
double makVrv::DtObserverConfiguration::myMinOrbitSpeed [protected] |
double makVrv::DtObserverConfiguration::myMaxOrbitSpeed [protected] |
double makVrv::DtObserverConfiguration::myOrbitSpeed [protected] |
double makVrv::DtObserverConfiguration::mySceneCenterOffsetX [protected] |
double makVrv::DtObserverConfiguration::mySceneCenterOffsetY [protected] |
double makVrv::DtObserverConfiguration::mySceneCenterOffsetZ [protected] |
std::string makVrv::DtObserverConfiguration::myObserverMode [protected] |