VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtSharedOceanRenderSettings.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 
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 );
94 
97 
99  void setFromRecord( const makArchives::DtOceanRenderSettingsRecord& rec );
100 
102  void getRecord( makArchives::DtOceanRenderSettingsRecord& rec ) const;
103 
105  virtual const DtOceanRenderSettingsBackup* settingsBackup() const;
106 
108  virtual DtOceanRenderSettingsBackup* settingsBackup();
109 
111  virtual void backup();
112 
114 
116  static std::string className();
117 
118  protected:
119 
124 
127 
128  protected:
129 
144  unsigned int myOceanQuality;
147 
148  };
149 
150 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)