20 #include <matrix/vlVector.h>
24 class DtCoordinateConverter;
73 virtual void setZoneOrigin(
double x,
double y,
double z);
83 virtual void setZoneShape(
double width,
double length,
double height,
double cornerRadius);
87 virtual void setAirTurbidity(
float turbidity);
91 virtual void setAmbientAirTemperature(
float temperature);
94 virtual void setAmbientAirPressure(
float pressure);
97 virtual void setAirTemperatureAltitude(
float altitude);
100 virtual void setAirPressureAltitude(
float altitude);
103 virtual void setAirTemperatureAltitudeIsSeaLevel(
bool seaLevel);
106 virtual void setAirPressureAltitudeIsSeaLevel(
bool seaLevel);
109 virtual void setSeaLevelWaterConcentration(
float water);
112 virtual void setLightningPresent(
bool lightningPresent);
116 virtual void setPrecipitationType(
unsigned int type);
120 virtual void setPrecipitationIntensity(
float intensity);
126 virtual void setTimeOfDay(
int hour,
int minutes,
double seconds);
135 virtual void setDateAndTimeOfDay(
int year,
int month,
int day,
136 int hour,
int minutes,
double seconds);
142 virtual void setUseGlobalTimeZone(
bool value);
146 virtual void setTimeOfDayAdvancementSpeed(
float speed);
150 virtual void setFogHeight(
float value);
154 virtual void setFogColor(
const DtVector& color);
160 virtual void setFogColor(
float red,
float green,
float blue);
166 virtual void setFogColor(
int red,
int green,
int blue);
170 virtual void removeElevationalConfiguration(
float baseMSLAltitude);
180 virtual void updateOrAddElevationalConfiguration(
float baseMSLAltitude,
181 float windSpeed,
float windDirection,
182 float visibilityDistance,
unsigned int obscurant,
183 int cloudType,
float cloudDensity,
float skyCoverage);
187 virtual void setSwellState(
int state);
191 virtual void setSwellStateDirection(
float value);
195 virtual void setSeaState(
int state);
199 virtual void setSeaStateDirection(
float value);
204 virtual void setWindDrivenSeaStateEnabled(
bool value);
208 virtual void setWindFetch(
float value);
212 virtual void setSeaChoppiness(
float value);
216 virtual void setUnderwaterVisibility(
float distance);
220 virtual void setSurfaceTransparency(
float value);
224 virtual void setSurgeDepth(
float value);
228 virtual void setAmbientWaterTemperature(
float temperature);
232 virtual void setWaterCurrentSpeed(
float speed);
236 virtual void setWaterCurrentDirection(
float direction);
240 virtual void setTidalOffset(
float meters);
244 virtual void setTidalDirection(
bool inOut);
249 virtual void setThermoclineDepth(
unsigned int layer,
float value);
254 virtual void setThermoclinePermeability(
unsigned int layer,
float value);
258 virtual void setGroundSnowAccumulation(
float depth);
262 virtual void setRoadSnowAccumulation(
float depth);
266 virtual void setSnowMinimumElevation(
float elevation);
271 virtual void setSnowElevationTransition(
float elevation);
275 virtual void setGroundRainAccumulation(
float depth);
282 virtual bool ensureWeatherAreaCreated();
299 virtual void updateOrAddCloudForElevation(
float baseMSLAltitude,
300 int cloudType,
float cloudDensity,
float skyCoverage,
301 float visibilityDistance);
306 virtual void refreshCloudLayerThicknessIfNeeded();
310 virtual void adjustWeatherAreaForClouds();
314 virtual const float computeDensityFromVisibility(
const float visibility)
const;
319 virtual const float computeCloudThickness(
const float baseMSLAltitude)
const;
322 virtual void slot_coordinateSystemChanged();
338 , localPosition(0, 0, 0)
343 , visibilityDistance(0)
double myHeight
Definition: DtLocalEnvironmentalsControllerObject.h:331
DtVector myFogColor
Definition: DtLocalEnvironmentalsControllerObject.h:379
double myLength
Definition: DtLocalEnvironmentalsControllerObject.h:330
int cloudType
Definition: DtLocalEnvironmentalsControllerObject.h:353
A structure used to store information about a cloud layer.
Definition: DtLocalEnvironmentalsControllerObject.h:335
unsigned int myPrecipitationType
Definition: DtLocalEnvironmentalsControllerObject.h:374
DtCoordinateConverter is the base class for 'local (cig) to geocentric' converters.
Definition: DtCoordinateConverter.h:25
double myCornerRadius
Definition: DtLocalEnvironmentalsControllerObject.h:332
voidpf uLong int origin
Definition: ioapi.h:42
float myWindSpeed
Definition: DtLocalEnvironmentalsControllerObject.h:383
#define DtCloudLayerIdUndefined
Definition: DtCloudLayer.h:29
float visibilityDistance
Definition: DtLocalEnvironmentalsControllerObject.h:356
std::vector< CloudLayerData * > CloudLayerSet
This type defines a set of cloud layers.
Definition: DtLocalEnvironmentalsControllerObject.h:370
float myGroundRainAccumulation
Definition: DtLocalEnvironmentalsControllerObject.h:377
DtVector myOrigin
Definition: DtLocalEnvironmentalsControllerObject.h:328
CloudLayerData()
Definition: DtLocalEnvironmentalsControllerObject.h:337
bool myLightningEnabled
Definition: DtLocalEnvironmentalsControllerObject.h:385
float baseMSLAltitude
Definition: DtLocalEnvironmentalsControllerObject.h:352
DtVector localPosition
Definition: DtLocalEnvironmentalsControllerObject.h:351
A DtLocalEnvironmentalsControllerObject processes enviromental data for a localize weather area...
Definition: DtLocalEnvironmentalsControllerObject.h:45
DtSignalConnectionManager myConnections
Definition: DtLocalEnvironmentalsControllerObject.h:389
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points. Coordinates are in local database coordinates The coordinat...
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
float myWindDirection
Definition: DtLocalEnvironmentalsControllerObject.h:382
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Representation of a single cloud layer.
Definition: DtCloudLayer.h:34
DtUniqueID myWeatherAreaId
Definition: DtLocalEnvironmentalsControllerObject.h:387
DtDe & myDe
Definition: DtLocalEnvironmentalsControllerObject.h:326
Contains vrvCore::DtCloudLayerRecord declaration.
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Functor for comparing cloud layers by altitude.
Definition: DtLocalEnvironmentalsControllerObject.h:361
Base class to provide boost signal/slot management.
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
float myVisibilityDistance
Definition: DtLocalEnvironmentalsControllerObject.h:380
CloudLayerSet myCloudLayerSet
Definition: DtLocalEnvironmentalsControllerObject.h:372
long long DtCloudLayerId
Definition: DtCloudLayer.h:26
Contains makVrv::DtUniqueID type.
float myOvercast
Definition: DtLocalEnvironmentalsControllerObject.h:381
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:72
DtCloudLayerId layerId
Definition: DtLocalEnvironmentalsControllerObject.h:349
float boundsScale
Definition: DtLocalEnvironmentalsControllerObject.h:357
float myPrecipitationIntensity
Definition: DtLocalEnvironmentalsControllerObject.h:375
float skyCoverage
Definition: DtLocalEnvironmentalsControllerObject.h:355
float cloudDensity
Definition: DtLocalEnvironmentalsControllerObject.h:354
double myWidth
Definition: DtLocalEnvironmentalsControllerObject.h:329
DtCloudLayer cloudLayer
Definition: DtLocalEnvironmentalsControllerObject.h:350
Contains DLL export macros.