VR-Forces 5.0.3 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 
105  void slot_occlusionCullingEnabledChanged(bool enabled);
106 
109  void slot_componentVisualizationComboChanged(int value);
110 
112  void slot_drawableColorizationChanged(bool value);
113 
115  void slot_refreshDrawableColorization();
116 
118  void slot_atcGlobalModelEnableChanged(bool state);
119 
121  void slot_atcGlobalTerrainEnableChanged(bool state);
122 
124  void slot_atcEnableDitherChanged(bool state);
125 
126 
128  void slot_hbaoRadiusSliderChanged(float value);
130  void slot_hbaoBiasSliderChanged(float value);
132  void slot_hbaoExponentSliderChanged(float value);
134  void slot_hbaoSmallScalarSliderChanged(float value);
136  void slot_hbaoLargeScalarSliderChanged(float value);
138  void slot_hbaoDepthClampComboChanged(int state);
139 
140  //@ }
141 
143  //@ {
144  void on_import();
145  void on_export();
146  void on_importFilePathChosen(const std::string& filePath);
147  void on_exportFilePathChosen(const std::string& filePath);
148  //@ }
149 
152  virtual void settingsRestored(const DtSettingsBackup*);
153 
154  protected:
159  };
160 } // 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:155
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:157
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:158
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:70
ProjectionResizePolicy
Definition: DtChannelConfiguration.h:46
DtRenderSettingsInterface & myInterface
Called when settings are restored. Resets gui if the restored object type is of this class...
Definition: DtRenderSettingsLogic.h:156
This is the logic for the render settings widget.
Definition: DtRenderSettingsLogic.h:27

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)