VR-Forces 4.10 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. More...
 
virtual ~DtRenderSettingsLogic ()
 DTOR. More...
 

Protected Member Functions

void sendSettingsToGui ()
 Set up the gui with the current Render settings. More...
 
void updateChannelProjectionResizePolicy ()
 Called by CTOR. Sets up values in the widget. More...
 
Boost slots
void slot_wireframeEnabled (bool enabled)
 Called when wireframe mode is changed by the gui. More...
 
void slot_shadowEnabled (bool enabled)
 Called when shadow mode is changed by the gui. More...
 
void slot_showPerformanceOverlay (bool show)
 Called when the performance overlay is changed by the gui. More...
 
void slot_showImguiOverlay (bool show)
 Called when the imgui overlay is changed by the gui. More...
 
void slot_channelProjectionResizePolicySet (DtChannelConfiguration::ProjectionResizePolicy policy)
 Called when the channel projection resize policy is chanaged in the gui. More...
 
void slot_planViewGeocentricOccludedTransparencyChanged (int scale)
 Called when the terrain shadow setting is changed by the gui. More...
 
void slot_planViewGeocentricOccludedTransparencySet (float value)
 Called when the terrain shadow setting is changed in the system. More...
 
void slot_ddsFlipSet (bool flip)
 Called when the dds flip setting is changed by the gui. More...
 
void slot_terrainScalingEnabledSet (bool enabled)
 Called when the enable terrain scaling setting is changed by the gui. More...
 
void slot_terrainScaleFactorSet (double scaleFactor)
 Called when the terrain scale factor setting is changed by the gui. More...
 
void slot_useAutofocusSet (bool useAutofocus)
 Called when the use autofocus setting is changed by the gui. More...
 
void slot_focalDepthSet (double focalDepth)
 Called when the focal depth setting is changed by the gui. More...
 
void slot_focalRangeSet (double focalRange)
 Called when the focal range setting is changed by the gui. More...
 
void slot_waterOnScreenSizeSet (double size)
 Called when the water on screen effect size changed by the gui. More...
 
void slot_indirectLodTransitionPercentageSet (float val)
 Called when the indirect lod transition percentage changed via the gui. More...
 
void slot_clearTrackHistoriesOnTerrainScaleChangedSet (bool clear)
 Called when the clear track histories when terrain scale checkbox is changed by the gui. More...
 
void slot_reloadShaderButtonClicked ()
 Called when reload shader button is clicked by the gui. More...
 
void slot_crepuscularRaysEnabledChanged (bool enabled)
 Called when crepuscular rays (sun rays) mode is changed by the gui. More...
 
void slot_occlusionCullingEnabledChanged (bool enabled)
 Called when occlusion culling is enabled / disabled by the gui. More...
 
void slot_componentVisualizationComboChanged (int value)
 Called when the component visualization flag is changed by the gui. More...
 
void slot_drawableColorizationChanged (bool value)
 Called when the drawable colorization flag is changed by the gui. More...
 
void slot_refreshDrawableColorization ()
 Called when drawable colorization refresh is triggered. More...
 
void slot_atcGlobalModelEnableChanged (bool state)
 Called when the Alpha to Coverage for models enabled is changed by the gui. More...
 
void slot_atcGlobalTerrainEnableChanged (bool state)
 Called when the Alpha to Coverage for terrain patches is changed by the gui. More...
 
void slot_atcEnableDitherChanged (bool state)
 called when the alpha to coverage dither shader enable is changed by the gui More...
 

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. More...
 

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

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_shadowEnabled ( bool  enabled)
protected

Called when shadow 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_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_indirectLodTransitionPercentageSet ( float  val)
protected

Called when the indirect lod transition percentage changed via 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_occlusionCullingEnabledChanged ( bool  enabled)
protected

Called when occlusion culling is enabled / disabled 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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)