VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSharedRenderSettings.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
15 
17 
18 #include <string>
19 #include <vector>
20 
21 namespace makArchives
22 {
23  class DtRenderSettingsRecord;
24 }
25 
26 namespace makVrv
27 {
28  class DtDe;
30 
33 
37  {
38  public:
39 
41  virtual ~DtSharedRenderSettings();
42 
45 
46  bool wireframeMode() const;
47  void setWireframeMode(bool setting);
48 
49  bool shadowState() const;
50  void setShadowState(bool setting);
51 
52  bool terrainScalingEnabled() const;
53  void setTerrainScalingEnabled(bool enabled);
54 
55  double terrainScaleFactor() const;
56  void setTerrainScaleFactor(double scaleFactor);
57 
58  bool clearTrackHistoryOnTerrainScaleChanged() const;
59  void setClearTrackHistoryOnTerrainScaleChanged(bool clear);
60 
61  bool useAutofocus() const;
62  void setUseAutofocus(bool useAutofocus);
63 
64  double focalDepth() const;
65  void setFocalDepth(double focalDepth);
66 
67  double focalRange() const;
68  void setFocalRange(double focalRange);
69 
70  double waterOnScreenSize() const;
71  void setWaterOnScreenSize(double value);
72 
73  float indirectLodTransitionPercentage() const;
74  void setIndirectLodTransitionPercentage(float value);
75 
76  void setPlanViewGeocentricOccludedTransparency(float f);
77  float planViewGeocentricOccludedTransparency() const;
78 
79  unsigned int performanceOverlayState() const;
80  void setPerformanceOverlayState(unsigned int state);
81 
82  bool profilerOverlayEnabled() const;
83  void setProfilerOverlayEnabled(bool enabled);
84 
85  bool imguiOverlayEnabled() const;
86  void setImguiOverlayEnabled(bool enabled);
87 
88  bool lensFlareEnabled() const;
89  void setLensFlareEnabled(bool setting);
90 
91  bool crepuscularRaysEnabled() const;
92  void setCrepuscularRaysEnabled(bool setting);
93 
94  bool occlusionCullingEnabled() const;
95  void setOcclusionCullingEnabled(bool setting);
96 
97  bool atcGlobalModelEnable() const;
98  void setAtcGlobalModelEnable(bool setting);
99 
100  bool atcGlobalTerrainEnable() const;
101  void setAtcGlobalTerrainEnable(bool setting);
102 
103  bool atcEnableDither() const;
104  void setAtcEnableDither(bool setting);
105 
106  bool indirectRenderingEnabled() const;
107  void setIndirectRenderingEnabled(bool setting);
108 
109  bool colorizePerDrawableEnabled() const;
110  void setColorizePerDrawableEnabled(bool setting);
111 
112  int componentVisualizationMode() const;
113  void setComponentVisualizationMode(int mode);
114 
115  void setTerrainMagnificationHighLodAngle(float angle);
116  float terrainMagnificationHighLodAngle() const;
117 
119 
122 
124  void setFromRecord(const makArchives::DtRenderSettingsRecord& rec);
125 
127  void getRecord(makArchives::DtRenderSettingsRecord& rec) const;
128 
130  virtual const DtRenderSettingsBackup* settingsBackup() const;
131 
133  virtual DtRenderSettingsBackup* settingsBackup();
134 
136  virtual void backup();
137 
139 
141  static const std::string& className();
142 
143  protected:
144 
149 
152 
153  protected:
154 
160  double myFocalDepth;
161  double myFocalRange;
179 
181 
182  };
183 
184 }
bool myEnableOcclusionCulling
Definition: DtSharedRenderSettings.h:173
a read settings lock on a setting object.
Definition: DtReadSettingsLock.h:48
DtSharedRecordSettingsBackup< DtSharedRenderSettings, makArchives::DtRenderSettingsRecord > DtRenderSettingsBackup
Definition: DtSharedRenderSettings.h:29
Contains makArchives::DtRenderSettingsRecord class.
bool myProfilerOverlayEnabled
Definition: DtSharedRenderSettings.h:167
double myWaterOnScreenSize
Definition: DtSharedRenderSettings.h:162
bool myAtcEnableDither
Definition: DtSharedRenderSettings.h:178
The shared settings manager, is the global object responsible for managing any shared settings object...
Definition: DtSharedSettingsManager.h:42
unsigned int myPerformanceOverlayState
Definition: DtSharedRenderSettings.h:166
bool myTerrainScalingEnabled
Definition: DtSharedRenderSettings.h:157
The base class for all shared settings.
Definition: DtSharedSettings.h:45
double myTerrainScaleFactor
Definition: DtSharedRenderSettings.h:158
float myTerrainMagnificationHighLodAngle
Definition: DtSharedRenderSettings.h:175
bool myWireframeMode
Definition: DtSharedRenderSettings.h:155
double myFocalRange
Definition: DtSharedRenderSettings.h:161
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
bool myAtcGlobalModelEnable
Definition: DtSharedRenderSettings.h:176
Contains the DtSharedSettings class declaration.
bool myLensFlareEnabled
Definition: DtSharedRenderSettings.h:169
double myFocalDepth
Definition: DtSharedRenderSettings.h:160
a write settings lock on a setting object.
Definition: DtWriteSettingsLock.h:47
DtRenderSettingsBackup * mySettingsBackup
Definition: DtSharedRenderSettings.h:180
A DtRenderSettingsRecord contains the information to regarding the rendering settings the application...
Definition: DtRenderSettingsRecord.h:18
bool myIndirectRenderingEnabled
Definition: DtSharedRenderSettings.h:171
float myIndirectLodTransitionPercentage
Definition: DtSharedRenderSettings.h:163
const char int mode
Definition: ioapi.h:38
bool myCrepuscularRaysEnabled
Definition: DtSharedRenderSettings.h:170
bool myColorizeDrawablesEnabled
Definition: DtSharedRenderSettings.h:172
int myComponentVisualizationMode
Definition: DtSharedRenderSettings.h:174
bool myAtcGlobalTerrainEnable
Definition: DtSharedRenderSettings.h:177
bool myUseAutofocus
Definition: DtSharedRenderSettings.h:159
bool myClearTrackHistoryOnTerrainScaleChanged
Definition: DtSharedRenderSettings.h:164
bool myImguiOverlayEnabled
Definition: DtSharedRenderSettings.h:168
float myPlanViewGeocentricOccludedTransparency
Definition: DtSharedRenderSettings.h:165
The makVrv::DtSharedRecordSettingsBackup is a templaced class that settings records will use in order...
Definition: DtRecordSettingsBackup.h:197
bool myShadowState
Definition: DtSharedRenderSettings.h:156
The shared render settings.
Definition: DtSharedRenderSettings.h:36

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)