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
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_showImguiOverlay (bool show)
 Called when the imgui 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_waterOnScreenSizeSet (double size)
 Called when the water on screen effect size 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_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.
void slot_atcGlobalModelEnableChanged (bool state)
 Called when the Alpha to Coverage for models enabled is changed by the gui.
void slot_atcGlobalTerrainEnableChanged (bool state)
 Called when the Alpha to Coverage for terrain patches is changed by the gui.
void slot_atcEnableDitherChanged (bool state)
 called when the alpha to coverage dither shader enable is changed by the gui

Persistence slots

DtSignalConnectionManager myConnections
DtRenderSettingsInterfacemyInterface
DtPersistenceControlsInterfacemyPersistenceControls
DtDemyDe
void on_import ()
void on_export ()
void on_importFilePathChosen (const std::string &filePath)
void on_exportFilePathChosen (const std::string &filePath)
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_showImguiOverlay ( bool  show)
protected

Called when the imgui 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_waterOnScreenSizeSet ( double  size)
protected

Called when the water on screen effect size 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_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::slot_atcGlobalModelEnableChanged ( bool  state)
protected

Called when the Alpha to Coverage for models enabled is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_atcGlobalTerrainEnableChanged ( bool  state)
protected

Called when the Alpha to Coverage for terrain patches is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_atcEnableDitherChanged ( bool  state)
protected

called when the alpha to coverage dither shader enable is changed by the gui

void makVrv::DtRenderSettingsLogic::on_import ( )
protected
void makVrv::DtRenderSettingsLogic::on_export ( )
protected
void makVrv::DtRenderSettingsLogic::on_importFilePathChosen ( const std::string &  filePath)
protected
void makVrv::DtRenderSettingsLogic::on_exportFilePathChosen ( const std::string &  filePath)
protected
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
DtRenderSettingsInterface& makVrv::DtRenderSettingsLogic::myInterface
protected
DtPersistenceControlsInterface& makVrv::DtRenderSettingsLogic::myPersistenceControls
protected
DtDe& makVrv::DtRenderSettingsLogic::myDe
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)