VR-Forces 4.1 Class Documentation
DtSharedRenderSettings.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (c) 2012 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  void setPlanViewGeocentricOccludedTransparency(float f);
60  float planViewGeocentricOccludedTransparency() const;
61 
62  bool shadowMode() const;
63  void setShadowMode(bool setting);
64 
65  int shadowQuality() const;
66  void setShadowQuality(int setting);
67 
68  bool entityShadowMode() const;
69  void setEntityShadowMode(bool setting);
70 
71  bool propShadowMode() const;
72  void setPropShadowMode(bool setting);
73 
74  bool terrainShadowMode() const;
75  void setTerrainShadowMode(bool setting);
76 
77  bool performanceOverlayEnabled() const;
78  void setPerformanceOverlayEnabled(bool enabled);
79 
81 
84 
86  void setFromRecord( const makArchives::DtRenderSettingsRecord& rec );
87 
89  void getRecord( makArchives::DtRenderSettingsRecord& rec ) const;
90 
92  virtual const DtRenderSettingsBackup* settingsBackup() const;
93 
95  virtual DtRenderSettingsBackup* settingsBackup();
96 
98  virtual void backup();
99 
101 
103  static std::string className();
104 
105  protected:
106 
111 
114 
115  protected:
116 
128 
130 
131  };
132 
133 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)