VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtShadowSettingsLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
15 
16 namespace makVrv
17 {
18  class DtShadowSettingsInterface;
19  class DtPersistenceControlsInterface;
20  class DtSettingsBackup;
21  class DtDe;
22 
26  {
27  public:
28 
31  DtPersistenceControlsInterface& persistenceControls,
33 
35  virtual ~DtShadowSettingsLogic();
36 
38  void sendSettingsToGui();
39 
40  protected:
42  //@ {
43 
45  void slot_shadowsSet(bool show);
46 
48  void slot_entitiesCastsShadowsChanged(bool enabled);
49 
51  void slot_propsCastsShadowsChanged(bool enabled);
52 
54  void slot_terrainCastsShadowsChanged(bool enabled);
55 
57  void slot_cloudsCastsShadowsChanged(bool enabled);
58 
60  void slot_visualizeShadowChanged(bool enabled);
61 
63  void slot_numberOfSplitsChanged(int val);
64 
66  void slot_useFrontFaceCullingChanged(bool enabled);
67 
69  void slot_useCachedFarCascadeChanged(bool enabled);
70 
71  void slot_farCascadeUpdateFrequencyChanged(double value);
72 
73  void slot_adjustFarAndFlagsBasedOnHATChanged(bool enabled);
74 
76  void slot_useViewportMulticastChanged(bool enabled);
77 
79  void slot_usePolygonOffsetChanged(bool enabled);
80 
82  void slot_polygonOffsetCascadeChanged(int splitIndex);
83 
85  void slot_polygonOffsetChanged(float factor, float units);
86 
88  void slot_globalShadowMapSizeChanged(int val);
89 
91  void slot_useMaximumViewDistanceChanged(bool enabled);
92 
94  void slot_maximumViewDistanceChanged(double val);
95 
97  void slot_splitNearDistanceMinimumBiasChanged(double val);
98 
100  void slot_splitNearDistanceMaximumBiasChanged(double val);
101 
103  void slot_shadowAmbientFactorChanged(float val);
104 
106  void slot_splitSchemeInterpolationChanged(double val);
107 
109  void slot_shadowStabilizationSchemeChanged(const std::string& selectedString);
110 
112  void slot_splitSelectionSchemeChanged(const std::string& selectedString);
113 
115  void slot_dataStorageSchemeChanged(const std::string& selectedString);
116 
118  void slot_preFilteringSchemeChanged(const std::string& selectedString);
119 
121  void slot_filteringSchemeChanged(const std::string& selectedString);
122 
124  void slot_poissonDiskSamplingSchemeChanged(const std::string& selectedString);
125 
127  void slot_numPersistentPassesPerCascadeChanged(unsigned int val);
128 
130  void slot_numAdditionalPassesPerCascadeChanged(unsigned int val);
131 
133  void slot_pcfFilterWidthChanged(unsigned int val);
134 
136  void slot_blendCascadesBoundariesCheckChanged(bool enabled);
137 
139  void slot_useSDSMChanged(bool enabled);
140 
142  void slot_sdsmReadBackLatencyChanged(unsigned int val);
143 
144  //@ }
145 
147  //@ {
148  void on_import();
149  void on_export();
150  void on_importFilePathChosen(const std::string& filePath);
151  void on_exportFilePathChosen(const std::string& filePath);
152  //@ }
153 
156  virtual void settingsRestored(const DtSettingsBackup*);
157 
158  protected:
163  };
164 
165 }

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)