VR-Forces Development_Version 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) 2015 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 );
91 
94 
96  void setFromRecord( const makArchives::DtOceanRenderSettingsRecord& rec );
97 
99  void getRecord( makArchives::DtOceanRenderSettingsRecord& rec ) const;
100 
102  virtual const DtOceanRenderSettingsBackup* settingsBackup() const;
103 
105  virtual DtOceanRenderSettingsBackup* settingsBackup();
106 
108  virtual void backup();
109 
111 
113  static std::string className();
114 
115  protected:
116 
121 
124 
125  protected:
126 
143 
144  };
145 
146 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)