VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtSharedRenderSettings.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 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 
29  class DtDe;
31 
34 
38  {
39  public:
40 
42  virtual ~DtSharedRenderSettings();
43 
46 
47  bool wireframeMode() const;
48  void setWireframeMode(bool setting);
49 
50  bool terrainScalingEnabled() const;
51  void setTerrainScalingEnabled(bool enabled);
52 
53  double terrainScaleFactor() const;
54  void setTerrainScaleFactor(double scaleFactor);
55 
56  bool clearTrackHistoryOnTerrainScaleChanged() const;
57  void setClearTrackHistoryOnTerrainScaleChanged(bool clear);
58 
59  bool useAutofocus() const;
60  void setUseAutofocus(bool useAutofocus);
61 
62  double focalDepth() const;
63  void setFocalDepth(double focalDepth);
64 
65  double focalRange() const;
66  void setFocalRange(double focalRange);
67 
68  double ambientFactor() const;
69  void setAmbientFactor(double ambientFactor);
70 
71  bool useMaterialAmbient() const;
72  void setUseMaterialAmbient(bool useMaterialAmbient);
73 
74  double diffuseScaleFactor() const;
75  void setDiffuseScaleFactor(double diffuseScaleFactor);
76 
77  bool useMaterialDiffuse() const;
78  void setUseMaterialDiffuse(bool useMaterialDiffuse);
79 
80  void setPlanViewGeocentricOccludedTransparency(float f);
81  float planViewGeocentricOccludedTransparency() const;
82 
83  bool shadowMode() const;
84  void setShadowMode(bool setting);
85 
86  bool performanceOverlayEnabled() const;
87  void setPerformanceOverlayEnabled(bool enabled);
88 
89  bool profilerOverlayEnabled() const;
90  void setProfilerOverlayEnabled(bool enabled);
91 
92  bool perPixelLightingEnabled() const;
93  void setPerPixelLightingEnabled( bool setting );
94 
95  bool oceanPlanarReflectionsEnabled() const;
96  void setOceanPlanarReflectionsEnabled( bool setting );
97 
98  float oceanPlanarReflectionsLODScale() const;
99  void setOceanPlanarReflectionsLODScale( float setting );
100 
101  bool oceanPlanarReflectionsSpecifyFarClip() const;
102  void setOceanPlanarReflectionsSpecifyFarClip( bool setting );
103 
104  double oceanPlanarReflectionsFarClip() const;
105  void setOceanPlanarReflectionsFarClip( double setting );
106 
107  double staticOceanLodRange() const;
108  void setStaticOceanLodRange( double range );
109 
110  bool lensFlareEnabled() const;
111  void setLensFlareEnabled( bool setting );
112 
113  bool crepuscularRaysEnabled() const;
114  void setCrepuscularRaysEnabled( bool setting );
115 
116  bool waveSprayEffectEnabled() const;
117  void setWaveSprayEffectEnabled( bool setting );
118 
119  bool rotorWashDecalEnabled() const;
120  void setRotorWashDecalEnabled( bool setting );
121 
122  double oceanHeightMapResolution() const;
123  void setOceanHeightMapResolution( double setting );
124 
125  bool instancedRenderingEnabled() const;
126  void setInstancedRenderingEnabled(bool setting);
127 
128  bool tidalStreamWakesEnabled() const;
129  void setTidalStreamWakesEnabled(bool setting);
130 
131  int componentVisualizationMode() const;
132  void setComponentVisualizationMode(int mode);
133 
134  double regenerateCubeMapThreshold() const;
135  void setRegenerateCubeMapThreshold(double threshold);
136 
137  double regenerateHeightMapPercThreshold() const;
138  void setRegenerateHeightMapPercThreshold(double threshold);
139 
140  bool omitCloudInCubeMap() const;
141  void setOmitCloudInCubeMap(bool omit);
142 
143  int oceanHeightMapTextureSize() const;
144  void setOceanHeightMapTextureSize(int setting);
145 
147 
150 
152  void setFromRecord( const makArchives::DtRenderSettingsRecord& rec );
153 
155  void getRecord( makArchives::DtRenderSettingsRecord& rec ) const;
156 
158  virtual const DtRenderSettingsBackup* settingsBackup() const;
159 
161  virtual DtRenderSettingsBackup* settingsBackup();
162 
164  virtual void backup();
165 
167 
169  static std::string className();
170 
171  protected:
172 
177 
180 
181  protected:
182 
187  double myFocalDepth;
188  double myFocalRange;
217 
218  };
219 
220 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)