![]() |
VR-Forces 4.5 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) |
| virtual double | minLinearSpeed () const |
| Get and set the minimum linear speed. | |
| virtual void | setMinLinearSpeed (double speed) |
| virtual double | maxLinearSpeed () const |
| Get and set the maximum linear speed. | |
| virtual void | setMaxLinearSpeed (double speed) |
| virtual double | linearSpeed () const |
| Get and set the starting linear speed. | |
| virtual void | setLinearSpeed (double speed) |
| virtual double | minRotationSpeed () const |
| Get and set the minimum rotation speed. | |
| virtual void | setMinRotationSpeed (double speed) |
| virtual double | maxRotationSpeed () const |
| Get and set the maximum rotation speed. | |
| virtual void | setMaxRotationSpeed (double speed) |
| virtual double | rotationSpeed () const |
| Get and set the starting rotation speed. | |
| virtual void | setRotationSpeed (double speed) |
| virtual double | minOrbitSpeed () const |
| Get and set the minimum orbit speed. | |
| virtual void | setMinOrbitSpeed (double speed) |
| virtual double | maxOrbitSpeed () const |
| Get and set the maximum orbit speed. | |
| virtual void | setMaxOrbitSpeed (double speed) |
| virtual double | orbitSpeed () const |
| Get and set the starting orbit speed. | |
| virtual void | setOrbitSpeed (double 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) |
| 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) |
| 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) |
| 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) |
Public Member Functions inherited from makVrv::DtConfiguration | |
| DtConfiguration (const std::string &name="") | |
| CTOR. | |
| DtConfiguration (const DtConfiguration &) | |
| Copy CTOR. | |
| DtConfiguration & | operator= (const DtConfiguration &) |
| Assignment OP. | |
| virtual | ~DtConfiguration () |
| DTOR. | |
| virtual const std::string & | name () const |
| Get the configuration name. | |
| virtual void | setName (const std::string &name) |
| Set the configuration name. | |
| virtual const std::string * | findOptionalParameter (const std::string &name) const |
| Find an optional parameters. | |
| virtual void | setOptionalParameter (const std::string &name, const std::string &value) |
| Set an optional parameter. | |
| virtual void | setOptionalParameters (const ParameterMap &) |
| Set an optional parameters. | |
| virtual void | removeOptionalParameter (const std::string &name) |
| Remove an optional parameter. | |
| const ParameterMap & | optionalParameters () const |
| Get the optional parameters. | |
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 |
Protected Attributes inherited from makVrv::DtConfiguration | |
| std::string | myName |
| ParameterMap | myOptionalParameters |
| DtProxyWP | myAttachedInterface |
Additional Inherited Members | |
Public Types inherited from makVrv::DtConfiguration | |
| typedef std::map< std::string, std::string > | ParameterMap |
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.
| makVrv::DtObserverConfiguration::DtObserverConfiguration | ( | const DtObserverConfiguration & | ) |
Copy CTOR.
|
virtual |
DTOR.
| DtObserverConfiguration& makVrv::DtObserverConfiguration::operator= | ( | const DtObserverConfiguration & | ) |
Assignment operator.
|
virtual |
Get and set the default mode name.
|
virtual |
|
virtual |
Get and set the minimum linear speed.
|
virtual |
|
virtual |
Get and set the maximum linear speed.
|
virtual |
|
virtual |
Get and set the starting linear speed.
|
virtual |
|
virtual |
Get and set the minimum rotation speed.
|
virtual |
|
virtual |
Get and set the maximum rotation speed.
|
virtual |
|
virtual |
Get and set the starting rotation speed.
|
virtual |
|
virtual |
Get and set the minimum orbit speed.
|
virtual |
|
virtual |
Get and set the maximum orbit speed.
|
virtual |
|
virtual |
Get and set the starting orbit speed.
|
virtual |
|
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 |
|
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 |
|
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 |
|
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 |
|
inlineprotected |
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.
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |