![]() |
VR-Forces 4.10 Class Documentation
|
The logic for the entity display settings dialog. More...
Public Member Functions | |
| DtEntityDisplaySettingsLogic (DtDe &de, DtPersistenceControlsInterface &persistenceControls, DtEntityDisplaySettingsInterface &widget) | |
| CTOR. More... | |
| ~DtEntityDisplaySettingsLogic () | |
| DTOR. More... | |
Protected Member Functions | |
| void | sendSettingsToGui () |
| Set up the GUI with the current window settings. More... | |
Boost slots | |
| void | slot_entityLabelsShown (bool enabled) |
| void | slot_rotateEntitySymbols (bool enabled) |
| void | slot_infoPopupsOnSelectSet (bool enabled) |
| Called when info popup mode is changed to "on select" or to normal mode (mouse over or context menu only) More... | |
| void | slot_groundClampingEnabled (bool enabled) |
| Called when ground clamping is enabled/disabled by the gui. More... | |
| void | slot_smoothingEnabled (bool enabled) |
| Called when position smoothing is enabled/disabled by gui. More... | |
| void | slot_smoothingPeriodSet (float time) |
| Called when position smoothing period time is set by gui. More... | |
| void | slot_artPartSmoothingEnabled (bool enabled) |
| Called when art part smoothing is enabled/disabled by gui. More... | |
| void | slot_artPartSmoothingPeriodSet (float time) |
| Called when art part smoothing period time is set by gui. More... | |
| void | slot_lifeformsUprightEnabled (bool enabled) |
| Called when lifeform upright clamping is set in the gui. More... | |
| void | slot_iconScaleChanged (float iconScale) |
| Called when icon scale setting change is signalled by the de. More... | |
| void | slot_groundClampingDistanceSet (float distance) |
| Called when the ground clamping distance/distance multiplier is set in the gui. More... | |
| void | slot_orientationClampingEnabled (bool enabled) |
| Called when orientation clamping is set in the gui. More... | |
| void | slot_clearHistory () |
| Called when track histories are cleared by the gui. More... | |
| void | slot_showStealthsSet (bool enabled) |
| Called when stealth filtering is turned on /off. More... | |
| void | slot_showEmitterVolumesSet (bool enabled) |
| Called when emitter volumes are set visible / invisible. More... | |
| void | slot_heightAboveTerrainEnabled (bool enabled) |
| Called when height above terrain lines turned on /off. More... | |
| void | slot_heightAboveTerrainSelectedOnlySet (bool enabled) |
| Call when height above terrain lines set for selected only (or all) More... | |
| void | slot_useModelColorType (DtSharedEntityDisplaySettings::ColorizedModelColorType colorType) |
| void | slot_iconScaleSet (int scale) |
| Called when the icon scale is set. More... | |
| void | slot_oceanWakesEnabled (bool enabled) |
| Called when ocean wakes are globally enabled for surface vehicles. More... | |
| void | slot_rotorWashEnabled (bool enabled) |
| Called when rotor wash effects are globally enabled. More... | |
| void | slot_hullSprayEffectsEnabled (bool enabled) |
| Called when hull-spray is globally enabled for surface vehicles. More... | |
| void | slot_buoyancyModelsEnabled (bool enabled) |
| Called when buoyancy models are globally enabled for surface vehicles. More... | |
| void | slot_buoyancyDefaultLODDistanceChanged (double distance) |
| Called when buoyancy default LOD changes. More... | |
| void | slot_wakeDefaultLODDistanceChanged (double distance) |
| Called when wake default LOD changes. More... | |
| void | slot_buoyancyMinimumCullDistanceChanged (double distance) |
| Called when buoyancy minimum cull distance changes. More... | |
| void | slot_buoyancyCullTypeChanged (DtEntitySettingsRecord::BuoyancyCullType distance) |
| Called when buoyancy cull type changes. More... | |
| void | slot_buoyAndBeaconIconsEnabled (bool enabled) |
| Called when buoy and beacon 2D Icons are enabled. More... | |
| void | slot_heightAboveTerrainPeriodChanged (unsigned int period) |
| void | slot_occupantsVisible (bool visible) |
| Called when the entity display settings change occupants visible is enabled. More... | |
| void | slot_wheelRotation (bool rotate) |
| Called when the entity display settings change whether wheels should rotate. More... | |
| void | slot_adaptiveTickRate (bool adaptive) |
| Called when the entity display settings change whether entities should use an adaptive tick rate. More... | |
| void | slot_entitySettingsRestored (const DtSettingsBackup *s) |
| Called when settings are restored. More... | |
Persistence slots | |
| void | on_import () |
| void | on_export () |
| void | on_importFilePathChosen (const std::string &filePath) |
| void | on_exportFilePathChosen (const std::string &filePath) |
Protected Attributes | |
| DtDe & | myDe |
| These are connected to signals from Shared Entity Display Settings so that their values can be converted from native to display units before being passed on to the widget. More... | |
| DtSignalConnectionManager | myConnections |
| DtEntityDisplaySettingsInterface & | myInterface |
| DtPersistenceControlsInterface & | myPersistenceControls |
The logic for the entity display settings dialog.
| makVrv::DtEntityDisplaySettingsLogic::DtEntityDisplaySettingsLogic | ( | DtDe & | de, |
| DtPersistenceControlsInterface & | persistenceControls, | ||
| DtEntityDisplaySettingsInterface & | widget | ||
| ) |
CTOR.
| makVrv::DtEntityDisplaySettingsLogic::~DtEntityDisplaySettingsLogic | ( | ) |
DTOR.
|
protected |
Set up the GUI with the current window settings.
|
protected |
|
protected |
|
protected |
Called when info popup mode is changed to "on select" or to normal mode (mouse over or context menu only)
|
protected |
Called when ground clamping is enabled/disabled by the gui.
|
protected |
Called when position smoothing is enabled/disabled by gui.
|
protected |
Called when position smoothing period time is set by gui.
|
protected |
Called when art part smoothing is enabled/disabled by gui.
|
protected |
Called when art part smoothing period time is set by gui.
|
protected |
Called when lifeform upright clamping is set in the gui.
|
protected |
Called when icon scale setting change is signalled by the de.
|
protected |
Called when the ground clamping distance/distance multiplier is set in the gui.
|
protected |
Called when orientation clamping is set in the gui.
|
protected |
Called when track histories are cleared by the gui.
|
protected |
Called when stealth filtering is turned on /off.
|
protected |
Called when emitter volumes are set visible / invisible.
|
protected |
Called when height above terrain lines turned on /off.
|
protected |
Call when height above terrain lines set for selected only (or all)
|
protected |
|
protected |
Called when the icon scale is set.
|
protected |
Called when ocean wakes are globally enabled for surface vehicles.
|
protected |
Called when rotor wash effects are globally enabled.
|
protected |
Called when hull-spray is globally enabled for surface vehicles.
|
protected |
Called when buoyancy models are globally enabled for surface vehicles.
|
protected |
Called when buoyancy default LOD changes.
|
protected |
Called when wake default LOD changes.
|
protected |
Called when buoyancy minimum cull distance changes.
|
protected |
Called when buoyancy cull type changes.
|
protected |
Called when buoy and beacon 2D Icons are enabled.
|
protected |
|
protected |
Called when the entity display settings change occupants visible is enabled.
|
protected |
Called when the entity display settings change whether wheels should rotate.
|
protected |
Called when the entity display settings change whether entities should use an adaptive tick rate.
|
protected |
Called when settings are restored.
Will restore gui if settings are entity settings
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
These are connected to signals from Shared Entity Display Settings so that their values can be converted from native to display units before being passed on to the widget.
|
protected |
|
protected |
|
protected |