VR-Forces 4.7 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) 2017 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 terrainScalingEnabled() const;
50  void setTerrainScalingEnabled(bool enabled);
51 
52  double terrainScaleFactor() const;
53  void setTerrainScaleFactor(double scaleFactor);
54 
55  bool clearTrackHistoryOnTerrainScaleChanged() const;
56  void setClearTrackHistoryOnTerrainScaleChanged(bool clear);
57 
58  bool useAutofocus() const;
59  void setUseAutofocus(bool useAutofocus);
60 
61  double focalDepth() const;
62  void setFocalDepth(double focalDepth);
63 
64  double focalRange() const;
65  void setFocalRange(double focalRange);
66 
67  double waterOnScreenSize() const;
68  void setWaterOnScreenSize(double value);
69 
70  void setPlanViewGeocentricOccludedTransparency(float f);
71  float planViewGeocentricOccludedTransparency() const;
72 
73  bool shadowMode() const;
74  void setShadowMode(bool setting);
75 
76  bool performanceOverlayEnabled() const;
77  void setPerformanceOverlayEnabled(bool enabled);
78 
79  bool profilerOverlayEnabled() const;
80  void setProfilerOverlayEnabled(bool enabled);
81 
82  bool imguiOverlayEnabled() const;
83  void setImguiOverlayEnabled(bool enabled);
84 
85  bool lensFlareEnabled() const;
86  void setLensFlareEnabled(bool setting);
87 
88  bool crepuscularRaysEnabled() const;
89  void setCrepuscularRaysEnabled(bool setting);
90 
91  bool atcGlobalModelEnable() const;
92  void setAtcGlobalModelEnable(bool setting);
93 
94  bool atcGlobalTerrainEnable() const;
95  void setAtcGlobalTerrainEnable(bool setting);
96 
97  bool atcEnableDither() const;
98  void setAtcEnableDither(bool setting);
99 
100  bool instancedRenderingEnabled() const;
101  void setInstancedRenderingEnabled(bool setting);
102 
103  int componentVisualizationMode() const;
104  void setComponentVisualizationMode(int mode);
105 
106  void setPagedLodMagnificationHighLodAngle(float angle);
107  float pagedLodMagnificationHighLodAngle() const;
108 
110 
113 
115  void setFromRecord(const makArchives::DtRenderSettingsRecord& rec);
116 
118  void getRecord(makArchives::DtRenderSettingsRecord& rec) const;
119 
121  virtual const DtRenderSettingsBackup* settingsBackup() const;
122 
124  virtual DtRenderSettingsBackup* settingsBackup();
125 
127  virtual void backup();
128 
130 
132  static std::string className();
133 
134  protected:
135 
140 
143 
144  protected:
145 
150  double myFocalDepth;
151  double myFocalRange;
167 
169 
170  };
171 
172 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)