VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSharedOceanRenderSettings.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 
20 namespace makArchives
21 {
22  class DtOceanRenderSettingsRecord;
23 }
24 
25 namespace makVrv
26 {
27 
28  class DtDe;
30 
33 
37  {
38  public:
39 
41  virtual ~DtSharedOceanRenderSettings();
42 
45 
46  bool oceanPlanarReflectionsEnabled() const;
47  void setOceanPlanarReflectionsEnabled( bool setting );
48 
49  float oceanPlanarReflectionsLODScale() const;
50  void setOceanPlanarReflectionsLODScale( float setting );
51 
52  bool oceanPlanarReflectionsSpecifyFarClip() const;
53  void setOceanPlanarReflectionsSpecifyFarClip( bool setting );
54 
55  double oceanPlanarReflectionsFarClip() const;
56  void setOceanPlanarReflectionsFarClip( double setting );
57 
58  bool waveSprayEffectEnabled() const;
59  void setWaveSprayEffectEnabled( bool setting );
60 
61  bool rotorWashDecalEnabled() const;
62  void setRotorWashDecalEnabled( bool setting );
63 
64  double oceanHeightMapResolution() const;
65  void setOceanHeightMapResolution( double setting );
66 
67  bool tidalStreamWakesEnabled() const;
68  void setTidalStreamWakesEnabled(bool setting);
69 
70  double regenerateCubeMapThreshold() const;
71  void setRegenerateCubeMapThreshold(double threshold);
72 
73  double regenerateHeightMapPercThreshold() const;
74  void setRegenerateHeightMapPercThreshold(double threshold);
75 
76  bool omitCloudInCubeMap() const;
77  void setOmitCloudInCubeMap(bool omit);
78 
79  int oceanHeightMapTextureSize() const;
80  void setOceanHeightMapTextureSize(int setting);
81 
82  double staticOceanLodRange() const;
83  void setStaticOceanLodRange( double range );
84 
85  int planarReflectionTextureWidth() const;
86  void setPlanarReflectionTextureWidth( int w );
87 
88  int planarReflectionTextureHeight() const;
89  void setPlanarReflectionTextureHeight( int h );
90 
91  unsigned int oceanQuality() const;
92  void setOceanQuality( unsigned int quality );
93 
94  bool planarReflectionsShowSpeedTrees() const;
95  void setPlanarReflectionsShowSpeedTrees( bool setting );
97 
100 
102  void setFromRecord( const makArchives::DtOceanRenderSettingsRecord& rec );
103 
105  void getRecord( makArchives::DtOceanRenderSettingsRecord& rec ) const;
106 
108  virtual const DtOceanRenderSettingsBackup* settingsBackup() const;
109 
111  virtual DtOceanRenderSettingsBackup* settingsBackup();
112 
114  virtual void backup();
115 
117 
119  static std::string className();
120 
121  protected:
122 
127 
130 
131  protected:
132 
147  unsigned int myOceanQuality;
150 
152 
153  };
154 
155 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)