![]() |
VR-Forces Developer's Guide
|
The CloudStateSegment structure contains the cloud layer data along a partial line section. Cloud data includes parameters like cloud type, visibility, etc. The cloud parameters have the same value along the entire line section. The line section is determined by its starting position and distance.
Public Member Functions | |
| CloudStateSegment () | |
| CloudLayerCloudType | cloudType () const |
| void | setCloudType (const CloudLayerCloudType &cloudType) |
| double | coverFraction () const |
| void | setCoverFraction (double coverFraction) |
| double | visibility () const |
| void | setVisibility (double visibility) |
| double | bottomAltitude () const |
| void | setBottomAltitude (double bottomAltitude) |
| double | topAltitude () const |
| void | setTopAltitude (double topAltitude) |
| DtVector | startPosition () const |
| void | setStartPosition (const DtVector &startPosition) |
| double | distance () const |
| void | setDistance (double distance) |
Private Attributes | |
| CloudLayerCloudType | myCloudType |
| double | myCoverFraction |
| double | myVisibility |
| double | myBottomAltitude |
| double | myTopAltitude |
| DtVector | myStartPosition |
| double | myDistance |
|
inline |
References DtCloudLayerUndefined, myBottomAltitude, myCloudType, myCoverFraction, myDistance, myStartPosition, myTopAltitude, and myVisibility.
|
inline |
References myCloudType.
Referenced by setCloudType().
|
inline |
References cloudType(), and myCloudType.
|
inline |
References myCoverFraction.
Referenced by setCoverFraction().
|
inline |
References coverFraction(), and myCoverFraction.
|
inline |
References myVisibility.
Referenced by setVisibility().
|
inline |
References myVisibility, and visibility().
|
inline |
References myBottomAltitude.
Referenced by setBottomAltitude().
|
inline |
References bottomAltitude(), and myBottomAltitude.
|
inline |
References myTopAltitude.
Referenced by setTopAltitude().
|
inline |
References myTopAltitude, and topAltitude().
|
inline |
References myStartPosition.
Referenced by setStartPosition().
|
inline |
References myStartPosition, and startPosition().
|
inline |
References myDistance.
Referenced by setDistance().
|
inline |
References distance(), and myDistance.
|
private |
the cloud state data is a copy of cloudLayerDescription could be refactored to reference the cloudLayerDescription
Referenced by CloudStateSegment(), cloudType(), and setCloudType().
|
private |
Referenced by CloudStateSegment(), coverFraction(), and setCoverFraction().
|
private |
0-1, portion of sky covered.
By default, coverFraction is multiplied by defaultCloudVisibility to get visibility in the cloud layer.
Referenced by CloudStateSegment(), setVisibility(), and visibility().
|
private |
Meters.
Referenced by bottomAltitude(), CloudStateSegment(), and setBottomAltitude().
|
private |
MSL of bottom of layer.
Referenced by CloudStateSegment(), setTopAltitude(), and topAltitude().
|
private |
MSL of top of layer.
Referenced by CloudStateSegment(), setStartPosition(), and startPosition().
|
private |
Referenced by CloudStateSegment(), distance(), and setDistance().