VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtRenderSettingsLogic.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 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_showPerformanceOverlay(bool show);
54 
56  void slot_showProfileOverlay(bool show);
57 
59  void slot_channelProjectionResizePolicySet(DtChannelConfiguration::ProjectionResizePolicy policy);
60 
62  void slot_planViewGeocentricOccludedTransparencyChanged( int scale );
63 
65  void slot_planViewGeocentricOccludedTransparencySet( float value );
66 
68  void slot_ddsFlipSet(bool flip);
69 
71  void slot_terrainScalingEnabledSet(bool enabled);
72 
74  void slot_terrainScaleFactorSet(double scaleFactor);
75 
77  void slot_useAutofocusSet(bool useAutofocus);
78 
80  void slot_focalDepthSet(double focalDepth);
81 
83  void slot_focalRangeSet(double focalRange);
84 
86  void slot_ambientFactorSet(double ambientFactor);
87 
89  void slot_useMaterialAmbientSet(bool useMaterialAmbient);
90 
92  void slot_diffuseScaleFactorSet(double diffuseScaleFactor);
93 
95  void slot_useMaterialDiffuseSet(bool useMaterialDiffuse);
96 
99  void slot_clearTrackHistoriesOnTerrainScaleChangedSet(bool clear);
100 
102  void on_reloadShaderButtonClicked();
103 
105  void slot_perPixelLightingEnabledChanged(bool enabled);
106 
108  void slot_oceanPlanarReflectionsEnabledChanged(bool enabled);
109 
111  void slot_oceanPlanarReflectionsLODScaleChanged(float lodScale);
112 
114  void slot_oceanPlanarReflectionsSpecifyFarClipChanged(bool enabled);
115 
117  void slot_oceanPlanarReflectionsFarClipChanged(double farClip);
118 
120  void slot_lensFlareEnabledChanged(bool enabled);
121 
123  void slot_crepuscularRaysEnabledChanged(bool enabled);
124 
126  void slot_waveSprayEffectChanged(bool enabled);
127 
129  void slot_rotorWashDecalChanged(bool enabled);
130 
132  void slot_tidalStreamWakesChanged(bool enabled);
133 
135  void slot_oceanHeightMapResolutionChanged(double resolution);
136 
138  void slot_oceanHeightMapTextureSizeChanged(int val);
139 
142  void slot_componentVisualizationComboChanged(int value);
143 
144  void slot_pagedLodMagnificationScaleFactorChanged(double factor);
145 
147  void slot_regenerateCubeMapThresholdChanged(double threshold);
148 
150  void slot_regenerateHeightMapPercThresholdChanged(double threshold);
151 
153  void slot_omitCloudInCubeMapChanged(bool enabled);
154 
155  //@ }
156 
158  //@ {
159  void on_import();
160  void on_export();
161  void on_importFilePathChosen(const std::string& filePath);
162  void on_exportFilePathChosen(const std::string& filePath);
163  //@ }
164 
167  virtual void settingsRestored(const DtSettingsBackup*);
168 
169  protected:
174  };
175 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)