VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOceanRenderSettingsLogic.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <vrvCoreQt/vrvCoreQt.h>
15 #include <vector>
16 
17 namespace makVrv
18 {
19  class DtOceanRenderSettingsInterface;
20  class DtPersistenceControlsInterface;
21  class DtModel;
22  class DtDe;
23  class DtSettingsBackup;
24 
28  {
29  public:
32  DtPersistenceControlsInterface& persistenceControls,
34 
36  virtual ~DtOceanRenderSettingsLogic();
37 
38  protected:
39 
41  void sendSettingsToGui();
42 
44  void slot_oceanPlanarReflectionsEnabledChanged(bool enabled);
45 
47  void slot_oceanPlanarReflectionsLODScaleChanged(float lodScale);
48 #if 0
49  void slot_oceanPlanarReflectionsSpecifyFarClipChanged(bool enabled);
51 
53  void slot_oceanPlanarReflectionsFarClipChanged(double farClip);
54 #endif
55  void slot_waveSprayEffectChanged(bool enabled);
57 
59  void slot_rotorWashDecalChanged(bool enabled);
60 
62  void slot_tidalStreamWakesChanged(bool enabled);
63 
65  void slot_oceanHeightMapResolutionChanged(double resolution);
66 
68  void slot_oceanHeightMapTextureSizeChanged(int val);
69 
71  void slot_regenerateHeightMapPercThresholdChanged(double threshold);
72 
74  void slot_regenerateCubeMapThresholdChanged(double threshold);
75 
77  void slot_omitCloudInCubeMapChanged(bool enabled);
78 
80  void slot_planarReflectionTextureWidthChanged(int val);
81 
83  void slot_planarReflectionTextureHeightChanged(int val);
84 
86  void slot_onChangeOceanQuality(unsigned int quality);
87 
89  void slot_onChangeOceanSpectralModel(unsigned int spectralModel);
90 
92  void slot_planarReflectionsShowSpeedTreesChanged(bool val);
93 
94  //@ }
95 
97  //@ {
98  void on_import();
99  void on_export();
100  void on_importFilePathChosen(const std::string& filePath);
101  void on_exportFilePathChosen(const std::string& filePath);
102  //@ }
103 
106  virtual void settingsRestored(const DtSettingsBackup*);
107 
108  protected:
113  };
114 }
DtSignalConnectionManager myConnections
Called when settings are restored. Resets gui if the restored object type is of this class...
Definition: DtOceanRenderSettingsLogic.h:109
DtDe & myDe
Called when settings are restored. Resets gui if the restored object type is of this class...
Definition: DtOceanRenderSettingsLogic.h:112
Contains makVrv::DtChannelConfiguration class.
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
Abstract interface for controlling persistence of state in a dialog.
Definition: DtPersistenceControlsInterface.h:20
This is the interface which the render settings widget will inherit from and the logic will use to ta...
Definition: DtOceanRenderSettingsInterface.h:19
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtOceanRenderSettingsInterface & myInterface
Called when settings are restored. Resets gui if the restored object type is of this class...
Definition: DtOceanRenderSettingsLogic.h:110
Provides a method of doign settings backup.
Definition: DtSettingsBackup.h:23
This is the logic for the render settings widget.
Definition: DtOceanRenderSettingsLogic.h:27
Base class to provide boost signal/slot management.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtPersistenceControlsInterface & myPersistenceControls
Called when settings are restored. Resets gui if the restored object type is of this class...
Definition: DtOceanRenderSettingsLogic.h:111

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)