The weather area object represents a set localized environmental conditions such as local rain and fog. The area is defined by a transformed bounds.
It is a distributed object.
These objects are created by using DtWeatherAreaObjectManager::addWeatherArea().
Changes to this object will produce signals in the DtWeatherAreaObjectManager.
| makVrv::DtWeatherAreaObject::DtWeatherAreaObject |
( |
DtDe & |
de, |
|
|
DtUniqueID |
id |
|
) |
| |
| virtual makVrv::DtWeatherAreaObject::~DtWeatherAreaObject |
( |
| ) |
|
|
virtual |
| makVrv::DtWeatherAreaObject::DtWeatherAreaObject |
( |
| ) |
|
|
delete |
Default Constructor not implemented – default constructor not allowed.
Copy Constructor not implemented – Copy not allowed.
Assignment Operator not implemented – Copy not allowed.
| virtual void makVrv::DtWeatherAreaObject::setBounds |
( |
const DtVector & |
bounds, |
|
|
const float |
cornerRadius |
|
) |
| |
|
virtual |
Sets the bounds of the area.
- Parameters
-
| bounds | The (x,y,z) of the bounds. |
| cornerRadius | The radius at each corner of the bounds. |
| virtual void makVrv::DtWeatherAreaObject::setTransform |
( |
const DtVector & |
position, |
|
|
const float |
orientation |
|
) |
| |
|
virtual |
Sets the area transform. Coordinates are in the database coordinate system.
- Parameters
-
| position | The transform position. |
| orientation | The yaw orientation in degrees (0 = north). |
| virtual const DtVector& makVrv::DtWeatherAreaObject::position |
( |
| ) |
const |
|
virtual |
Returns the area origin position. Coordinates are in the database coordinate system.
| virtual const float makVrv::DtWeatherAreaObject::orientation |
( |
| ) |
const |
|
virtual |
Returns yaw orientation in degrees (0 = north). Coordinates are in the database coordinate system.
| virtual const DtVector& makVrv::DtWeatherAreaObject::bounds |
( |
| ) |
const |
|
virtual |
Returns the bounds (x,y,z) of the area.
| virtual const float makVrv::DtWeatherAreaObject::boundsCornerRadius |
( |
| ) |
const |
|
virtual |
Returns the bounds corner radius.
| virtual void makVrv::DtWeatherAreaObject::setPrecipitationIntensity |
( |
const float |
intensity | ) |
|
|
virtual |
Sets the precipitation intensity.
- Parameters
-
| intensity | The precipitation intensity. |
| virtual const float makVrv::DtWeatherAreaObject::precipitationIntensity |
( |
| ) |
const |
|
virtual |
Returns the precipitation intensity.
| virtual void makVrv::DtWeatherAreaObject::setPrecipitationType |
( |
const unsigned int |
type | ) |
|
|
virtual |
Sets the precipitation type.
- Parameters
-
| type | The precipitation type. |
| virtual const unsigned int makVrv::DtWeatherAreaObject::precipitationType |
( |
| ) |
const |
|
virtual |
Returns the precipitation type.
| virtual void makVrv::DtWeatherAreaObject::setGroundRainAccumulation |
( |
const float |
depth | ) |
|
|
virtual |
Set the ground rain accumulation depth.
- Parameters
-
| depth | The ground rain accumulation depth. |
| virtual const float makVrv::DtWeatherAreaObject::groundRainAccumulation |
( |
| ) |
const |
|
virtual |
Returns the ground rain accumulation depth.
| virtual void makVrv::DtWeatherAreaObject::setFogColor |
( |
const DtVector & |
color | ) |
|
|
virtual |
Sets a fog color for the area.
- Parameters
-
| virtual const DtVector& makVrv::DtWeatherAreaObject::fogColor |
( |
| ) |
const |
|
virtual |
Returns the fog color for the area.
| virtual void makVrv::DtWeatherAreaObject::setVisibilityDistance |
( |
const float |
distance | ) |
|
|
virtual |
Sets a visibility distance for the area.
- Parameters
-
| virtual const float makVrv::DtWeatherAreaObject::visibilityDistance |
( |
| ) |
const |
|
virtual |
Returns the visibility distance for the area.
| virtual void makVrv::DtWeatherAreaObject::setOvercast |
( |
const float |
overcast | ) |
|
|
virtual |
Sets an overcast lighting value for the area.
- Parameters
-
| overcast | The overcast value (0.0 [clear] - 1.0 [full overcast]). |
| virtual const float makVrv::DtWeatherAreaObject::overcast |
( |
| ) |
const |
|
virtual |
Returns the overcast for the area.
| virtual void makVrv::DtWeatherAreaObject::setLightningEnabled |
( |
const bool |
enabled | ) |
|
|
virtual |
Sets the lightning enabled flag for the area.
- Parameters
-
| enabled | Set to true to enable lightning for the area. |
| virtual const bool makVrv::DtWeatherAreaObject::lightningEnabled |
( |
| ) |
const |
|
virtual |
Returns the lightning enabled flag for the area.
| virtual void makVrv::DtWeatherAreaObject::setWind |
( |
const float |
direction, |
|
|
const float |
speed |
|
) |
| |
|
virtual |
Sets wind for the area.
- Parameters
-
| direction | The wind direction in radians from true north (clockwise). |
| speed | The wind speed in meters per second. |
| virtual const float makVrv::DtWeatherAreaObject::windDirection |
( |
| ) |
const |
|
virtual |
Returns the wind direction for the area.
| virtual const float makVrv::DtWeatherAreaObject::windSpeed |
( |
| ) |
const |
|
virtual |
Returns the wind speed for the area.
| virtual void makVrv::DtWeatherAreaObject::cloudLayerAdded |
( |
DtCloudLayerId |
layerId, |
|
|
int |
cloudType |
|
) |
| |
|
virtual |
Called when a cloud layer is added to this weather area.
- Parameters
-
| virtual void makVrv::DtWeatherAreaObject::cloudLayerRemoved |
( |
DtCloudLayerId |
layerId | ) |
|
|
virtual |
Called when a cloud layer is removed from this weather area.
- Parameters
-
| layerId | The cloud layer id. |
| DtDe& makVrv::DtWeatherAreaObject::myDe |
|
protected |
| DtUniqueID makVrv::DtWeatherAreaObject::myUniqueId |
|
protected |
| DtVector makVrv::DtWeatherAreaObject::myPosition |
|
protected |
| float makVrv::DtWeatherAreaObject::myOrientation |
|
protected |
| DtVector makVrv::DtWeatherAreaObject::myBounds |
|
protected |
| float makVrv::DtWeatherAreaObject::myBoundsCornerRadius |
|
protected |
| float makVrv::DtWeatherAreaObject::myPrecipitationIntensity |
|
protected |
| unsigned int makVrv::DtWeatherAreaObject::myPrecipitationType |
|
protected |
| float makVrv::DtWeatherAreaObject::myGroundRainAccumulation |
|
protected |
| DtVector makVrv::DtWeatherAreaObject::myFogColor |
|
protected |
| float makVrv::DtWeatherAreaObject::myVisibilityDistance |
|
protected |
| float makVrv::DtWeatherAreaObject::myOvercast |
|
protected |
| bool makVrv::DtWeatherAreaObject::myLightningEnabled |
|
protected |
| float makVrv::DtWeatherAreaObject::myWindDirection |
|
protected |
| float makVrv::DtWeatherAreaObject::myWindSpeed |
|
protected |
The documentation for this class was generated from the following file: