VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiCore
vrlinkSimulatedWeatherState.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrfGuiCore/vrfGuiCore.h
>
14
#include <
vrvCore/DtSimState.h
>
15
#include <
vrvCore/DtStateView.h
>
16
#include <
vrvCore/DtStateViewCollection.h
>
17
#include <matrix/vlVector.h>
18
19
namespace
makVrv
20
{
21
class
DtMessage;
22
}
23
24
namespace
makVrf
25
{
26
struct
DT_DLL_VRFGUICORE
DtVrlinkSimulatedWeatherState
:
public
makVrv::DtSimState
27
{
28
29
public
:
30
32
DtVrlinkSimulatedWeatherState
();
33
35
virtual
~
DtVrlinkSimulatedWeatherState
();
36
37
bool
operator==
(
const
DtVrlinkSimulatedWeatherState
& rhs)
const
38
{
39
return
((myAirTurbidity == rhs.
myAirTurbidity
) &&
40
(mySurgeDepth == rhs.
mySurgeDepth
) &&
41
(myFogHeight == rhs.
myFogHeight
) &&
42
(myFogColor == rhs.
myFogColor
) &&
43
(myChoppiness == rhs.
myChoppiness
) &&
44
(mySwellStateDirection == rhs.
mySwellStateDirection
) &&
45
(myPriority == rhs.
myPriority
) &&
46
(myThermoclineLayer1Depth == rhs.
myThermoclineLayer1Depth
) &&
47
(myThermoclineLayer1Permeability == rhs.
myThermoclineLayer1Permeability
) &&
48
(myThermoclineLayer2Depth == rhs.
myThermoclineLayer2Depth
) &&
49
(myThermoclineLayer2Permeability == rhs.
myThermoclineLayer2Permeability
) &&
50
(myThermoclineLayer3Depth == rhs.
myThermoclineLayer3Depth
) &&
51
(myThermoclineLayer3Permeability == rhs.
myThermoclineLayer3Permeability
) &&
52
(myThermoclineLayer4Depth == rhs.
myThermoclineLayer4Depth
) &&
53
(myThermoclineLayer4Permeability == rhs.
myThermoclineLayer4Permeability
) &&
54
(myThermoclineLayer5Depth == rhs.
myThermoclineLayer5Depth
) &&
55
(myThermoclineLayer5Permeability == rhs.
myThermoclineLayer5Permeability
) &&
56
(mySwellState == rhs.
mySwellState
) &&
57
(myWindDrivenSeaStateEnabled == rhs.
myWindDrivenSeaStateEnabled
) &&
58
(mySeaStateDirection == rhs.
mySeaStateDirection
) &&
59
(mySeaState == rhs.
mySeaState
) &&
60
(myTidalDirection == rhs.
myTidalDirection
) &&
61
(myTidalOffset == rhs.
myTidalOffset
) &&
62
(myAmbientWaterTemperature == rhs.
myAmbientWaterTemperature
) &&
63
(myWaterCurrentDirection == rhs.
myWaterCurrentDirection
) &&
64
(myWaterCurrentSpeed == rhs.
myWaterCurrentSpeed
) &&
65
(mySurfaceTransparency == rhs.
mySurfaceTransparency
) &&
66
(myUnderwaterVisibility == rhs.
myUnderwaterVisibility
) &&
67
(myAmbientAirTemperature == rhs.
myAmbientAirTemperature
) &&
68
(myWindSpeed == rhs.
myWindSpeed
) &&
69
(myWindDirection == rhs.
myWindDirection
) &&
70
(myVisibility == rhs.
myVisibility
) &&
71
(myPrecipitationType == rhs.
myPrecipitationType
) &&
72
(myPrecipitationIntensity == rhs.
myPrecipitationIntensity
) &&
73
(myCloudState == rhs.
myCloudState
));
74
}
75
76
bool
operator!=
(
const
DtVrlinkSimulatedWeatherState
& rhs)
const
77
{
78
return
!(*
this
== rhs);
79
}
80
81
public
:
82
double
myAirTurbidity
;
83
unsigned
int
myCloudState
;
84
double
myPrecipitationIntensity
;
85
unsigned
int
myPrecipitationType
;
86
double
myVisibility
;
87
double
myWindDirection
;
88
double
myWindSpeed
;
89
double
myAmbientAirTemperature
;
90
double
myUnderwaterVisibility
;
91
double
mySurfaceTransparency
;
92
double
myWaterCurrentSpeed
;
93
double
myWaterCurrentDirection
;
94
double
myAmbientWaterTemperature
;
95
double
myTidalOffset
;
96
bool
myTidalDirection
;
97
int
mySeaState
;
98
double
mySeaStateDirection
;
99
bool
myWindDrivenSeaStateEnabled
;
100
unsigned
int
mySwellState
;
101
double
mySwellStateDirection
;
102
double
myChoppiness
;
103
double
mySurgeDepth
;
104
double
myThermoclineLayer1Depth
;
105
double
myThermoclineLayer1Permeability
;
106
double
myThermoclineLayer2Depth
;
107
double
myThermoclineLayer2Permeability
;
108
double
myThermoclineLayer3Depth
;
109
double
myThermoclineLayer3Permeability
;
110
double
myThermoclineLayer4Depth
;
111
double
myThermoclineLayer4Permeability
;
112
double
myThermoclineLayer5Depth
;
113
double
myThermoclineLayer5Permeability
;
114
115
double
myFogHeight
;
116
DtVector
myFogColor
;
117
int
myPriority
;
118
};
119
121
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator<<
(
makVrv::DtMessage
& msg,
const
DtVrlinkSimulatedWeatherState
& state );
122
124
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg,
DtVrlinkSimulatedWeatherState
& state );
125
126
128
typedef
makVrv::DtStateView<DtVrlinkSimulatedWeatherState>
DtWeatherStateView
;
129
131
class
DT_DLL_VRFGUICORE
DtWeatherStateViewCollection
:
public
makVrv::DtStateViewCollection
<DtVrlinkSimulatedWeatherState>
132
{
133
public
:
134
DtWeatherStateViewCollection
(
makVrv::DtDe
& de) :
135
makVrv::DtStateViewCollection<
DtVrlinkSimulatedWeatherState
>(de, makVrv::DtSimEntryUpdater::NoUpdates)
136
{
137
}
138
};
139
}
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
)