VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtRenderSettingsLogic.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 DtRenderSettingsInterface;
20  class DtPersistenceControlsInterface;
21  class DtModel;
22  class DtDe;
23  class DtSettingsBackup;
24 
28  {
29  public:
32  DtPersistenceControlsInterface& persistenceControls,
34 
36  virtual ~DtRenderSettingsLogic();
37 
38  protected:
39 
41  void sendSettingsToGui();
42 
44  void updateChannelProjectionResizePolicy();
45 
47  //@ {
48 
50  void slot_wireframeEnabled(bool enabled);
51 
53  void slot_shadowEnabled(bool enabled);
54 
56  void slot_showPerformanceOverlay(bool show);
57 
59  void slot_showImguiOverlay(bool show);
60 
62  void slot_channelProjectionResizePolicySet(DtChannelConfiguration::ProjectionResizePolicy policy);
63 
65  void slot_planViewGeocentricOccludedTransparencyChanged(int scale);
66 
68  void slot_planViewGeocentricOccludedTransparencySet(float value);
69 
71  void slot_ddsFlipSet(bool flip);
72 
74  void slot_terrainScalingEnabledSet(bool enabled);
75 
77  void slot_terrainScaleFactorSet(double scaleFactor);
78 
80  void slot_useAutofocusSet(bool useAutofocus);
81 
83  void slot_focalDepthSet(double focalDepth);
84 
86  void slot_focalRangeSet(double focalRange);
87 
89  void slot_waterOnScreenSizeSet(double size);
90 
92  void slot_indirectLodTransitionPercentageSet(float val);
93 
96  void slot_clearTrackHistoriesOnTerrainScaleChangedSet(bool clear);
97 
99  void slot_reloadShaderButtonClicked();
100 
102  void slot_crepuscularRaysEnabledChanged(bool enabled);
103 
106  void slot_componentVisualizationComboChanged(int value);
107 
109  void slot_drawableColorizationChanged(bool value);
110 
112  void slot_refreshDrawableColorization();
113 
115  void slot_atcGlobalModelEnableChanged(bool state);
116 
118  void slot_atcGlobalTerrainEnableChanged(bool state);
119 
121  void slot_atcEnableDitherChanged(bool state);
122 
123 
125  void slot_hbaoRadiusSliderChanged(float value);
127  void slot_hbaoBiasSliderChanged(float value);
129  void slot_hbaoExponentSliderChanged(float value);
131  void slot_hbaoSmallScalarSliderChanged(float value);
133  void slot_hbaoLargeScalarSliderChanged(float value);
135  void slot_hbaoDepthClampComboChanged(int state);
136 
137  //@ }
138 
140  //@ {
141  void on_import();
142  void on_export();
143  void on_importFilePathChosen(const std::string& filePath);
144  void on_exportFilePathChosen(const std::string& filePath);
145  //@ }
146 
149  virtual void settingsRestored(const DtSettingsBackup*);
150 
151  protected:
156  };
157 } // namespace makVrv
This is the interface which the render settings widget will inherit from and the logic will use to ta...
Definition: DtRenderSettingsInterface.h:21
DtSignalConnectionManager myConnections
Called when settings are restored. Resets gui if the restored object type is of this class...
Definition: DtRenderSettingsLogic.h:152
voidpf void uLong size
Definition: ioapi.h:39
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
DtPersistenceControlsInterface & myPersistenceControls
Called when settings are restored. Resets gui if the restored object type is of this class...
Definition: DtRenderSettingsLogic.h:154
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtDe & myDe
Called when settings are restored. Resets gui if the restored object type is of this class...
Definition: DtRenderSettingsLogic.h:155
Provides a method of doign settings backup.
Definition: DtSettingsBackup.h:23
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:72
ProjectionResizePolicy
Definition: DtChannelConfiguration.h:44
DtRenderSettingsInterface & myInterface
Called when settings are restored. Resets gui if the restored object type is of this class...
Definition: DtRenderSettingsLogic.h:153
This is the logic for the render settings widget.
Definition: DtRenderSettingsLogic.h:27

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)