VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWeatherEffectsObject.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
15 #include <vrvUtil/signalslib.h>
16 #include <vrvCore/DtUniqueID.h>
17 
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtWeatherEffectsObjectSignaler;
23 
28  {
29  //We should refactor the class with the DtDynamicOceanObject and DtSkyObject
30  // and combine them to make a consistent way
31  // to send down environment settings to the RDE.
32 
33  public:
36 
38  virtual ~DtWeatherEffectsObject();
39 
42  virtual void setGroundSnowAccumulation(float depth);
43  virtual float groundSnowAccumulation() const;
45 
48  virtual void setRoadSnowAccumulation(float depth);
49  virtual float roadSnowAccumulation() const;
51 
54  virtual void setSnowMinimumElevation(float elevation);
55  virtual float snowMinimumElevation() const;
57 
60  virtual void setSnowElevationTransition(float elevation);
61  virtual float snowElevationTransition() const;
63 
66  virtual void setGroundRainAccumulation(float depth);
67  virtual float groundRainAccumulation() const;
69 
73  boost::signal<void(float)> signal_groundSnowAccumulationChanged;
74 
76  boost::signal<void(float)> signal_roadSnowAccumulationChanged;
77 
79  boost::signal<void(float)> signal_snowMinimumElevationChanged;
80 
82  boost::signal<void(float)> signal_snowElevationTransitionChanged;
83 
85  boost::signal<void(float)> signal_groundRainAccumulationChanged;
86 
88 
89  protected:
90 
96 
98  };
99 
100 }
101 
102 
float myGroundRainAccumulation
Definition: DtWeatherEffectsObject.h:95
float mySnowMinimumElevation
Definition: DtWeatherEffectsObject.h:93
float myRoadSnowAccumulation
Definition: DtWeatherEffectsObject.h:92
float myGroundSnowAccumulation
Definition: DtWeatherEffectsObject.h:91
boost::signal< void(float)> signal_snowElevationTransitionChanged
Emitted when the snow elevation transition changes.
Definition: DtWeatherEffectsObject.h:82
DtDe & myDe
Definition: DtWeatherEffectsObject.h:97
boost::signal< void(float)> signal_roadSnowAccumulationChanged
Emitted when the road snow accumulation depth changes.
Definition: DtWeatherEffectsObject.h:76
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
boost::signal< void(float)> signal_snowMinimumElevationChanged
Emitted when the snow minimum elevation changes.
Definition: DtWeatherEffectsObject.h:79
boost::signal< void(float)> signal_groundRainAccumulationChanged
Emitted when the ground rain accumulation depth changes.
Definition: DtWeatherEffectsObject.h:85
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
float mySnowElevationTransition
Definition: DtWeatherEffectsObject.h:94
The weather effects object for passing settings from the master to the slave for weather effects...
Definition: DtWeatherEffectsObject.h:27
boost::signal< void(float)> signal_groundSnowAccumulationChanged
Definition: DtWeatherEffectsObject.h:73
Contains DLL export macros.

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)