![]() |
VR-Forces Developer's Guide
|
A dialog for editing ObserverModes.

Public Member Functions | |
| DtObserverSettingsPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=0) | |
| virtual | ~DtObserverSettingsPage () |
| virtual QIcon | icon () |
| virtual DtQIconConfigurations | qIconConfigurations () const |
| virtual QString | title () |
| virtual const std::string & | pageClassName () const |
| virtual int | currentObserverIndex () const |
| virtual std::string | currentObserverName () const |
| virtual int | findObserverInstanceIndex (const std::string &instanceName) |
| virtual void | setObserverInstanceNames (const std::list< std::string > &instanceNames) |
| virtual void | setCurrentObserverIndex (int i) |
| virtual void | setCurrentObserverInstanceName (const std::string &instanceName) |
| virtual void | addObserverInstance (const DtUnicode &name, int index=-1) |
| virtual void | removeObserverInstance (int i) |
| virtual void | setDeleteObserverEnabled (bool enabled) |
| virtual int | currentObserverModeIndex () const |
| virtual std::string | currentObserverModeName () const |
| virtual int | findObserverModeInstanceIndex (const std::string &instanceName) |
| virtual void | setObserverModeInstanceNames (const std::list< std::string > &instanceNames) |
| virtual void | setCurrentObserverModeIndex (int i) |
| virtual void | setCurrentObserverModeInstanceName (const std::string &instanceName) |
| virtual void | addObserverModeInstance (const std::string &name, int index=-1) |
| virtual void | removeObserverModeInstance (int i) |
| virtual void | observerCreateRequestFailed (const std::string &observerName) |
| virtual void | addModelSet (DtModelSetId modelSet, const DtUnicode &displayName) |
| virtual void | setCurrentProjection (const std::string &projectionName) |
| virtual void | setCurrentModelSet (DtModelSetId 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) |
| virtual void | setLodScaleCenterMagMinLimit (double limit) |
| virtual void | clearObserverSettings () |
| virtual void | addObserverSetting (int key, const DtUnicode &displayName, bool visualTypeSetting) |
| virtual void | setObserverSetting (const DtUnicode &displayName, bool checked, bool visualTypeSetting) |
| virtual void | enableNorthType (bool enable) |
| virtual void | clearNorthTypes () |
| virtual void | addNorthType (const std::string &displayName, DtObserverObject::NorthType northType) |
| virtual void | setCurrentNorthType (DtObserverObject::NorthType northType) |
| virtual void | setColorControlEnabled (bool enabled) override |
| virtual void | setColorControlInvert (bool enabled) override |
| virtual void | setColorControlContrast (double value) override |
| virtual void | setColorControlBrightness (double value) override |
| virtual void | setColorControlColorMix (double value) override |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual | ~DtPage () |
| virtual PageAction | pageAction () |
| virtual void | setPageAction (PageAction action) |
| virtual void | setActionFlag (int flag) |
| virtual int | actionFlag () |
| virtual void | setParentDialog (QWidget *paraentDialog) |
| virtual QWidget * | parentDialog () |
| virtual bool | shouldAskBeforeAction (PageAction action) |
| virtual void | askBeforeAction () |
| virtual void | executeAfterAsk (bool revert) |
| virtual void | resumeLastAction () |
| virtual void | onCloseEvent () |
| virtual void | onSwitchEvent () |
Public Member Functions inherited from makVrv::DtObserverSettingsInterface | |
| virtual | ~DtObserverSettingsInterface () |
Static Public Member Functions | |
| static const std::string & | thePageClassName () |
Protected Member Functions | |
| void | setupGui () |
| int | setupColorControlGui (QGridLayout *parentLayout, QFont *font, int row) |
| virtual void | activate () |
| virtual void | deactivate () |
| QString | askForObserverModeName (QString initial, const QString &title) |
| QString | askForObserverName (QString initial, const QString &title) |
| 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 } |
| 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 icon configurations for the page. This is used to style the page's icon based on application settings.
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.
|
virtual |
Enables or disables north type selection.
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Clears all north type selections.
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Adds an available north type name.
| The | displayed north name for example: "Magnetic North" or "True North". |
| northType | The enumeration value associated with the name. |
Implements makVrv::DtObserverSettingsInterface.
|
virtual |
Sets the current north type value.
| northType | The enumeration value to use. |
Implements makVrv::DtObserverSettingsInterface.
|
overridevirtual |
Sets the color control enabled value. Defines if the color control should be used for an observer mode.
| enabled | True if color control should be enabled. |
Implements makVrv::DtObserverSettingsInterface.
|
overridevirtual |
Sets the current color control invert value. Defines if the grayscale computed output should be inverted in the image.
| enabled | True if the color grayscale should be inverted. |
Implements makVrv::DtObserverSettingsInterface.
|
overridevirtual |
Sets the current color control contrast value. Defines the grayscale contrast in the image.
| value | The (0.0 - 1.0) grayscale contrast value. |
Implements makVrv::DtObserverSettingsInterface.
|
overridevirtual |
Sets the current color control brightness value. Defines the grayscale brightness in the image.
| value | The (0.0 - 1.0) grayscale brightness value. |
Implements makVrv::DtObserverSettingsInterface.
|
overridevirtual |
Sets the current color control color mix value. Defines how much color to mix in to the image.
| value | The (0.0 - 1.0) grayscale vs color mix value. |
Implements makVrv::DtObserverSettingsInterface.
|
protected |
Sets up the GUI.
|
protected |
setupGui helper that sets up the Color Control GUI.
| parentLayout | - the parent layout to add controls to |
| font | - the font to use |
| row | - the current layout row index where items should start returns the new row index where additional items should start |
|
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.
|
protectedvirtualslot |
handle when the "North" combo box changes.
|
protectedvirtualslot |
handle map color control signals.
|
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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |