VR-Forces 4.8 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) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
15 
16 #include <vrvUtil/DtUnicode.h>
17 
18 namespace makVrv
19 {
20  class DtShadowSettingsInterface;
21  class DtPersistenceControlsInterface;
22  class DtSettingsBackup;
23  class DtDe;
24 
28  {
29  public:
30 
33  DtPersistenceControlsInterface& persistenceControls,
35 
37  virtual ~DtShadowSettingsLogic();
38 
40  void sendSettingsToGui();
41 
42  protected:
44  //@ {
45 
47  void slot_shadowsSet(bool show);
48 
50  void slot_entitiesCastsShadowsChanged(bool enabled);
51 
53  void slot_propsCastsShadowsChanged(bool enabled);
54 
56  void slot_terrainCastsShadowsChanged(bool enabled);
57 
59  void slot_moonCastsShadowsChanged(bool enabled);
60 
62  void slot_cloudsCastsShadowsChanged(bool enabled);
63 
65  void slot_visualizeShadowChanged(bool enabled);
66 
68  void slot_numberOfSplitsChanged(int val);
69 
71  void slot_useFrontFaceCullingChanged(bool enabled);
72 
74  void slot_useCachedFarCascadeChanged(bool enabled);
75 
76  void slot_farCascadeUpdateFrequencyChanged(double value);
77 
78  void slot_adjustFarAndFlagsBasedOnHATChanged(bool enabled);
79 
81  void slot_useViewportMulticastChanged(bool enabled);
82 
84  void slot_usePolygonOffsetChanged(bool enabled);
85 
87  void slot_polygonOffsetCascadeChanged(int splitIndex);
88 
90  void slot_polygonOffsetChanged(float factor, float units);
91 
93  void slot_globalShadowMapSizeChanged(int val);
94 
96  void slot_useMaximumViewDistanceChanged(bool enabled);
97 
99  void slot_maximumViewDistanceChanged(double val);
100 
102  void slot_splitNearDistanceMinimumBiasChanged(double val);
103 
105  void slot_splitNearDistanceMaximumBiasChanged(double val);
106 
108  void slot_shadowAmbientFactorChanged(float val);
109 
111  void slot_splitSchemeInterpolationChanged(double val);
112 
114  void slot_shadowStabilizationSchemeChanged(const DtUnicode& selectedString);
115 
117  void slot_splitSelectionSchemeChanged(const DtUnicode& selectedString);
118 
120  void slot_dataStorageSchemeChanged(const DtUnicode& selectedString);
121 
123  void slot_preFilteringSchemeChanged(const DtUnicode& selectedString);
124 
126  void slot_filteringSchemeChanged(const DtUnicode& selectedString);
127 
129  void slot_poissonDiskSamplingSchemeChanged(const DtUnicode& selectedString);
130 
132  void slot_numPersistentPassesPerCascadeChanged(unsigned int val);
133 
135  void slot_numAdditionalPassesPerCascadeChanged(unsigned int val);
136 
138  void slot_pcfFilterWidthChanged(unsigned int val);
139 
141  void slot_blendCascadesBoundariesCheckChanged(bool enabled);
142 
144  void slot_useSDSMChanged(bool enabled);
145 
147  void slot_sdsmReadBackLatencyChanged(unsigned int val);
148 
149  //@ }
150 
152  //@ {
153  void on_import();
154  void on_export();
155  void on_importFilePathChosen(const std::string& filePath);
156  void on_exportFilePathChosen(const std::string& filePath);
157  //@ }
158 
161  virtual void settingsRestored(const DtSettingsBackup*);
162 
163  protected:
168  };
169 
170 } // namespace makVrv
171 
DtSignalConnectionManager myConnections
Definition: DtShadowSettingsLogic.h:164
A unicode string.
Definition: DtUnicode.h:33
DtDe & myDe
Definition: DtShadowSettingsLogic.h:167
DtShadowSettingsInterface & myInterface
Definition: DtShadowSettingsLogic.h:165
This is the interface for the DtShadowSettingsPage.
Definition: DtShadowSettingsInterface.h:19
Contains makVrv::DtShadowSettingsObject class.
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
DtPersistenceControlsInterface & myPersistenceControls
Definition: DtShadowSettingsLogic.h:166
Abstract interface for controlling persistence of state in a dialog.
Definition: DtPersistenceControlsInterface.h:20
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:24
Logic class for editing shadow settings.
Definition: DtShadowSettingsLogic.h:27
Provides a method of doign settings backup.
Definition: DtSettingsBackup.h:26
Base class to provide boost signal/slot management.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)