VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
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 <matrix/vlVector.h>
17
18
namespace
makVrv
19
{
20
class
DtMessage;
21
}
22
23
namespace
makVrf
24
{
25
struct
DT_DLL_VRFGUICORE
DtVrlinkSimulatedWeatherState
:
public
makVrv::DtSimState
26
{
27
28
public
:
29
31
DtVrlinkSimulatedWeatherState
();
32
34
virtual
~
DtVrlinkSimulatedWeatherState
();
35
36
bool
operator==
(
const
DtVrlinkSimulatedWeatherState
& rhs)
const
37
{
38
return
((myAirTurbidity == rhs.
myAirTurbidity
) &&
39
(mySurgeDepth == rhs.
mySurgeDepth
) &&
40
(myFogHeight == rhs.
myFogHeight
) &&
41
(myFogColor == rhs.
myFogColor
) &&
42
(myChoppiness == rhs.
myChoppiness
) &&
43
(mySwellStateDirection == rhs.
mySwellStateDirection
) &&
44
(myPriority == rhs.
myPriority
) &&
45
(myThermoclineLayer1Depth == rhs.
myThermoclineLayer1Depth
) &&
46
(myThermoclineLayer1Permeability == rhs.
myThermoclineLayer1Permeability
) &&
47
(myThermoclineLayer2Depth == rhs.
myThermoclineLayer2Depth
) &&
48
(myThermoclineLayer2Permeability == rhs.
myThermoclineLayer2Permeability
) &&
49
(myThermoclineLayer3Depth == rhs.
myThermoclineLayer3Depth
) &&
50
(myThermoclineLayer3Permeability == rhs.
myThermoclineLayer3Permeability
) &&
51
(myThermoclineLayer4Depth == rhs.
myThermoclineLayer4Depth
) &&
52
(myThermoclineLayer4Permeability == rhs.
myThermoclineLayer4Permeability
) &&
53
(myThermoclineLayer5Depth == rhs.
myThermoclineLayer5Depth
) &&
54
(myThermoclineLayer5Permeability == rhs.
myThermoclineLayer5Permeability
) &&
55
(mySwellState == rhs.
mySwellState
) &&
56
(myWindDrivenSeaStateEnabled == rhs.
myWindDrivenSeaStateEnabled
) &&
57
(mySeaStateDirection == rhs.
mySeaStateDirection
) &&
58
(mySeaState == rhs.
mySeaState
) &&
59
(myTidalDirection == rhs.
myTidalDirection
) &&
60
(myTidalOffset == rhs.
myTidalOffset
) &&
61
(myAmbientWaterTemperature == rhs.
myAmbientWaterTemperature
) &&
62
(myWaterCurrentDirection == rhs.
myWaterCurrentDirection
) &&
63
(myWaterCurrentSpeed == rhs.
myWaterCurrentSpeed
) &&
64
(mySurfaceTransparency == rhs.
mySurfaceTransparency
) &&
65
(myUnderwaterVisibility == rhs.
myUnderwaterVisibility
) &&
66
(myAmbientAirTemperature == rhs.
myAmbientAirTemperature
) &&
67
(myWindSpeed == rhs.
myWindSpeed
) &&
68
(myWindDirection == rhs.
myWindDirection
) &&
69
(myVisibility == rhs.
myVisibility
) &&
70
(myPrecipitationType == rhs.
myPrecipitationType
) &&
71
(myPrecipitationIntensity == rhs.
myPrecipitationIntensity
) &&
72
(myCloudState == rhs.
myCloudState
));
73
}
74
75
bool
operator!=
(
const
DtVrlinkSimulatedWeatherState
& rhs)
const
76
{
77
return
!(*
this
== rhs);
78
}
79
80
public
:
81
double
myAirTurbidity
;
82
unsigned
int
myCloudState
;
83
double
myPrecipitationIntensity
;
84
unsigned
int
myPrecipitationType
;
85
double
myVisibility
;
86
double
myWindDirection
;
87
double
myWindSpeed
;
88
double
myAmbientAirTemperature
;
89
double
myUnderwaterVisibility
;
90
double
mySurfaceTransparency
;
91
double
myWaterCurrentSpeed
;
92
double
myWaterCurrentDirection
;
93
double
myAmbientWaterTemperature
;
94
double
myTidalOffset
;
95
bool
myTidalDirection
;
96
int
mySeaState
;
97
double
mySeaStateDirection
;
98
bool
myWindDrivenSeaStateEnabled
;
99
unsigned
int
mySwellState
;
100
double
mySwellStateDirection
;
101
double
myChoppiness
;
102
double
mySurgeDepth
;
103
double
myThermoclineLayer1Depth
;
104
double
myThermoclineLayer1Permeability
;
105
double
myThermoclineLayer2Depth
;
106
double
myThermoclineLayer2Permeability
;
107
double
myThermoclineLayer3Depth
;
108
double
myThermoclineLayer3Permeability
;
109
double
myThermoclineLayer4Depth
;
110
double
myThermoclineLayer4Permeability
;
111
double
myThermoclineLayer5Depth
;
112
double
myThermoclineLayer5Permeability
;
113
114
double
myFogHeight
;
115
DtVector
myFogColor
;
116
int
myPriority
;
117
};
118
120
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator<<
(
makVrv::DtMessage
& msg,
const
DtVrlinkSimulatedWeatherState
& state );
121
123
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg,
DtVrlinkSimulatedWeatherState
& state );
124
125
127
typedef
makVrv::DtStateView<DtVrlinkSimulatedWeatherState>
DtWeatherStateView
;
128
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)