![]() |
VR-Forces Development_Version Class Documentation
|
A dialog for editing ObserverModes. More...

Public Member Functions | |
| DtObserverSettingsPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=0) | |
| CTOR. | |
| virtual | ~DtObserverSettingsPage () |
| DTOR. | |
| virtual QIcon | icon () |
| Get the icon of the page. | |
| virtual QString | title () |
| Get the title of the page. | |
| virtual const std::string & | pageClassName () const |
| Get the class name of the page. | |
| virtual int | currentObserverIndex () const |
| Get the current observer index, if there are no observer instances this function returns -1. | |
| virtual std::string | currentObserverName () const |
| Get the current observer instance name. | |
| virtual int | findObserverInstanceIndex (const std::string &instanceName) |
| Find the index for an observer instance name. | |
| virtual void | setObserverInstanceNames (const std::list< std::string > &instanceNames) |
| Set the current observer instance names. | |
| virtual void | setCurrentObserverIndex (int i) |
| Set the current observer instance by index. | |
| virtual void | setCurrentObserverInstanceName (const std::string &instanceName) |
| Uses find instance index to set the current index by name. | |
| virtual void | addObserverInstance (const DtUnicode &name, int index=-1) |
| Adds a new observer instance. | |
| virtual void | removeObserverInstance (int i) |
| Removes the observer instance at i. | |
| virtual void | setDeleteObserverEnabled (bool enabled) |
| enable/disable observer deletion | |
| virtual int | currentObserverModeIndex () const |
| Get the current index, if there are no instances this function returns -1. | |
| virtual std::string | currentObserverModeName () const |
| Get the current instance name. | |
| virtual int | findObserverModeInstanceIndex (const std::string &instanceName) |
| Find the index for an instance name. | |
| virtual void | setObserverModeInstanceNames (const std::list< std::string > &instanceNames) |
| Set the current instance names. | |
| virtual void | setCurrentObserverModeIndex (int i) |
| Set the current instance by index. | |
| virtual void | setCurrentObserverModeInstanceName (const std::string &instanceName) |
| Uses find instance index to set the current index by name. | |
| virtual void | addObserverModeInstance (std::string name, int index=-1) |
| Adds a new instance. | |
| virtual void | removeObserverModeInstance (int i) |
| Removes the instance at i. | |
| virtual void | observerCreateRequestFailed (const std::string &observerName) |
| virtual void | addModelSet (int modelSet, const DtUnicode &displayName) |
| virtual void | setCurrentProjection (const std::string &projectionName) |
| virtual void | setCurrentModelSet (int modelSet) |
| virtual void | addProjection (const std::string &displayName) |
| virtual void | setCurrentSensorMode (const std::string &sensorName) |
| virtual void | addSensorMode (const std::string &sensorName) |
| virtual void | removeSensorMode (const std::string &sensorName) |
| virtual void | renameSensorMode (const std::string &oldName, const std::string &newName) |
| virtual void | enableSensorMode (bool enable) |
| virtual void | addKeyMap (const std::string &displayName) |
| virtual void | setCurrentKeyMap (const std::string &keyMapName) |
| virtual void | setOrbitSpeedGainSlider (int gain) |
| virtual void | setRotationSpeedGainSlider (int gain) |
| virtual void | setLinearSpeedGainSlider (int gain) |
| virtual void | setSliderGainPrecision (int precision) |
| virtual void | setModelScaleFactorSlider (int factor) |
| virtual void | enableModelScaleFactorSlider (bool enable) |
| virtual void | setModelScaleFactorSliderMaximum (int maximum) |
| virtual void | setModelScaleTypeSelector (DtObserverObject::ScaleType scaleType) |
| virtual void | enableModelScaleTypeSelector (bool enable) |
| virtual void | setMaxModelScaleFactorSpinBox (double maxScaleFactor) |
| virtual void | enableMaxModelScaleFactorSpinBox (bool enable) |
| virtual void | setSpeedScalingMode (DtObserverObject::SpeedScalingMode mode) |
| virtual void | setSpeedScalingMslModeOffset (double offset) |
| virtual void | setSpeedScalingMslModeOffsetRanges (double minRange, double maxRange) |
| virtual void | setDistanceUnitLabels (const DtUnicode &unitLabel) |
| virtual void | setDistanceDecimals (int decimals) |
| virtual void | setCameraShakeEnabled (bool enabled) |
| virtual void | setCameraShakeIntensity (float intensity) |
| virtual void | clearObserverSettings () |
| virtual void | addObserverSetting (int key, const DtUnicode &displayName) |
| virtual void | setObserverSetting (const DtUnicode &displayName, bool checked) |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| CTOR for page. | |
| virtual | ~DtPage () |
| DTOR for page. | |
Public Member Functions inherited from makVrv::DtObserverSettingsInterface | |
| virtual | ~DtObserverSettingsInterface () |
| DTOR. | |
Static Public Member Functions | |
| static const std::string & | thePageClassName () |
| Get the class name for the class. | |
Protected Slots | |
| virtual void | onModelSetChanged (int index) |
| virtual void | onKeyMapChanged (int index) |
| virtual void | onProjectionChanged (int index) |
| virtual void | onTreeItemChanged (QTreeWidgetItem *item, int column) |
| virtual void | onLinearSpeedGainSliderChanged (int value) |
| virtual void | onRotationSpeedGainSliderChanged (int value) |
| virtual void | onOrbitSpeedGainSliderChanged (int value) |
| virtual void | onModelScaleFactorSliderChanged (int value) |
| virtual void | onModelScaleTypeChanged (int index) |
| virtual void | onMaxModelScaleFactorSpinBoxChanged (double value) |
| virtual void | onSensorModeChanged (int index) |
| virtual void | onSpeedScalingMslRadioButtonClicked () |
| virtual void | onSpeedScalingAglRadioButtonClicked () |
| virtual void | onSpeedScalingMslModeOffsetSliderChanged (double value) |
| virtual void | onCameraShakeEnabledCheckBoxChanged (bool enabled) |
| virtual void | onCameraShakeIntensitySliderChanged (double value) |
Protected Member Functions | |
| void | setupGui () |
| Sets up the GUI. | |
| virtual void | activate () |
| Enable the contents in this page. | |
| virtual void | deactivate () |
| Disable the contents in this page. | |
| QString | askForObserverModeName (QString initial, const QString &title) |
| Dialog to ask for observer mode name. | |
| QString | askForObserverName (QString initial, const QString &title) |
| Dialog to ask for observer mode name. | |
| virtual void | onObserverChanged (int index, const std::string &observerName) |
| virtual void | onRenameObserverRequested () |
| virtual void | onNewObserverRequested () |
| virtual void | onDeleteObserverRequested () |
| virtual void | onObserverModeChanged (int index, const std::string &modeName) |
| virtual void | onRenameObserverModeRequested () |
| virtual void | onNewObserverModeRequested () |
| virtual void | onDeleteObserverModeRequested () |
A dialog for editing ObserverModes.
| makVrv::DtObserverSettingsPage::DtObserverSettingsPage | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Get the icon of the page.
Implements makVrv::DtPage.
|
virtual |
Get the title of the page.
Implements makVrv::DtPage.
|
virtual |
Get the class name of the page.
Implements makVrv::DtPage.
|
static |
Get the class name for the class.
|
virtual |
Get the current observer index, if there are no observer instances this function returns -1.
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Get the current observer instance name.
If there is no instances this function returns an empty string.
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Find the index for an observer instance name.
Returns -1 if the instance is invalid.
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Set the current observer instance names.
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Set the current observer instance by index.
If the index is out of range the current index will not change
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Uses find instance index to set the current index by name.
If the observer instance name does not exist this function will not change The index.
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Adds a new observer instance.
| Input | |
| name | is the name of the instance to display. |
| index | is the optional index of the instance, -1 means append to end. |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Removes the observer instance at i.
The current index will change based upon the following conditions: If # of instance = 0, current index -> -1 if current index was 0, current index -> 0 else, current index -> current index - 1
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
enable/disable observer deletion
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Get the current index, if there are no instances this function returns -1.
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Get the current instance name.
If there is no instances this function returns an empty string.
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Find the index for an instance name.
Returns -1 if the instance is invalid.
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Set the current instance names.
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Set the current instance by index.
If the index is out of range the current index will not change
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Uses find instance index to set the current index by name.
If the instance name does not exist this function will not change The index.
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Adds a new instance.
| Input | |
| name | is the name of the instance to display. |
| index | is the optional index of the instance, -1 means append to end. |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Removes the instance at i.
The current index will change based upon the following conditions: If # of instance = 0, current index -> -1 if current index was 0, current index -> 0 else, current index -> current index - 1
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Implements makVrv::DtObserverSettingsInterface.
|
protected |
Sets up the GUI.
|
protectedvirtual |
Enable the contents in this page.
Implements makVrv::DtPage.
|
protectedvirtual |
Disable the contents in this page.
Implements makVrv::DtPage.
|
protected |
Dialog to ask for observer mode name.
|
protected |
Dialog to ask for observer mode name.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |