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

This is the logic for the render settings widget. More...

Public Member Functions

 DtRenderSettingsLogic (DtDe &de, DtPersistenceControlsInterface &persistenceControls, DtRenderSettingsInterface &widget)
 CTOR.
virtual ~DtRenderSettingsLogic ()
 DTOR.

Protected Member Functions

void sendSettingsToGui ()
 Set up the gui with the current Render settings.
void updateChannelProjectionResizePolicy ()
 /brief Called by CTOR. Sets up values in the widget.
Boost slots
void slot_wireframeEnabled (bool enabled)
 Called when wireframe mode is changed by the gui.
void slot_showPerformanceOverlay (bool show)
 Called when the performance overlay is changed by the gui.
void slot_showProfileOverlay (bool show)
 Called when the profile overlay is changed by the gui.
void slot_channelProjectionResizePolicySet (DtChannelConfiguration::ProjectionResizePolicy policy)
 Called when the channel projection resize policy is chanaged in the gui.
void slot_planViewGeocentricOccludedTransparencyChanged (int scale)
 Called when the terrain shadow setting is changed by the gui.
void slot_planViewGeocentricOccludedTransparencySet (float value)
 Called when the terrain shadow setting is changed in the system.
void slot_ddsFlipSet (bool flip)
 Called when the dds flip setting is changed by the gui.
void slot_terrainScalingEnabledSet (bool enabled)
 Called when the enable terrain scaling setting is changed by the gui.
void slot_terrainScaleFactorSet (double scaleFactor)
 Called when the terrain scale factor setting is changed by the gui.
void slot_useAutofocusSet (bool useAutofocus)
 Called when the use autofocus setting is changed by the gui.
void slot_focalDepthSet (double focalDepth)
 Called when the focal depth setting is changed by the gui.
void slot_focalRangeSet (double focalRange)
 Called when the focal range setting is changed by the gui.
void slot_clearTrackHistoriesOnTerrainScaleChangedSet (bool clear)
 Called when the clear track histories when terrain scale checkbox is changed by the gui.
void slot_reloadShaderButtonClicked ()
 Called when reload shader button is clicked by the gui.
void slot_lensFlareEnabledChanged (bool enabled)
 Called when lens flare mode is changed by the gui.
void slot_crepuscularRaysEnabledChanged (bool enabled)
 Called when crepuscular rays (sun rays) mode is changed by the gui.
void slot_componentVisualizationComboChanged (int value)
 Called when the component visualization flag is changed by the gui.
void slot_drawableColorizationChanged (bool value)
 Called when the drawable colorization flag is changed by the gui.
void slot_refreshDrawableColorization ()
 Called when drawable colorization refresh is triggered.

Persistence slots

DtSignalConnectionManager myConnections
 Called when settings are restored.
DtRenderSettingsInterfacemyInterface
 Called when settings are restored.
DtPersistenceControlsInterfacemyPersistenceControls
 Called when settings are restored.
DtDemyDe
 Called when settings are restored.
void on_import ()
 Called when settings are restored.
void on_export ()
 Called when settings are restored.
void on_importFilePathChosen (const std::string &filePath)
 Called when settings are restored.
void on_exportFilePathChosen (const std::string &filePath)
 Called when settings are restored.
virtual void settingsRestored (const DtSettingsBackup *)
 Called when settings are restored.

Detailed Description

This is the logic for the render settings widget.

Constructor & Destructor Documentation

makVrv::DtRenderSettingsLogic::DtRenderSettingsLogic ( DtDe de,
DtPersistenceControlsInterface persistenceControls,
DtRenderSettingsInterface widget 
)

CTOR.

virtual makVrv::DtRenderSettingsLogic::~DtRenderSettingsLogic ( )
virtual

DTOR.

Member Function Documentation

void makVrv::DtRenderSettingsLogic::sendSettingsToGui ( )
protected

Set up the gui with the current Render settings.

void makVrv::DtRenderSettingsLogic::updateChannelProjectionResizePolicy ( )
protected

/brief Called by CTOR. Sets up values in the widget.

void makVrv::DtRenderSettingsLogic::slot_wireframeEnabled ( bool  enabled)
protected

Called when wireframe mode is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_showPerformanceOverlay ( bool  show)
protected

Called when the performance overlay is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_showProfileOverlay ( bool  show)
protected

Called when the profile overlay is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_channelProjectionResizePolicySet ( DtChannelConfiguration::ProjectionResizePolicy  policy)
protected

Called when the channel projection resize policy is chanaged in the gui.

void makVrv::DtRenderSettingsLogic::slot_planViewGeocentricOccludedTransparencyChanged ( int  scale)
protected

Called when the terrain shadow setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_planViewGeocentricOccludedTransparencySet ( float  value)
protected

Called when the terrain shadow setting is changed in the system.

void makVrv::DtRenderSettingsLogic::slot_ddsFlipSet ( bool  flip)
protected

Called when the dds flip setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_terrainScalingEnabledSet ( bool  enabled)
protected

Called when the enable terrain scaling setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_terrainScaleFactorSet ( double  scaleFactor)
protected

Called when the terrain scale factor setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_useAutofocusSet ( bool  useAutofocus)
protected

Called when the use autofocus setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_focalDepthSet ( double  focalDepth)
protected

Called when the focal depth setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_focalRangeSet ( double  focalRange)
protected

Called when the focal range setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_clearTrackHistoriesOnTerrainScaleChangedSet ( bool  clear)
protected

Called when the clear track histories when terrain scale checkbox is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_reloadShaderButtonClicked ( )
protected

Called when reload shader button is clicked by the gui.

void makVrv::DtRenderSettingsLogic::slot_lensFlareEnabledChanged ( bool  enabled)
protected

Called when lens flare mode is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_crepuscularRaysEnabledChanged ( bool  enabled)
protected

Called when crepuscular rays (sun rays) mode is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_componentVisualizationComboChanged ( int  value)
protected

Called when the component visualization flag is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_drawableColorizationChanged ( bool  value)
protected

Called when the drawable colorization flag is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_refreshDrawableColorization ( )
protected

Called when drawable colorization refresh is triggered.

void makVrv::DtRenderSettingsLogic::on_import ( )
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

void makVrv::DtRenderSettingsLogic::on_export ( )
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

void makVrv::DtRenderSettingsLogic::on_importFilePathChosen ( const std::string &  filePath)
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

void makVrv::DtRenderSettingsLogic::on_exportFilePathChosen ( const std::string &  filePath)
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

virtual void makVrv::DtRenderSettingsLogic::settingsRestored ( const DtSettingsBackup )
protectedvirtual

Called when settings are restored.

Resets gui if the restored object type is of this class

Member Data Documentation

DtSignalConnectionManager makVrv::DtRenderSettingsLogic::myConnections
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

DtRenderSettingsInterface& makVrv::DtRenderSettingsLogic::myInterface
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

DtPersistenceControlsInterface& makVrv::DtRenderSettingsLogic::myPersistenceControls
protected

Called when settings are restored.

Resets gui if the restored object type is of this class

DtDe& makVrv::DtRenderSettingsLogic::myDe
protected

Called when settings are restored.

Resets gui if the restored object type is of this class


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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)