VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtIgSettingsController.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 
12 #include <vrvCigi/vrvCigi.h>
13 
16 
18 
19 class CigiBaseWaveCtrl;
20 class CigiWaveCtrlV3;
21 class CigiWaveCtrlV4;
22 
23 namespace makVrv
24 {
25  class DtDe;
26  class DtCigiConnection;
27 
34  {
35  public:
36 
38 
40  virtual ~DtIgSettingsController();
41 
42  protected:
45 
49  virtual void slot_onPerformanceOverlayChanged(bool enable);
50 
53  virtual void performSetPerformanceOverlay(bool enable);
54 
57  virtual void slot_onPrecipitationChanged(bool enabled, int precipType,
58  float intensity);
59 
65  virtual void slot_onAtmosphericLayerSet(float baseMSLAltitude, float speed,
66  float direction, float visibilityDistance, unsigned int obscurant);
67 
71  virtual void performSetAtmosphericLayer(float baseMSLAltitude, float speed, float direction, float visibilityDistance, unsigned int obscurant);
72 
74  virtual void slot_onVisibilityChanged( float visibility );
75 
79  virtual void performSetVisibility( float visibility );
80 
82  virtual void slot_onWindSpeedAndDirectionSet(float windSpeed, float windDirection);
83 
87  virtual void performSetWindSpeedAndDirection(float windSpeed, float windDirection);
88 
90  void slot_onLightPointGroupColorSet(std::string groupName, float colorR, float colorG, float colorB, float colorA);
91 
95  void performLightPointGroupColor(std::string groupName, float colorR, float colorG, float colorB, float colorA);
96 
102  virtual void performSetPrecipitation(bool enabled, int precipType,
103  float intensity);
104 
107  virtual void slot_onWireframeModeChanged(bool onOff);
108 
111  virtual void performSetWireframeMode(bool onOff);
112 
113  virtual void slot_onPagerLodControlChanged(float pagerLodScale, float pagerHighLodAngle);
114 
115  virtual void performSetPagerLodControl(float pagerLodScale, float pagerHighLodAngle);
116 
119  virtual void slot_onTimeSet(int year, int month, int day, int hour,
120  int minute);
121 
125  virtual void slot_onEphemerisEnableSet(bool continuous);
126 
129  virtual void performSetTime(int year, int month, int day, int hour,
130  int minute);
131 
135  virtual void performSetEphemerisEnable( bool continuous);
136 
139  virtual void slot_onShadowsSet(bool enabled, int quality);
140 
143  virtual void performShadowsSet(bool enabled, int quality);
144 
149  virtual void slot_onWaterCurrentSpeedAndDirectionSet( float speed,
150  float direction );
151 
154  virtual void performWaterCurrentSpeedAndDirectionSet( float speed,
155  float direction );
156 
161  virtual void slot_windDrivenSeaStateSet( bool windDriven );
162 
165  virtual void performWindDrivenSeaStateSet( bool windDriven );
166 
171  virtual void slot_waterSurfaceTransparencySet( float transparency );
172 
175  virtual void performWaterSurfaceTransparencySet( float transparency );
176 
181  virtual void slot_seaLevelSet( float seaLevel );
182 
185  virtual void performSeaLevelSet( float transparency );
186 
189  virtual void slot_waterChoppinessSet( bool choppiness );
190 
193  virtual void performWaterChoppinessSet( bool choppiness );
194 
197  virtual void slot_seaStateSet( int seaState );
198 
201  virtual void performSeaStateSet( int seaState );
202 
205  virtual void slot_seaStateDirectionSet( float seaStateDirection );
206 
209  virtual void performSeaStateDirectionSet( float seaStateDirection );
210 
213  virtual void slot_seaSwellStateSet( int seaSwellState );
214 
217  virtual void performSeaSwellStateSet( int seaSwellState );
218 
221  virtual void slot_seaSwellStateDirectionSet( float seaSwellStateDirection );
222 
225  virtual void performSeaSwellStateDirectionSet( float seaSwellStateDirection );
226 
228  virtual void slot_environmentalConditionChanged( std::string );
229 
231  virtual void performEnvironmentalConditionChanged( std::string );
232 
235  virtual void slot_fogColorChanged( float r, float g, float b );
236 
239  virtual void performFogColorChanged( float r, float g, float b );
240 
247  virtual void slot_snowAccumulationSettingsChanged(float depth, float roadDepth, float minElevation,
248  float elevationRange);
249 
251  virtual void performSnowAccumulationSettingsChanged(float depth, float roadCoverage, float minElevation,
252  float elevationRange);
253 
257  virtual void slot_rainAccumulationSettingsChanged(float depth);
258 
260  virtual void performRainAccumulationSettingsChanged(float depth);
261 
262  protected:
266  };
267 
271  {
272  public:
275 
278 
280  static DtIgSettingsControllerCreator& instance( DtDe& de );
281 
283  virtual DtIgSettingsController* create( DtCigiConnection& connection ) const;
284 
285  protected:
287  };
288 }
289 
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
DtDe & myDe
Definition: DtIgSettingsController.h:263
Contains DLL export macros.
This class acts on various CIGI messages that change settings in the IG. All of the &quot;perform&quot; methods...
Definition: DtIgSettingsController.h:33
Contains makVrv::DtVirtualBaseClass class.
DtDe & myDe
Definition: DtIgSettingsController.h:286
DtCigiConnection & myCigiConnection
Definition: DtIgSettingsController.h:264
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
This class is responsible for the actual processing of CIGI data. This holds the entity visualizer...
Definition: DtCigiConnection.h:58
Creator class for the DtIgSettingsController.
Definition: DtIgSettingsController.h:270
DtSignalConnectionManager myConnections
Definition: DtIgSettingsController.h:265
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
#define DT_DLL_VRVCIGI
Definition: vrvCigi.h:19

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)