![]() |
VR-Forces Developer's Guide
|
This is the interface for the DtObserverSettingsPage.

Public Member Functions | |
| virtual | ~DtObserverSettingsInterface () |
| virtual int | currentObserverIndex () const =0 |
| virtual std::string | currentObserverName () const =0 |
| virtual int | findObserverInstanceIndex (const std::string &instanceName)=0 |
| virtual void | setObserverInstanceNames (const std::list< std::string > &instanceNames)=0 |
| virtual void | setCurrentObserverIndex (int i)=0 |
| virtual void | setCurrentObserverInstanceName (const std::string &instanceName)=0 |
| virtual void | addObserverInstance (const DtUnicode &name, int index=-1)=0 |
| virtual void | removeObserverInstance (int i)=0 |
| virtual void | setDeleteObserverEnabled (bool enabled)=0 |
| virtual int | currentObserverModeIndex () const =0 |
| virtual std::string | currentObserverModeName () const =0 |
| virtual int | findObserverModeInstanceIndex (const std::string &instanceName)=0 |
| virtual void | setObserverModeInstanceNames (const std::list< std::string > &instanceNames)=0 |
| virtual void | setCurrentObserverModeIndex (int i)=0 |
| virtual void | setCurrentObserverModeInstanceName (const std::string &instanceName)=0 |
| virtual void | addObserverModeInstance (const std::string &name, int index=-1)=0 |
| virtual void | removeObserverModeInstance (int i)=0 |
| virtual void | observerCreateRequestFailed (const std::string &observerName)=0 |
| virtual void | addModelSet (DtModelSetId modelSet, const DtUnicode &displayName)=0 |
| virtual void | setCurrentModelSet (DtModelSetId modelSet)=0 |
| virtual void | addSensorMode (const std::string &sensorName)=0 |
| virtual void | setCurrentSensorMode (const std::string &sensorName)=0 |
| virtual void | removeSensorMode (const std::string &sensorName)=0 |
| virtual void | renameSensorMode (const std::string &oldName, const std::string &newName)=0 |
| virtual void | enableSensorMode (bool enable)=0 |
| virtual void | addProjection (const DtUnicode &projectionName)=0 |
| virtual void | setCurrentProjection (const std::string &projectionName)=0 |
| virtual void | addKeyMap (const std::string &keyMapName)=0 |
| virtual void | setCurrentKeyMap (const std::string &keyMapName)=0 |
| virtual void | addModelScaleType (const DtUnicode &displayName, const std::string &value)=0 |
| virtual void | clearModelScaleTypes ()=0 |
| virtual void | setModelScaleFactorSlider (int factor)=0 |
| virtual void | enableModelScaleFactorSlider (bool enable)=0 |
| virtual void | setModelScaleFactorSliderMaximum (int maximum)=0 |
| virtual void | setModelScaleTypeSelector (const std::string &scaleType)=0 |
| virtual void | enableModelScaleTypeSelector (bool enable)=0 |
| virtual void | setMaxModelScaleFactorSpinBox (double maxScaleFactor)=0 |
| virtual void | enableMaxModelScaleFactorSpinBox (bool enable)=0 |
| virtual void | setOrbitSpeedGainSlider (int gain)=0 |
| virtual void | setRotationSpeedGainSlider (int gain)=0 |
| virtual void | setLinearSpeedGainSlider (int gain)=0 |
| virtual void | setSliderGainPrecision (int precision)=0 |
| virtual void | setSpeedScalingMode (DtObserverObject::SpeedScalingMode mode)=0 |
| virtual void | setSpeedScalingMslModeOffset (double offset)=0 |
| virtual void | setSpeedScalingMslModeOffsetRanges (double minRange, double maxRange)=0 |
| virtual void | setDistanceUnitLabels (const DtUnicode &unitLabel)=0 |
| virtual void | setDistanceDecimals (int decimals)=0 |
| virtual void | setCameraShakeEnabled (bool enabled)=0 |
| virtual void | setCameraShakeIntensity (float intensity)=0 |
| virtual void | setLodScaleCenterEnabled (bool enabled)=0 |
| virtual void | clearObserverSettings ()=0 |
| virtual void | addObserverSetting (int key, const DtUnicode &displayName, bool visualType)=0 |
| virtual void | setObserverSetting (const DtUnicode &displayName, bool checked, bool visualType)=0 |
| virtual void | enableNorthType (bool enable)=0 |
| virtual void | clearNorthTypes ()=0 |
| virtual void | addNorthType (const std::string &displayName, DtObserverObject::NorthType northType)=0 |
| virtual void | setCurrentNorthType (DtObserverObject::NorthType northType)=0 |
| virtual void | setColorControlEnabled (bool enabled)=0 |
| virtual void | setColorControlInvert (bool enabled)=0 |
| virtual void | setColorControlContrast (double value)=0 |
| virtual void | setColorControlBrightness (double value)=0 |
| virtual void | setColorControlColorMix (double value)=0 |
|
virtual |
DTOR.
|
pure virtual |
Get the current observer index, if there are no observer instances this function returns -1.
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Get the current observer instance name. If there is no instances this function returns an empty string.
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Find the index for an observer instance name. Returns -1 if the instance is invalid.
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Set the current observer instance names.
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Set the current observer instance by index. If the index is out of range the current index will not change.
Implemented in makVrv::DtObserverSettingsPage.
|
pure 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.
Implemented in makVrv::DtObserverSettingsPage.
|
pure 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. |
Implemented in makVrv::DtObserverSettingsPage.
|
pure 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.
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
enable/disable observer deletion
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Get the current observer mode index, if there are no observer mode instances this functionreturns -1.
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Get the current observer mode instance name. If there is no instances this function returns an empty string.
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Find the index for an observer mode instance name. Returns -1 if the instance is invalid.
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Set the current observer mode instance names.
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Set the current observer mode instance by index. If the index is out of range the current index will not change.
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Uses find instance index to set the current index by name. If the observer mode instance name does not exist this function will not change The index.
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Adds a new observer mode instance.
| Input | |
| name | is the name of the instance to display. |
| index | is the optional index of the instance, -1 means append to end. |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Removes the observer mode 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.
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Enables or disables north type selection.
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Clears all north type selections.
Implemented in makVrv::DtObserverSettingsPage.
|
pure 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. |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Sets the current north type value.
| northType | The enumeration value to use. |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
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. |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
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. |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Sets the current color control contrast value. Defines the grayscale contrast in the image.
| value | The (0.0 - 1.0) grayscale contrast value. |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
Sets the current color control brightness value. Defines the grayscale brightness in the image.
| value | The (0.0 - 1.0) grayscale brightness value. |
Implemented in makVrv::DtObserverSettingsPage.
|
pure virtual |
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. |
Implemented in makVrv::DtObserverSettingsPage.