VR-Forces 4.3.1 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  void setPlanViewGeocentricOccludedTransparency(float f);
69  float planViewGeocentricOccludedTransparency() const;
70 
71  bool shadowMode() const;
72  void setShadowMode(bool setting);
73 
74  bool performanceOverlayEnabled() const;
75  void setPerformanceOverlayEnabled(bool enabled);
76 
77  bool profilerOverlayEnabled() const;
78  void setProfilerOverlayEnabled(bool enabled);
79 
80  bool lensFlareEnabled() const;
81  void setLensFlareEnabled( bool setting );
82 
83  bool crepuscularRaysEnabled() const;
84  void setCrepuscularRaysEnabled( bool setting );
85 
86  bool instancedRenderingEnabled() const;
87  void setInstancedRenderingEnabled(bool setting);
88 
89  int componentVisualizationMode() const;
90  void setComponentVisualizationMode(int mode);
91 
93 
96 
98  void setFromRecord( const makArchives::DtRenderSettingsRecord& rec );
99 
101  void getRecord( makArchives::DtRenderSettingsRecord& rec ) const;
102 
104  virtual const DtRenderSettingsBackup* settingsBackup() const;
105 
107  virtual DtRenderSettingsBackup* settingsBackup();
108 
110  virtual void backup();
111 
113 
115  static std::string className();
116 
117  protected:
118 
123 
126 
127  protected:
128 
133  double myFocalDepth;
134  double myFocalRange;
145 
146  };
147 
148 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)