VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtObserverSettingsInterface Class Referenceabstract

This is the interface for the DtObserverSettingsPage.

Inheritance diagram for makVrv::DtObserverSettingsInterface:
Inheritance graph
[legend]

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
 

Constructor & Destructor Documentation

virtual makVrv::DtObserverSettingsInterface::~DtObserverSettingsInterface ( )
virtual

DTOR.

Member Function Documentation

virtual int makVrv::DtObserverSettingsInterface::currentObserverIndex ( ) const
pure virtual

Get the current observer index, if there are no observer instances this function returns -1.

Implemented in makVrv::DtObserverSettingsPage.

virtual std::string makVrv::DtObserverSettingsInterface::currentObserverName ( ) const
pure virtual

Get the current observer instance name. If there is no instances this function returns an empty string.

Implemented in makVrv::DtObserverSettingsPage.

virtual int makVrv::DtObserverSettingsInterface::findObserverInstanceIndex ( const std::string &  instanceName)
pure virtual

Find the index for an observer instance name. Returns -1 if the instance is invalid.

Implemented in makVrv::DtObserverSettingsPage.

virtual void makVrv::DtObserverSettingsInterface::setObserverInstanceNames ( const std::list< std::string > &  instanceNames)
pure virtual

Set the current observer instance names.

Implemented in makVrv::DtObserverSettingsPage.

virtual void makVrv::DtObserverSettingsInterface::setCurrentObserverIndex ( int  i)
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.

virtual void makVrv::DtObserverSettingsInterface::setCurrentObserverInstanceName ( const std::string &  instanceName)
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.

virtual void makVrv::DtObserverSettingsInterface::addObserverInstance ( const DtUnicode name,
int  index = -1 
)
pure virtual

Adds a new observer instance.

Parameters
Input
nameis the name of the instance to display.
indexis the optional index of the instance, -1 means append to end.

Implemented in makVrv::DtObserverSettingsPage.

virtual void makVrv::DtObserverSettingsInterface::removeObserverInstance ( int  i)
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.

virtual void makVrv::DtObserverSettingsInterface::setDeleteObserverEnabled ( bool  enabled)
pure virtual

enable/disable observer deletion

Implemented in makVrv::DtObserverSettingsPage.

virtual int makVrv::DtObserverSettingsInterface::currentObserverModeIndex ( ) const
pure virtual

Get the current observer mode index, if there are no observer mode instances this functionreturns -1.

Implemented in makVrv::DtObserverSettingsPage.

virtual std::string makVrv::DtObserverSettingsInterface::currentObserverModeName ( ) const
pure virtual

Get the current observer mode instance name. If there is no instances this function returns an empty string.

Implemented in makVrv::DtObserverSettingsPage.

virtual int makVrv::DtObserverSettingsInterface::findObserverModeInstanceIndex ( const std::string &  instanceName)
pure virtual

Find the index for an observer mode instance name. Returns -1 if the instance is invalid.

Implemented in makVrv::DtObserverSettingsPage.

virtual void makVrv::DtObserverSettingsInterface::setObserverModeInstanceNames ( const std::list< std::string > &  instanceNames)
pure virtual

Set the current observer mode instance names.

Implemented in makVrv::DtObserverSettingsPage.

virtual void makVrv::DtObserverSettingsInterface::setCurrentObserverModeIndex ( int  i)
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.

virtual void makVrv::DtObserverSettingsInterface::setCurrentObserverModeInstanceName ( const std::string &  instanceName)
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.

virtual void makVrv::DtObserverSettingsInterface::addObserverModeInstance ( const std::string &  name,
int  index = -1 
)
pure virtual

Adds a new observer mode instance.

Parameters
Input
nameis the name of the instance to display.
indexis the optional index of the instance, -1 means append to end.

Implemented in makVrv::DtObserverSettingsPage.

virtual void makVrv::DtObserverSettingsInterface::removeObserverModeInstance ( int  i)
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.

