![]() |
VR-Forces 4.3 Class Documentation
|
DtObserverMode is the class used to represent a single Visual Mode Visual Modes may be saved and restored via the makArchives DtObserverModesRecordEntry and DtObserverModesRecord classes and. More...
Public Member Functions | |
| DtObserverMode () | |
| default constructor; not normally called by users (use DtObserverModeManager::createObserverMode) | |
| DtObserverMode (const DtObserverMode &orig) | |
| Copy constructor. | |
| virtual | ~DtObserverMode () |
| DTOR. | |
| DtObserverMode & | operator= (const DtObserverMode &orig) |
| Assignment operator. | |
| void | setIntKey (int intKey) |
| Set the ID assigned to this visual mode. | |
| int | intKey () const |
| Get the ID assigned to this visual mode. | |
| void | setName (const std::string &name) |
| Set the display name of the visual mode. | |
| const std::string & | name () const |
| Get the display name of the visual mode. | |
| void | setIs2D (bool trueOrFalse) |
| Set if this visual mode is a 2D (plan view) mode If false, the mode is for 3D use. | |
| bool | is2D () const |
| Get if this visual mode is a 2D (plan view) mode. | |
| void | setModelSet (int modelSet) |
| Set the model set used for this visual mode. | |
| int | modelSet () const |
| Get the model set used for this visual mode. | |
| void | setKeyMap (const std::string &keyMap) |
| Set the key map used for this mode. | |
| const std::string & | keyMap () const |
| Get the key map used for this mode. | |
| void | setObserverSetting (int settingKey, bool value) |
| Set an observer setting. | |
| bool | observerSetting (int settingKey) const |
| Get an observer setting. | |
| void | getRecord (DtDe &de, makArchives::DtObserverModeRecord &record) const |
| Get a record from this visual mode. | |
| void | setFromRecord (DtDe &de, const makArchives::DtObserverModeRecord &record) |
| Set from a visual mode entry record. | |
| virtual int | gainPrecision () const |
| Get and set the default gain precision. | |
| virtual void | setGainPrecision (int amt) |
| Get and set the default gain precision. | |
| virtual const std::string & | sensor () const |
| Get and set the active sensor by name. | |
| virtual void | setSensor (const std::string &sensorName) |
| Get and set the active sensor by name. | |
| virtual int | orbitSpeedGain () const |
| Get and set the default orbit speed gain. | |
| virtual void | setOrbitSpeedGain (int gain) |
| Get and set the default orbit speed gain. | |
| virtual int | linearScaledSpeedGain () const |
| Get and set the default linear scaled speed gain. | |
| virtual void | setLinearScaledSpeedGain (int gain) |
| Get and set the default linear scaled speed gain. | |
| virtual int | linearUnscaledSpeedGain () const |
| Get and set the default linear unscaled speed gain. | |
| virtual void | setLinearUnscaledSpeedGain (int gain) |
| Get and set the default linear unscaled speed gain. | |
| virtual int | rotationSpeedGain () const |
| Get and set the default rotation speed gain. | |
| virtual void | setRotationSpeedGain (int gain) |
| Get and set the default rotation speed gain. | |
| virtual double | modelScaleFactor () const |
| Get and set the model scale factor. | |
| virtual void | setModelScaleFactor (double modelScaleFactor) |
| Get and set the model scale factor. | |
| DtObserverObject::ScaleType | modelScaleType () const |
| Get and set the model scale type. | |
| void | setModelScaleType (DtObserverObject::ScaleType modelScaleFactor) |
| Get and set the model scale type. | |
| double | maxModelScaleFactor () const |
| Get and set the max model scale factor. | |
| void | setMaxModelScaleFactor (double maxModelScaleFactor) |
| Get and set the max model scale factor. | |
Protected Types | |
| typedef std::map< int, bool > | ObserverSettingsMap |
Protected Member Functions | |
| DtObserverMode (int intKey) | |
| CTOR. | |
Protected Attributes | |
| int | myIntKey |
| std::string | myName |
| std::string | mySensor |
| int | myModelSet |
| bool | myIs2D |
| std::string | myKeyMap |
| int | myOrbitSpeedGain |
| int | myLinearScaledSpeedGain |
| int | myLinearUnscaledSpeedGain |
| int | myRotationSpeedGain |
| int | myGainPrecision |
| double | myModelScaleFactor |
| DtObserverObject::ScaleType | myModelScaleType |
| double | myMaxModelScaleFactor |
| ObserverSettingsMap | myObserverSettings |
DtObserverMode is the class used to represent a single Visual Mode Visual Modes may be saved and restored via the makArchives DtObserverModesRecordEntry and DtObserverModesRecord classes and.
|
protected |
| makVrv::DtObserverMode::DtObserverMode | ( | ) |
default constructor; not normally called by users (use DtObserverModeManager::createObserverMode)
| makVrv::DtObserverMode::DtObserverMode | ( | const DtObserverMode & | orig | ) |
Copy constructor.
|
virtual |
DTOR.
|
protected |
CTOR.
| DtObserverMode& makVrv::DtObserverMode::operator= | ( | const DtObserverMode & | orig | ) |
Assignment operator.
| void makVrv::DtObserverMode::setIntKey | ( | int | intKey | ) |
Set the ID assigned to this visual mode.
This will be used to look up the mode in the DtObserverModeManager, as well as the handle for setting the observer's visual mode
| int makVrv::DtObserverMode::intKey | ( | ) | const |
Get the ID assigned to this visual mode.
| void makVrv::DtObserverMode::setName | ( | const std::string & | name | ) |
Set the display name of the visual mode.
| const std::string& makVrv::DtObserverMode::name | ( | ) | const |
Get the display name of the visual mode.
| void makVrv::DtObserverMode::setIs2D | ( | bool | trueOrFalse | ) |
Set if this visual mode is a 2D (plan view) mode If false, the mode is for 3D use.
| bool makVrv::DtObserverMode::is2D | ( | ) | const |
Get if this visual mode is a 2D (plan view) mode.
| void makVrv::DtObserverMode::setModelSet | ( | int | modelSet | ) |
Set the model set used for this visual mode.
| int makVrv::DtObserverMode::modelSet | ( | ) | const |
Get the model set used for this visual mode.
| void makVrv::DtObserverMode::setKeyMap | ( | const std::string & | keyMap | ) |
Set the key map used for this mode.
| const std::string& makVrv::DtObserverMode::keyMap | ( | ) | const |
Get the key map used for this mode.
|
virtual |
Get and set the default gain precision.
|
virtual |
Get and set the default gain precision.
|
virtual |
Get and set the active sensor by name.
|
virtual |
Get and set the active sensor by name.
|
virtual |
Get and set the default orbit speed gain.
|
virtual |
Get and set the default orbit speed gain.
|
virtual |
Get and set the default linear scaled speed gain.
|
virtual |
Get and set the default linear scaled speed gain.
|
virtual |
Get and set the default linear unscaled speed gain.
|
virtual |
Get and set the default linear unscaled speed gain.
|
virtual |
Get and set the default rotation speed gain.
|
virtual |
Get and set the default rotation speed gain.
|
virtual |
Get and set the model scale factor.
|
virtual |
Get and set the model scale factor.
| DtObserverObject::ScaleType makVrv::DtObserverMode::modelScaleType | ( | ) | const |
Get and set the model scale type.
| void makVrv::DtObserverMode::setModelScaleType | ( | DtObserverObject::ScaleType | modelScaleFactor | ) |
Get and set the model scale type.
| double makVrv::DtObserverMode::maxModelScaleFactor | ( | ) | const |
Get and set the max model scale factor.
| void makVrv::DtObserverMode::setMaxModelScaleFactor | ( | double | maxModelScaleFactor | ) |
Get and set the max model scale factor.
Set an observer setting.
| void makVrv::DtObserverMode::getRecord | ( | DtDe & | de, |
| makArchives::DtObserverModeRecord & | record | ||
| ) | const |
Get a record from this visual mode.
| void makVrv::DtObserverMode::setFromRecord | ( | DtDe & | de, |
| const makArchives::DtObserverModeRecord & | record | ||
| ) |
Set from a visual mode entry record.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |