VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfEnvironmentConditionsWeatherLogic.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
17 
18 namespace makVrv
19 {
20  class DtEnvironmentInterface;
21  class DtEnvironmentConditionsInterface;
22 }
23 
24 namespace makVrf
25 {
26  class DtVrfEnvironmentConditionsWeatherInterface;
27 
32  {
33 
34  public:
35 
38  makVrv::DtEnvironmentInterface& environment,
40  makVrv::DtPersistenceControlsInterface& persistanceIface);
41 
44 
45  protected:
48  virtual void onChangeCloudCover(makArchives::DtCloudCoverType cloudCover);
49 
53  virtual void onChangeWindSpeed(double speed);
54 
58  virtual void onChangeWindDirection(double degree);
59 
63  virtual void onChangePrecipitationType(int type);
64 
68  virtual void onChangePrecipitationIntensity(double value);
69 
72  virtual void onChangeAmbientAirTemperature(double value);
73 
77  virtual void onChangeVisibility(double distance);
78 
82  virtual void onChangeSwellState(int index);
83 
87  virtual void onChangeSwellStateDirection(double degree);
88 
92  virtual void onEnableWindDrivenSeaState(bool enabled);
93 
97  virtual void onChangeSeaState(int index);
98 
102  virtual void onChangeSeaStateDirection(double degree);
103 
107  virtual void onChangeTidalCurrentSpeed(double);
108 
112  virtual void onChangeTidalCurrentDirection(double degree);
113 
117  virtual void onChangeSeaSurfaceTransparency(double alpha);
118 
122  virtual void onChangeUnderWaterVisibility(double distance);
123 
127  virtual void onChangeSeaChoppiness(double chop);
128 
132  virtual void onChangeSurgeDepth(double distance);
133 
136  virtual void onChangeFogHeight(double height);
137 
140  virtual void onChangeFogColor(double red, double green, double blue);
141 
144  virtual void onChangeGroundSnowAccumulation(double snow);
145 
148  virtual void onChangeSnowMinimumElevation(double snow);
149 
152  virtual void onChangeRoadSnowAccumulation(double snow);
153 
156  virtual void onChangeGroundRainAccumulation(double rain);
157 
160  virtual void onSelectEnvironmentConditions(const makVrv::DtUnicode& name);
161 
164  virtual void sendChangeGlobalWeatherCommandForCurrentValues();
165 
166  virtual void ambientAirTemperatureChanged(float);
167 
168  virtual void sendEnvironmentToGUI(bool initialSettings, bool setDefaultEnvironment);
169  virtual void onAddEnvironmentConditions(const makVrv::DtUnicode& name);
170  virtual void onRemoveEnvironmentConditions(const makVrv::DtUnicode& name);
171 
172  virtual void sendEnvironmentConditionsToGUI();
173  virtual void updateWeatherConditions();
174  };
175 }
A unicode string.
Definition: DtUnicode.h:33
Declaration for the makVrv::DtEnvironmentConditionsLogic class.
The logic for displaying/editing the environment conditions.
Definition: DtEnvironmentConditionsLogic.h:36
Abstract interface for controlling persistence of state in a dialog.
Definition: DtPersistenceControlsInterface.h:20
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points.
The DtEnvironmentInterface is an interface class providing abstraction for different managers of envi...
Definition: DtEnvironmentInterface.h:38
DtCloudCoverType
Definition: DtCloudCoverType.h:14
#define DT_DLL_VRFGUICOMMONQT
Definition: vrfGuiCommonQt.h:22
Logic class for the DtVrfEnvironmentConditionsWeatherWidget.
Definition: vrfEnvironmentConditionsWeatherLogic.h:30
An abstract interface for a weather condition settings widget.
Definition: DtEnvironmentConditionsInterface.h:29
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)