virtual void makVrv::DtObserverSettingsInterface::observerCreateRequestFailed ( const std::string &  observerName)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::addModelSet ( DtModelSetId  modelSet,
const DtUnicode displayName 
)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setCurrentModelSet ( DtModelSetId  modelSet)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::addSensorMode ( const std::string &  sensorName)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setCurrentSensorMode ( const std::string &  sensorName)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::removeSensorMode ( const std::string &  sensorName)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::renameSensorMode ( const std::string &  oldName,
const std::string &  newName 
)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::enableSensorMode ( bool  enable)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::addProjection ( const DtUnicode projectionName)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setCurrentProjection ( const std::string &  projectionName)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::addKeyMap ( const std::string &  keyMapName)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setCurrentKeyMap ( const std::string &  keyMapName)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::addModelScaleType ( const DtUnicode displayName,
const std::string &  value 
)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::clearModelScaleTypes ( )
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setModelScaleFactorSlider ( int  factor)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::enableModelScaleFactorSlider ( bool  enable)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setModelScaleFactorSliderMaximum ( int  maximum)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setModelScaleTypeSelector ( const std::string &  scaleType)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::enableModelScaleTypeSelector ( bool  enable)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setMaxModelScaleFactorSpinBox ( double  maxScaleFactor)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::enableMaxModelScaleFactorSpinBox ( bool  enable)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setOrbitSpeedGainSlider ( int  gain)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setRotationSpeedGainSlider ( int  gain)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setLinearSpeedGainSlider ( int  gain)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setSliderGainPrecision ( int  precision)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setSpeedScalingMode ( DtObserverObject::SpeedScalingMode  mode)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setSpeedScalingMslModeOffset ( double  offset)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setSpeedScalingMslModeOffsetRanges ( double  minRange,
double  maxRange 
)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setDistanceUnitLabels ( const DtUnicode unitLabel)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setDistanceDecimals ( int  decimals)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setCameraShakeEnabled ( bool  enabled)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setCameraShakeIntensity ( float  intensity)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setLodScaleCenterEnabled ( bool  enabled)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::clearObserverSettings ( )
pure virtual
virtual void makVrv::DtObserverSettingsInterface::addObserverSetting ( int  key,
const DtUnicode displayName,
bool  visualType 
)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::setObserverSetting ( const DtUnicode displayName,
bool  checked,
bool  visualType 
)
pure virtual
virtual void makVrv::DtObserverSettingsInterface::enableNorthType ( bool  enable)
pure virtual

Enables or disables north type selection.

Implemented in makVrv::DtObserverSettingsPage.

virtual void makVrv::DtObserverSettingsInterface::clearNorthTypes ( )
pure virtual

Clears all north type selections.

Implemented in makVrv::DtObserverSettingsPage.

virtual void makVrv::DtObserverSettingsInterface::addNorthType ( const std::string &  displayName,
DtObserverObject::NorthType  northType 
)
pure virtual

Adds an available north type name.

Parameters
Thedisplayed north name for example: "Magnetic North" or "True North".
northTypeThe enumeration value associated with the name.

Implemented in makVrv::DtObserverSettingsPage.

virtual void makVrv::DtObserverSettingsInterface::setCurrentNorthType ( DtObserverObject::NorthType  northType)
pure virtual

Sets the current north type value.

Parameters
northTypeThe enumeration value to use.

Implemented in makVrv::DtObserverSettingsPage.

virtual void makVrv::DtObserverSettingsInterface::setColorControlEnabled ( bool  enabled)
pure virtual

Sets the color control enabled value. Defines if the color control should be used for an observer mode.

Parameters
enabledTrue if color control should be enabled.

Implemented in makVrv::DtObserverSettingsPage.

virtual void makVrv::DtObserverSettingsInterface::setColorControlInvert ( bool  enabled)
pure virtual

Sets the current color control invert value. Defines if the grayscale computed output should be inverted in the image.

Parameters
enabledTrue if the color grayscale should be inverted.

Implemented in makVrv::DtObserverSettingsPage.

virtual void makVrv::DtObserverSettingsInterface::setColorControlContrast ( double  value)
pure virtual

Sets the current color control contrast value. Defines the grayscale contrast in the image.

Parameters
valueThe (0.0 - 1.0) grayscale contrast value.

Implemented in makVrv::DtObserverSettingsPage.

virtual void makVrv::DtObserverSettingsInterface::setColorControlBrightness ( double  value)
pure virtual

Sets the current color control brightness value. Defines the grayscale brightness in the image.

Parameters
valueThe (0.0 - 1.0) grayscale brightness value.

Implemented in makVrv::DtObserverSettingsPage.

virtual void makVrv::DtObserverSettingsInterface::setColorControlColorMix ( double  value)
pure virtual

Sets the current color control color mix value. Defines how much color to mix in to the image.

Parameters
valueThe (0.0 - 1.0) grayscale vs color mix value.

Implemented in makVrv::DtObserverSettingsPage.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)