VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWeatherAreaObject.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 <vrvCore/vrvCore.h>
13 #include <vrvCore/DtUniqueID.h>
14 
15 #include <matrix/vlVector.h>
16 
17 
18 namespace makVrv
19 {
20  class DtDe;
21 
33  {
34  public:
37 
39  virtual ~DtWeatherAreaObject();
40 
42  DtWeatherAreaObject() = delete;
43 
45  DtWeatherAreaObject(const DtWeatherAreaObject &) = delete;
46 
48  DtWeatherAreaObject &operator=(const DtWeatherAreaObject &) = delete;
49 
53  virtual void setBounds(const DtVector& bounds, const float cornerRadius);
54 
58  virtual void setTransform(const DtVector& position, const float orientation);
59 
61  virtual const DtVector& position() const;
62 
64  virtual const float orientation() const;
65 
67  virtual const DtVector& bounds() const;
68 
70  virtual const float boundsCornerRadius() const;
71 
74  virtual void setPrecipitationIntensity(const float intensity);
75 
77  virtual const float precipitationIntensity() const;
78 
81  virtual void setPrecipitationType(const unsigned int type);
82 
84  virtual const unsigned int precipitationType() const;
85 
88  virtual void setGroundRainAccumulation(const float depth);
89 
91  virtual const float groundRainAccumulation() const;
92 
95  virtual void setFogColor(const DtVector& color);
96 
98  virtual const DtVector& fogColor() const;
99 
102  virtual void setVisibilityDistance(const float distance);
103 
105  virtual const float visibilityDistance() const;
106 
109  virtual void setOvercast(const float overcast);
110 
112  virtual const float overcast() const;
113 
116  virtual void setLightningEnabled(const bool enabled);
117 
119  virtual const bool lightningEnabled() const;
120 
121  protected:
122 
125 
128 
131 
133  unsigned int myPrecipitationType;
134 
136 
139  float myOvercast;
140 
142  };
143 }
144 
145 
float myOrientation
Definition: DtWeatherAreaObject.h:127
float myPrecipitationIntensity
Definition: DtWeatherAreaObject.h:132
The weather area object represents a set localized environmental conditions such as local rain and fo...
Definition: DtWeatherAreaObject.h:32
DtVector myFogColor
Definition: DtWeatherAreaObject.h:137
DtUniqueID myUniqueId
Definition: DtWeatherAreaObject.h:124
float myGroundRainAccumulation
Definition: DtWeatherAreaObject.h:135
float myOvercast
Definition: DtWeatherAreaObject.h:139
DtDe & myDe
Definition: DtWeatherAreaObject.h:123
bool myLightningEnabled
Definition: DtWeatherAreaObject.h:141
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtVector myPosition
Definition: DtWeatherAreaObject.h:126
unsigned int myPrecipitationType
Definition: DtWeatherAreaObject.h:133
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
float myBoundsCornerRadius
Definition: DtWeatherAreaObject.h:130
DtVector myBounds
Definition: DtWeatherAreaObject.h:129
float myVisibilityDistance
Definition: DtWeatherAreaObject.h:138
Contains DLL export macros.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)