VR-Forces 4.6.1 Class Documentation
 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) 2017 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCigi/vrvCigi.h>
13 
16 
17 // Forward declaration for Atmosphere Control Packet
18 class CigiAtmosCtrlV3;
19 
20 namespace makVrv
21 {
22  class DtDe;
23  class DtCigiConnection;
24 
31  {
32  public:
33 
35 
37  virtual ~DtIgSettingsController();
38 
39  protected:
42 
46  virtual void slot_onPerformanceOverlayChanged(bool onOff);
47 
50  virtual void performSetPerformanceOverlay(bool onOff);
51 
54  virtual void slot_onPrecipitationChanged(bool enabled, int precipType,
55  float intensity);
56 
60  virtual void slot_onWindDirectionChanged( float direction );
61 
65  virtual void performSetWindDirection( float direction );
66 
68  virtual void slot_onWindSpeedChanged( float speed );
69 
73  virtual void performSetWindSpeed( float speed );
74 
76  virtual void slot_onVisibilityChanged( float visibility );
77 
81  virtual void performSetVisibility( float visibility );
82 
83 
85  void slot_onLightPointGroupColorSet(std::string groupName, float colorR, float colorG, float colorB, float colorA);
86 
90  void performLightPointGroupColor(std::string groupName, float colorR, float colorG, float colorB, float colorA);
91 
94  virtual void slot_processAtmosphericControl( const CigiAtmosCtrlV3& packet );
95 
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 
115  virtual void slot_onTimeSet(int year, int month, int day, int hour,
116  int minute);
117 
121  virtual void slot_onEphemerisEnableSet(bool continuous);
122 
125  virtual void performSetTime(int year, int month, int day, int hour,
126  int minute);
127 
131  virtual void performSetEphemerisEnable( bool continuous);
132 
135  virtual void slot_onShadowsSet(bool enabled, int quality);
136 
139  virtual void performShadowsSet(bool enabled, int quality);
140 
145  virtual void slot_onWaterCurrentSpeedAndDirectionSet( float speed,
146  float direction );
147 
150  virtual void performWaterCurrentSpeedAndDirectionSet( float speed,
151  float direction );
152 
153  protected:
157  };
158 
162  {
163  public:
166 
169 
171  static DtIgSettingsControllerCreator& instance( DtDe& de );
172 
174  virtual DtIgSettingsController* create( DtCigiConnection& connection ) const;
175 
176  protected:
178  };
179 }
180 

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)