VR-Forces 4.8 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) 2020 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  bool performanceOverlayEnabled() const;
80  void setPerformanceOverlayEnabled(bool enabled);
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 atcGlobalModelEnable() const;
95  void setAtcGlobalModelEnable(bool setting);
96 
97  bool atcGlobalTerrainEnable() const;
98  void setAtcGlobalTerrainEnable(bool setting);
99 
100  bool atcEnableDither() const;
101  void setAtcEnableDither(bool setting);
102 
103  bool instancedRenderingEnabled() const;
104  void setInstancedRenderingEnabled(bool setting);
105 
106  int componentVisualizationMode() const;
107  void setComponentVisualizationMode(int mode);
108 
109  void setTerrainMagnificationHighLodAngle(float angle);
110  float terrainMagnificationHighLodAngle() const;
111 
112  bool wheelRotationEnable() const;
113  void setWheelRotationEnable(bool setting);
114 
115  bool artPartSmoothingEnabled() const;
116  void setArtPartSmoothingEnabled(bool setting);
117 
118  float artPartSmoothingPeriod() const;
119  void setArtPartSmoothingPeriod(float period);
120 
122 
125 
127  void setFromRecord(const makArchives::DtRenderSettingsRecord& rec);
128 
130  void getRecord(makArchives::DtRenderSettingsRecord& rec) const;
131 
133  virtual const DtRenderSettingsBackup* settingsBackup() const;
134 
136  virtual DtRenderSettingsBackup* settingsBackup();
137 
139  virtual void backup();
140 
142 
144  static const std::string& className();
145 
146  protected:
147 
152 
155 
156  protected:
157 
163  double myFocalDepth;
164  double myFocalRange;
183 
185 
186  };
187 
188 }
a read settings lock on a setting object.
Definition: DtReadSettingsLock.h:51
DtSharedRecordSettingsBackup< DtSharedRenderSettings, makArchives::DtRenderSettingsRecord > DtRenderSettingsBackup
Definition: DtSharedRenderSettings.h:29
Contains makArchives::DtRenderSettingsRecord class.
bool myProfilerOverlayEnabled
Definition: DtSharedRenderSettings.h:170
double myWaterOnScreenSize
Definition: DtSharedRenderSettings.h:165
bool myAtcEnableDither
Definition: DtSharedRenderSettings.h:179
bool myInstancedRenderingEnabled
Definition: DtSharedRenderSettings.h:174
The shared settings manager, is the global object responsible for managing any shared settings object...
Definition: DtSharedSettingsManager.h:45
bool myTerrainScalingEnabled
Definition: DtSharedRenderSettings.h:160
The base class for all shared settings.
Definition: DtSharedSettings.h:45
double myTerrainScaleFactor
Definition: DtSharedRenderSettings.h:161
float myTerrainMagnificationHighLodAngle
Definition: DtSharedRenderSettings.h:176
bool myWireframeMode
Definition: DtSharedRenderSettings.h:158
double myFocalRange
Definition: DtSharedRenderSettings.h:164
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
bool myAtcGlobalModelEnable
Definition: DtSharedRenderSettings.h:177
Contains the DtSharedSettings class declaration.
bool myLensFlareEnabled
Definition: DtSharedRenderSettings.h:172
bool myArtPartSmoothingEnabled
Definition: DtSharedRenderSettings.h:181
double myFocalDepth
Definition: DtSharedRenderSettings.h:163
a write settings lock on a setting object.
Definition: DtWriteSettingsLock.h:50
DtRenderSettingsBackup * mySettingsBackup
Definition: DtSharedRenderSettings.h:184
A DtRenderSettingsRecord contains the information to regarding the rendering settings the application...
Definition: DtRenderSettingsRecord.h:18
bool myPerformanceOverlayEnabled
Definition: DtSharedRenderSettings.h:169
bool myWheelRotationEnabled
Definition: DtSharedRenderSettings.h:180
float myIndirectLodTransitionPercentage
Definition: DtSharedRenderSettings.h:166
const char int mode
Definition: ioapi.h:38
bool myCrepuscularRaysEnabled
Definition: DtSharedRenderSettings.h:173
int myComponentVisualizationMode
Definition: DtSharedRenderSettings.h:175
bool myAtcGlobalTerrainEnable
Definition: DtSharedRenderSettings.h:178
bool myUseAutofocus
Definition: DtSharedRenderSettings.h:162
bool myClearTrackHistoryOnTerrainScaleChanged
Definition: DtSharedRenderSettings.h:167
bool myImguiOverlayEnabled
Definition: DtSharedRenderSettings.h:171
float myPlanViewGeocentricOccludedTransparency
Definition: DtSharedRenderSettings.h:168
The makVrv::DtSharedRecordSettingsBackup is a templaced class that settings records will use in order...
Definition: DtRecordSettingsBackup.h:200
bool myShadowState
Definition: DtSharedRenderSettings.h:159
The shared render settings.
Definition: DtSharedRenderSettings.h:36
float myArtPartSmoothingPeriod
Definition: DtSharedRenderSettings.h:182

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)