VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOceanRenderSettingsWidget.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 
12 #include <vrvCoreQt/vrvCoreQt.h>
14 #include <QtGui/QWidget>
15 
16 class QCheckBox;
17 class QVBoxLayout;
18 class QLabel;
19 class QComboBox;
20 class QSlider;
21 class QGroupBox;
22 class QRadioButton;
23 class QSpinBox;
24 class QPushButton;
25 
26 namespace makVrv
27 {
28 
29  class DtSliderSpinboxWidget;
30  class DtSliderDoubleSpinboxWidget;
31 
38  {
39  Q_OBJECT
40 
41  public:
42 
45  DtDe& de, QWidget* parent, Qt::WindowFlags flags = Qt::Widget);
46 
48  virtual ~DtOceanRenderSettingsWidget();
49 
52  virtual void setOceanPlanarReflectionsEnabled(bool state);
53 
57  virtual void setOceanPlanarReflectionsLODScale( float scale );
58 #if 0
59 
60 
61 
62  virtual void setOceanPlanarReflectionsSpecifyFarClip( bool enabled );
63 
67  virtual void setOceanPlanarReflectionsFarClip( double farClip );
68 #endif
69 
72  virtual void setWaveSprayEffectEnabled(bool state);
73 
76  virtual void setRotorWashDecalEnabled(bool state);
77 
80  virtual void setTidalStreamWakesEnabled(bool state);
81 
84  virtual void setOceanHeightMapResolution(double res);
85 
90  virtual void setRegenerateHeightMapPercThreshold(double threshold);
91 
95  virtual void setOceanHeightMapTextureSize(int val);
96 
99  virtual void setRegenerateCubeMapThreshold(double threshold);
100 
103  virtual void setOmitCloudInCubeMap(bool state);
104 
108  virtual void setPlanarReflectionTextureWidth(int val);
109 
113  virtual void setPlanarReflectionTextureHeight(int val);
114 
115  protected slots:
116 
120  void on_oceanPlanarReflectionsCheckChanged(int state);
121  void on_oceanPlanarReflectionsLODScaleChanged(double scale);
122 #if 0
123  void on_oceanPlanarReflectionsSpecifyFarClipChanged(int state);
124  void on_oceanPlanarReflectionsFarClipChanged(double farClip);
125 #endif
126  void on_waveSprayEffectCheckChanged(int state);
127  void on_rotorWashDecalCheckChanged(int state);
128  void on_tidalStreamWakesCheckChanged(int state);
129  void on_oceanHeightMapResolutionChanged(double res);
130  void on_regenerateCubeMapThreshold(double threshold);
131  void on_omitCloudInCubeMap(int state);
132  void on_regenerateHeightMapPercThreshold(double threshold);
133  void on_oceanHeightMapTextureSizeChanged(int val);
134  void on_planarReflectionTextureWidthChanged(int val);
135  void on_planarReflectionTextureHeightChanged(int val);
136 
138 
139  protected:
140 
143  void setupGui();
144 
147  void connectToSignals();
148 
149  void enablePlanarReflectionParameters( bool enabled );
150 
151  protected:
152 
154 
156 #if 0
157  QCheckBox* myOceanPlanarReflectionsSpecifyFarClipCheckbox;
158 #endif
162 
164 
167 
170 
173 
176 #if 0
177  QLabel* myOceanPlanarReflectionsFarClipLabel;
178  DtSliderDoubleSpinboxWidget* myOceanPlanarReflectionsFarClip;
179 #endif
180 
183 
185 
186 
188 
191 
194  };
195 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)