VR-Forces Developer's Guide
 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::signalslib::signal<void(float)> signal_groundSnowAccumulationChanged;
74 
76  boost::signalslib::signal<void(float)> signal_roadSnowAccumulationChanged;
77 
79  boost::signalslib::signal<void(float)> signal_snowMinimumElevationChanged;
80 
82  boost::signalslib::signal<void(float)> signal_snowElevationTransitionChanged;
83 
85  boost::signalslib::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
DtDe & myDe
Definition: DtWeatherEffectsObject.h:97
boost::signalslib::signal< void(float)> signal_groundRainAccumulationChanged
Emitted when the ground rain accumulation depth changes.
Definition: DtWeatherEffectsObject.h:85
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
boost::signalslib::signal< void(float)> signal_snowElevationTransitionChanged
Emitted when the snow elevation transition changes.
Definition: DtWeatherEffectsObject.h:82
boost::signalslib::signal< void(float)> signal_snowMinimumElevationChanged
Emitted when the snow minimum elevation changes.
Definition: DtWeatherEffectsObject.h:79
Contains makVrv::DtUniqueID type.
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
float mySnowElevationTransition
Definition: DtWeatherEffectsObject.h:94
boost::signalslib::signal< void(float)> signal_roadSnowAccumulationChanged
Emitted when the road snow accumulation depth changes.
Definition: DtWeatherEffectsObject.h:76
boost::signalslib::signal< void(float)> signal_groundSnowAccumulationChanged
Signals for changed values Emitted when the ground snow accumulation depth changes.
Definition: DtWeatherEffectsObject.h:73
The weather effects object for passing settings from the master to the slave for weather effects...
Definition: DtWeatherEffectsObject.h:27
Contains DLL export macros.

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)