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

Public Member Functions | |
| DtObserverSettingsPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=0) | |
| CTOR. More... | |
| virtual | ~DtObserverSettingsPage () |
| DTOR. More... | |
| virtual QIcon | icon () |
| Get the icon of the page. More... | |
| virtual QString | title () |
| Get the title of the page. More... | |
| virtual const std::string & | pageClassName () const |
| Get the class name of the page. More... | |
| virtual int | currentObserverIndex () const |
| Get the current observer index, if there are no observer instances this function returns -1. More... | |
| virtual std::string | currentObserverName () const |
| Get the current observer instance name. More... | |
| virtual int | findObserverInstanceIndex (const std::string &instanceName) |
| Find the index for an observer instance name. More... | |
| virtual void | setObserverInstanceNames (const std::list< std::string > &instanceNames) |
| Set the current observer instance names. More... | |
| virtual void | setCurrentObserverIndex (int i) |
| Set the current observer instance by index. More... | |
| virtual void | setCurrentObserverInstanceName (const std::string &instanceName) |
| Uses find instance index to set the current index by name. More... | |
| virtual void | addObserverInstance (const DtUnicode &name, int index=-1) |
| Adds a new observer instance. More... | |
| virtual void | removeObserverInstance (int i) |
| Removes the observer instance at i. More... | |
| virtual void | setDeleteObserverEnabled (bool enabled) |
| enable/disable observer deletion More... | |
| virtual int | currentObserverModeIndex () const |
| Get the current index, if there are no instances this function returns -1. More... | |
| virtual std::string | currentObserverModeName () const |
| Get the current instance name. More... | |
| virtual int | findObserverModeInstanceIndex (const std::string &instanceName) |
| Find the index for an instance name. More... | |
| virtual void | setObserverModeInstanceNames (const std::list< std::string > &instanceNames) |
| Set the current instance names. More... | |
| virtual void | setCurrentObserverModeIndex (int i) |
| Set the current instance by index. More... | |
| virtual void | setCurrentObserverModeInstanceName (const std::string &instanceName) |
| Uses find instance index to set the current index by name. More... | |
| virtual void | addObserverModeInstance (const std::string &name, int index=-1) |
| Adds a new instance. More... | |
| virtual void | removeObserverModeInstance (int i) |
| Removes the instance at i. More... | |
| 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 DtUnicode &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 | addModelScaleType (const DtUnicode &displayName, const std::string &value) |
| virtual void | clearModelScaleTypes () |
| virtual void | setModelScaleFactorSlider (int factor) |
| virtual void | enableModelScaleFactorSlider (bool enable) |
| virtual void | setModelScaleFactorSliderMaximum (int maximum) |
| virtual void | setModelScaleTypeSelector (const std::string &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 | setLodScaleCenterEnabled (bool enabled) |
| set whether or no to use the lod scale center More... | |
| virtual void | setLodScaleCenterMagMinLimit (double limit) |
| set the minimum zoom magnification before switching to the lod scale center More... | |
| 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. More... | |
| virtual | ~DtPage () |
| DTOR for page. More... | |
| virtual PageAction | pageAction () |
| return the current action on the page More... | |
| virtual void | setPageAction (PageAction action) |
| set the curret action on the page More... | |
| virtual void | setActionFlag (int flag) |
| set the action flag of the page More... | |
| virtual int | actionFlag () |
| return the action flag of the page More... | |
| virtual void | setParentDialog (QWidget *paraentDialog) |
| set the parent dialog that owns this page More... | |
| virtual QWidget * | parentDialog () |
| return the parent dialog that own this page More... | |
| virtual bool | shouldAskBeforeAction (PageAction action) |
| test the action flag with the action, return true if we should ask before executing the action /param action the current page action More... | |
| virtual void | askBeforeAction () |
| Called when the action flag is set and before the action is beind executed, default do nothing. More... | |
| virtual void | executeAfterAsk (bool revert) |
| Called after askBeforeAction(), whether user wants to revert the action or resume the action /param revert if true, the user wants to revert the action, otherwise resume it. More... | |
| virtual void | resumeLastAction () |
| resume the last action of the page More... | |
| virtual void | onCloseEvent () |
| will be called when user hit the close button of this page, default do nothing. More... | |
| virtual void | onSwitchEvent () |
| will be called when user try switch to another page, default do nothing. More... | |
Public Member Functions inherited from makVrv::DtObserverSettingsInterface | |
| virtual | ~DtObserverSettingsInterface () |
| DTOR. More... | |
Static Public Member Functions | |
| static const std::string & | thePageClassName () |
| Get the class name for the class. More... | |
Protected Member Functions | |
| void | setupGui () |
| Sets up the GUI. More... | |
| virtual void | activate () |
| Enable the contents in this page. More... | |
| virtual void | deactivate () |
| Disable the contents in this page. More... | |
| QString | askForObserverModeName (QString initial, const QString &title) |
| Dialog to ask for observer mode name. More... | |
| QString | askForObserverName (QString initial, const QString &title) |
| Dialog to ask for observer mode name. More... | |
| 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 () |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPage | |
| enum | PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 } |
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 |
set whether or no to use the lod scale center
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
set the minimum zoom magnification before switching to the lod scale center
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 |
|
protectedvirtualslot |
handle when the lod scale center enabled check box changes.
|
protectedvirtualslot |
handle when the zoom magnificaino limit slider changes.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |