VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtEntityDisplaySettingsLogic Class Reference

The logic for the entity display settings dialog. More...

Public Member Functions

 DtEntityDisplaySettingsLogic (DtDe &de, DtPersistenceControlsInterface &persistenceControls, DtEntityDisplaySettingsInterface &widget)
 CTOR.
 ~DtEntityDisplaySettingsLogic ()
 DTOR.

Protected Member Functions

void sendSettingsToGui ()
 Set up the GUI with the current window settings.
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)
void slot_groundClampingEnabled (bool enabled)
 Called when ground clamping is enabled/disabled by the gui.
void slot_smoothingEnabled (bool enabled)
 Called when position smoothing is enabled/disabled by gui.
void slot_smoothingPeriodSet (float time)
 Called when position smoothing period time is set by gui.
void slot_lifeformsUprightEnabled (bool enabled)
 Called when lifeform upright clamping is set in the gui.
void slot_iconScaleChanged (float iconScale)
 Called when icon scale setting change is signalled by the de.
void slot_groundClampingDistanceSet (float distance)
 Called when the ground clamping distance/distance multiplier is set in the gui.
void slot_orientationClampingEnabled (bool enabled)
 Called when orientation clamping is set in the gui.
void slot_clearHistory ()
 Called when track histories are cleared by the gui.
void slot_showStealthsSet (bool enabled)
 Called when stealth filtering is turned on /off.
void slot_showEmitterVolumesSet (bool enabled)
 Called when emitter volumes are set visible / invisible.
void slot_heightAboveTerrainEnabled (bool enabled)
 Called when height above terrain lines turned on /off.
void slot_heightAboveTerrainSelectedOnlySet (bool enabled)
 Call when height above terrain lines set for selected only (or all)
void slot_useModelColorType (DtSharedEntityDisplaySettings::ColorizedModelColorType colorType)
void slot_iconScaleSet (int scale)
 Called when the icon scale is set.
void slot_oceanWakesEnabled (bool enabled)
 Called when ocean wakes are globally enabled for surface vehicles.
void slot_rotorWashEnabled (bool enabled)
 Called when rotor wash effects are globally enabled.
void slot_hullSprayEffectsEnabled (bool enabled)
 Called when hull-spray is globally enabled for surface vehicles.
void slot_buoyancyModelsEnabled (bool enabled)
 Called when buoyancy models are globally enabled for surface vehicles.
void slot_buoyancyDefaultLODDistanceChanged (double distance)
 Called when buoyancy default LOD changes.
void slot_wakeDefaultLODDistanceChanged (double distance)
 Called when wake default LOD changes.
void slot_buoyancyMinimumCullDistanceChanged (double distance)
 Called when buoyancy minimum cull distance changes.
void slot_buoyancyCullTypeChanged (DtEntitySettingsRecord::BuoyancyCullType distance)
 Called when buoyancy cull type changes.
void slot_buoyAndBeaconIconsEnabled (bool enabled)
 Called when buoy and beacon 2D Icons are enabled.
void slot_heightAboveTerrainPeriodChanged (unsigned int period)
void slot_entitySettingsRestored (const DtSettingsBackup *s)
 Called when settings are restored.
Persistence slots
void on_import ()
void on_export ()
void on_importFilePathChosen (const std::string &filePath)
void on_exportFilePathChosen (const std::string &filePath)

Protected Attributes

DtDemyDe
 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.
DtSignalConnectionManager myConnections
DtEntityDisplaySettingsInterfacemyInterface
DtPersistenceControlsInterfacemyPersistenceControls

Detailed Description

The logic for the entity display settings dialog.

Constructor & Destructor Documentation

makVrv::DtEntityDisplaySettingsLogic::DtEntityDisplaySettingsLogic ( DtDe de,
DtPersistenceControlsInterface persistenceControls,
DtEntityDisplaySettingsInterface widget 
)

CTOR.

makVrv::DtEntityDisplaySettingsLogic::~DtEntityDisplaySettingsLogic ( )

DTOR.

Member Function Documentation

void makVrv::DtEntityDisplaySettingsLogic::sendSettingsToGui ( )
protected

Set up the GUI with the current window settings.

void makVrv::DtEntityDisplaySettingsLogic::slot_entityLabelsShown ( bool  enabled)
protected
void makVrv::DtEntityDisplaySettingsLogic::slot_rotateEntitySymbols ( bool  enabled)
protected
void makVrv::DtEntityDisplaySettingsLogic::slot_infoPopupsOnSelectSet ( bool  enabled)
protected

Called when info popup mode is changed to "on select" or to normal mode (mouse over or context menu only)

void makVrv::DtEntityDisplaySettingsLogic::slot_groundClampingEnabled ( bool  enabled)
protected

Called when ground clamping is enabled/disabled by the gui.

void makVrv::DtEntityDisplaySettingsLogic::slot_smoothingEnabled ( bool  enabled)
protected

Called when position smoothing is enabled/disabled by gui.

void makVrv::DtEntityDisplaySettingsLogic::slot_smoothingPeriodSet ( float  time)
protected

Called when position smoothing period time is set by gui.

void makVrv::DtEntityDisplaySettingsLogic::slot_lifeformsUprightEnabled ( bool  enabled)
protected

Called when lifeform upright clamping is set in the gui.

void makVrv::DtEntityDisplaySettingsLogic::slot_iconScaleChanged ( float  iconScale)
protected

Called when icon scale setting change is signalled by the de.

void makVrv::DtEntityDisplaySettingsLogic::slot_groundClampingDistanceSet ( float  distance)
protected

Called when the ground clamping distance/distance multiplier is set in the gui.

void makVrv::DtEntityDisplaySettingsLogic::slot_orientationClampingEnabled ( bool  enabled)
protected

Called when orientation clamping is set in the gui.

void makVrv::DtEntityDisplaySettingsLogic::slot_clearHistory ( )
protected

Called when track histories are cleared by the gui.

void makVrv::DtEntityDisplaySettingsLogic::slot_showStealthsSet ( bool  enabled)
protected

Called when stealth filtering is turned on /off.

void makVrv::DtEntityDisplaySettingsLogic::slot_showEmitterVolumesSet ( bool  enabled)
protected

Called when emitter volumes are set visible / invisible.

void makVrv::DtEntityDisplaySettingsLogic::slot_heightAboveTerrainEnabled ( bool  enabled)
protected

Called when height above terrain lines turned on /off.

void makVrv::DtEntityDisplaySettingsLogic::slot_heightAboveTerrainSelectedOnlySet ( bool  enabled)
protected

Call when height above terrain lines set for selected only (or all)

void makVrv::DtEntityDisplaySettingsLogic::slot_useModelColorType ( DtSharedEntityDisplaySettings::ColorizedModelColorType  colorType)
protected
void makVrv::DtEntityDisplaySettingsLogic::slot_iconScaleSet ( int  scale)
protected

Called when the icon scale is set.

void makVrv::DtEntityDisplaySettingsLogic::slot_oceanWakesEnabled ( bool  enabled)
protected

Called when ocean wakes are globally enabled for surface vehicles.

void makVrv::DtEntityDisplaySettingsLogic::slot_rotorWashEnabled ( bool  enabled)
protected

Called when rotor wash effects are globally enabled.

void makVrv::DtEntityDisplaySettingsLogic::slot_hullSprayEffectsEnabled ( bool  enabled)
protected

Called when hull-spray is globally enabled for surface vehicles.

void makVrv::DtEntityDisplaySettingsLogic::slot_buoyancyModelsEnabled ( bool  enabled)
protected

Called when buoyancy models are globally enabled for surface vehicles.

void makVrv::DtEntityDisplaySettingsLogic::slot_buoyancyDefaultLODDistanceChanged ( double  distance)
protected

Called when buoyancy default LOD changes.

void makVrv::DtEntityDisplaySettingsLogic::slot_wakeDefaultLODDistanceChanged ( double  distance)
protected

Called when wake default LOD changes.

void makVrv::DtEntityDisplaySettingsLogic::slot_buoyancyMinimumCullDistanceChanged ( double  distance)
protected

Called when buoyancy minimum cull distance changes.

void makVrv::DtEntityDisplaySettingsLogic::slot_buoyancyCullTypeChanged ( DtEntitySettingsRecord::BuoyancyCullType  distance)
protected

Called when buoyancy cull type changes.

void makVrv::DtEntityDisplaySettingsLogic::slot_buoyAndBeaconIconsEnabled ( bool  enabled)
protected

Called when buoy and beacon 2D Icons are enabled.

void makVrv::DtEntityDisplaySettingsLogic::slot_heightAboveTerrainPeriodChanged ( unsigned int  period)
protected
void makVrv::DtEntityDisplaySettingsLogic::slot_entitySettingsRestored ( const DtSettingsBackup s)
protected

Called when settings are restored.

Will restore gui if settings are entity settings

void makVrv::DtEntityDisplaySettingsLogic::on_import ( )
protected
void makVrv::DtEntityDisplaySettingsLogic::on_export ( )
protected
void makVrv::DtEntityDisplaySettingsLogic::on_importFilePathChosen ( const std::string &  filePath)
protected
void makVrv::DtEntityDisplaySettingsLogic::on_exportFilePathChosen ( const std::string &  filePath)
protected

Member Data Documentation

DtDe& makVrv::DtEntityDisplaySettingsLogic::myDe
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.

DtSignalConnectionManager makVrv::DtEntityDisplaySettingsLogic::myConnections
protected
DtEntityDisplaySettingsInterface& makVrv::DtEntityDisplaySettingsLogic::myInterface
protected
DtPersistenceControlsInterface& makVrv::DtEntityDisplaySettingsLogic::myPersistenceControls
protected

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)