![]() |
VR-Forces Developer's Guide
|
Logic class for editing definition ObserverMode.
Public Member Functions | |
| DtObserverSettingsLogic (DtDe &de, DtPersistenceControlsInterface *persistIf, DtObserverSettingsInterface *observerModeEditorIf) | |
| virtual | ~DtObserverSettingsLogic () |
| virtual void | setSelectedObserver (const std::string &observerName) |
| virtual void | setSelectedObserverMode (const std::string &ObserverModeName) |
| virtual void | modelSetChanged (DtModelSetId modelSet) |
| virtual void | sensorChanged (const std::string &sensor) |
| virtual void | keyMapChanged (const std::string &keyMap) |
| virtual void | projectionChanged (const std::string &projection) |
| virtual void | settingChanged (int settingKey, bool value) |
| virtual void | northTypeChanged (DtObserverObject::NorthType northType) |
| virtual void | setModelScaleFactor (int factor) |
| virtual void | setModelScaleType (const std::string &type) |
| virtual void | setMaxModelScaleFactor (double maxScaleFactor) |
| virtual void | setLinearSpeedGain (int gain) |
| virtual void | setRotationSpeedGain (int gain) |
| virtual void | setOrbitSpeedGain (int gain) |
| virtual void | setSpeedScalingMode (DtObserverObject::SpeedScalingMode mode) |
| virtual void | setSpeedScalingMslModeOffset (double offset) |
| virtual void | setCameraShakeIntensity (double intensity) |
| virtual void | setCameraShakeEnabled (bool enabled) |
| virtual void | setLodScaleCenterMagMinLimit (double limit) |
| virtual void | setLodScaleCenterEnabled (bool enabled) |
| virtual void | setColorControlEnabled (bool enabled) |
| virtual void | setColorControlInvert (bool enabled) |
| virtual void | setColorControlContrast (double value) |
| virtual void | setColorControlBrightness (double value) |
| virtual void | setColorControlColorMix (double value) |
| virtual void | createObserver (const std::string &ObserverName) |
| virtual void | deleteObserver (const std::string &ObserverName) |
| virtual void | renameObserver (const std::string &oldName, const std::string &newName) |
| virtual void | createObserverMode (const std::string &ObserverModeName) |
| virtual void | deleteObserverMode (const std::string &ObserverModeName) |
| virtual void | renameObserverMode (const std::string &oldName, const std::string &newName) |
| makVrv::DtObserverSettingsLogic::DtObserverSettingsLogic | ( | DtDe & | de, |
| DtPersistenceControlsInterface * | persistIf, | ||
| DtObserverSettingsInterface * | observerModeEditorIf | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Called by the settings dialog interface to indicate that a new observer is selected.
|
virtual |
Called by the settings dialog interface to indicate that a new mode is selected.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Called from the UI when the north type changes.
| northType | The current north type. |
|
virtual |
Set the model scale factor for the observer mode.
|
virtual |
Set the model scale type for the observer mode.
|
virtual |
Set the max model scale factor for the observer mode.
|
virtual |
Set the current observer's linear speed gain.
|
virtual |
Set the current observer's rotation speed gain.
|
virtual |
Set the current observer's orbit speed gain.
|
virtual |
Set the current observer's speed scaling mode.
|
virtual |
Set the current observer's speed scaling asl mode offset.
|
virtual |
Set the current observer's camera shake intensity.
|
virtual |
Enable or disable the current observer's camera shake.
|
virtual |
Set the current observer's camera shake intensity.
|
virtual |
Enable or disable the current observer's camera shake.
|
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. |
|
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. |
|
virtual |
Sets the current color control contrast value. Defines the grayscale contrast in the image.
| value | The (0.0 - 1.0) grayscale contrast value. |
|
virtual |
Sets the current color control brightness value. Defines the grayscale brightness in the image.
| value | The (0.0 - 1.0) grayscale brightness value. |
|
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. |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
|
protected |
setup the values for the current mode.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Sets up the list of available north types.
|
protected |
|
protected |
|
protectedvirtual |
Called when user wants to export observer modes to a file.
|
protectedvirtual |
Called when user wants to export a single mode to a file.
|
protectedvirtual |
Called when the export filename has been chosen. Will export observer modes to given file.
|
protectedvirtual |
Called when a user wants to import (replace) observer modes with contents of selected file.
|
protectedvirtual |
Called when the import filename has been chose. Will import contents of file to observer mode manager.
|
protectedvirtual |
Called when a user wants to merge observer modes with contents of selected file.
|
protectedvirtual |
Called when the file to merge with the existing modes has been selected.
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
Called by signal when a channel configuration is modified. Used to update the observer's delete button enabled status.
|
protected |
Called by signal when a channel configuration is destroyed. Used to update the observer's delete button enabled status.
|
protected |
Called by signal when a channel configuration is added. Used to update the observer's delete button enabled status.
|
protected |
Called by signal when a new sensor is added.
Updates the GUI by adding the new sensor
|
protected |
Called by signal when a sensor is about to be deleted.
Updates the GUI
|
protected |
Called by signal when a sensor is renamed.
Updates the GUI
|
protected |
called by signal when an observer is created
|
protected |
called by signal when an observer is destroyed
|
protected |
called by signal when an observer changes observer mode
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |