VR-Forces 4.3 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_ambientFactorSet (double ambientFactor)
 Called when the ambient factor setting is changed by the gui.
void slot_useMaterialAmbientSet (bool useMaterialAmbient)
 Called when the use material ambient value setting is changed by the gui.
void slot_diffuseScaleFactorSet (double diffuseScaleFactor)
 Called when the diffuse scale factor setting is changed by the gui.
void slot_useMaterialDiffuseSet (bool useMaterialDiffuse)
 Called when the use material diffuse value 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 on_reloadShaderButtonClicked ()
 Called when reload shader button is clicked by the gui.
void slot_perPixelLightingEnabledChanged (bool enabled)
 Called when per-pixel lighting mode is changed by the gui.
void slot_oceanPlanarReflectionsEnabledChanged (bool enabled)
 Called when planar reflections mode is changed by the gui.
void slot_oceanPlanarReflectionsLODScaleChanged (float lodScale)
 Called when planar reflections LOD scale is changed by the gui.
void slot_oceanPlanarReflectionsSpecifyFarClipChanged (bool enabled)
 Called when planar reflections specify far clip is changed by the gui.
void slot_oceanPlanarReflectionsFarClipChanged (double farClip)
 Called when planar reflections far clip is changed 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_waveSprayEffectChanged (bool enabled)
 Called when sea spray effect is changed by the gui.
void slot_rotorWashDecalChanged (bool enabled)
 Called when rotor wash decal is changed by the gui.
void slot_tidalStreamWakesChanged (bool enabled)
 Called when tidal stream wakes is changed by the gui.
void slot_oceanHeightMapResolutionChanged (double resolution)
 Called when ocean height map resolution is changed by the gui.
void slot_oceanHeightMapTextureSizeChanged (int val)
 Called when ocean height map resolution is changed by the gui.
void slot_componentVisualizationComboChanged (int value)
 Called when the component visualization flag is changed by the gui.
void slot_pagedLodMagnificationScaleFactorChanged (double factor)
 Called when wireframe mode is changed by the gui.
void slot_regenerateCubeMapThresholdChanged (double threshold)
 Called when regenerate cube map threshold is changed by the gui.
void slot_regenerateHeightMapPercThresholdChanged (double threshold)
 Called when regenerate height map percentage threshold is changed by the gui.
void slot_omitCloudInCubeMapChanged (bool enabled)
 Called when omit cloud in cube map is changed by the gui.

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_ambientFactorSet ( double  ambientFactor)
protected

Called when the ambient factor setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_useMaterialAmbientSet ( bool  useMaterialAmbient)
protected

Called when the use material ambient value setting is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_diffuseScaleFactorSet ( double  diffuseScaleFactor)
protected

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

void makVrv::DtRenderSettingsLogic::slot_useMaterialDiffuseSet ( bool  useMaterialDiffuse)
protected

Called when the use material diffuse value 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::on_reloadShaderButtonClicked ( )
protected

Called when reload shader button is clicked by the gui.

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

Called when per-pixel lighting mode is changed by the gui.

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

Called when planar reflections mode is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_oceanPlanarReflectionsLODScaleChanged ( float  lodScale)
protected

Called when planar reflections LOD scale is changed by the gui.

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

Called when planar reflections specify far clip is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_oceanPlanarReflectionsFarClipChanged ( double  farClip)
protected

Called when planar reflections far clip is changed 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_waveSprayEffectChanged ( bool  enabled)
protected

Called when sea spray effect is changed by the gui.

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

Called when rotor wash decal is changed by the gui.

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

Called when tidal stream wakes is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_oceanHeightMapResolutionChanged ( double  resolution)
protected

Called when ocean height map resolution is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_oceanHeightMapTextureSizeChanged ( int  val)
protected

Called when ocean height map resolution 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_pagedLodMagnificationScaleFactorChanged ( double  factor)
protected

Called when wireframe mode is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_regenerateCubeMapThresholdChanged ( double  threshold)
protected

Called when regenerate cube map threshold is changed by the gui.

void makVrv::DtRenderSettingsLogic::slot_regenerateHeightMapPercThresholdChanged ( double  threshold)
protected

Called when regenerate height map percentage threshold is changed by the gui.

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

Called when omit cloud in cube map is changed by the gui.

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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)