VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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_usePolygonOffsetChanged(bool enabled);
70 
72  void slot_polygonOffsetCascadeChanged(int splitIndex);
73 
75  void slot_polygonOffsetChanged(float factor, float units);
76 
78  void slot_globalShadowMapSizeChanged(int val);
79 
81  void slot_useMaximumViewDistanceChanged(bool enabled);
82 
84  void slot_maximumViewDistanceChanged(double val);
85 
87  void slot_splitNearDistanceMinimumBiasChanged(double val);
88 
90  void slot_splitNearDistanceMaximumBiasChanged(double val);
91 
93  void slot_shadowAmbientFactorChanged(float val);
94 
96  void slot_splitSchemeInterpolationChanged(double val);
97 
99  void slot_shadowStabilizationSchemeChanged(const std::string& selectedString);
100 
102  void slot_splitSelectionSchemeChanged(const std::string& selectedString);
103 
105  void slot_dataStorageSchemeChanged(const std::string& selectedString);
106 
108  void slot_preFilteringSchemeChanged(const std::string& selectedString);
109 
111  void slot_filteringSchemeChanged(const std::string& selectedString);
112 
114  void slot_poissonDiskSamplingSchemeChanged(const std::string& selectedString);
115 
117  void slot_numPersistentPassesPerCascadeChanged(unsigned int val);
118 
120  void slot_numAdditionalPassesPerCascadeChanged(unsigned int val);
121 
123  void slot_pcfFilterWidthChanged(unsigned int val);
124 
126  void slot_blendCascadesBoundariesCheckChanged(bool enabled);
127 
129  void slot_useSDSMChanged(bool enabled);
130 
132  void slot_sdsmReadBackLatencyChanged(unsigned int val);
133 
134  //@ }
135 
137  //@ {
138  void on_import();
139  void on_export();
140  void on_importFilePathChosen(const std::string& filePath);
141  void on_exportFilePathChosen(const std::string& filePath);
142  //@ }
143 
146  virtual void settingsRestored(const DtSettingsBackup*);
147 
148  protected:
153  };
154 
155 }

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)