VR-Forces Development_Version 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) 2016 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  void setPlanViewGeocentricOccludedTransparency(float f);
68  float planViewGeocentricOccludedTransparency() const;
69 
70  bool shadowMode() const;
71  void setShadowMode(bool setting);
72 
73  bool performanceOverlayEnabled() const;
74  void setPerformanceOverlayEnabled(bool enabled);
75 
76  bool profilerOverlayEnabled() const;
77  void setProfilerOverlayEnabled(bool enabled);
78 
79  bool lensFlareEnabled() const;
80  void setLensFlareEnabled( bool setting );
81 
82  bool crepuscularRaysEnabled() const;
83  void setCrepuscularRaysEnabled( bool setting );
84 
85  bool instancedRenderingEnabled() const;
86  void setInstancedRenderingEnabled(bool setting);
87 
88  int componentVisualizationMode() const;
89  void setComponentVisualizationMode(int mode);
90 
91  void setPagedLodMagnificationHighLodAngle(float angle);
92  float pagedLodMagnificationHighLodAngle() const;
93 
95 
98 
100  void setFromRecord( const makArchives::DtRenderSettingsRecord& rec );
101 
103  void getRecord( makArchives::DtRenderSettingsRecord& rec ) const;
104 
106  virtual const DtRenderSettingsBackup* settingsBackup() const;
107 
109  virtual DtRenderSettingsBackup* settingsBackup();
110 
112  virtual void backup();
113 
115 
117  static std::string className();
118 
119  protected:
120 
125 
128 
129  protected:
130 
135  double myFocalDepth;
136  double myFocalRange;
147 
149 
150  };
151 
152 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)