![]() |
VR-Forces 4.1 Class Documentation
|
The base sky object. More...

Public Types | |
| enum | CloudLayerTypes { Cirrocumulus, CirrusFibratus, Nimbostratus, CumulusMediocris, CumulusCongestus, CumulonimbusCapillatus } |
| Cloud layer types. More... | |
Public Member Functions | |
| DtSkyObject (DtDe &de, DtUniqueID id) | |
| |brief CTOR | |
| virtual | ~DtSkyObject () |
| DTOR. | |
| virtual void | setDateAndTime (unsigned short year, unsigned char month, unsigned char day, unsigned char hour, unsigned char minutes, double seconds, bool observeDaylightSavings) |
| Set the date and time to show the sky. | |
| virtual void | setLocation (const DtVector &location) |
| Set the location of the viewer from which the sky is to be recalculated. | |
| virtual void | addCloudLayer (int deckType, const DtVector &location, const DtVector &bounds, double density) |
| Add new cloud deck. | |
| virtual void | setCloudLayerEnabled (int index, bool enabled)=0 |
| Enable/disable a cloud layer. | |
| virtual int | cloudLayerCount () const |
| Get the number of cloud decks. | |
| virtual void | removeCloudLayer (int index)=0 |
| Remove a cloud deck. | |
| virtual void | setAirTurbidity (float turbidity)=0 |
| Set the air turbidity (haziness) | |
| virtual void | setVisibleDistance (float distance)=0 |
| Set the visible distance. | |
| virtual void | setPrecipitationEnabled (bool enabled)=0 |
| Set whether precipitation is enabled. | |
| virtual void | setPrecipitationType (int type)=0 |
| Set the precipitation type. | |
| virtual void | setPrecipitationIntensity (float intensity)=0 |
| Set the precipitation intensity. | |
| virtual void | setCloudLayerPosition (int index, double xCoord, double yCoord)=0 |
| Move a cloud layer to a new position. | |
The base sky object.
Cloud layer types.
| makVrv::DtSkyObject::DtSkyObject | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
|brief CTOR
|
virtual |
DTOR.
|
virtual |
Set the date and time to show the sky.
|
virtual |
Set the location of the viewer from which the sky is to be recalculated.
| Input | |
| location | is the local coordinate from which to generate the sky for. Typically it is the observer location. |
Reimplemented in makVrv::DtOsgSkyObject.
|
virtual |
Add new cloud deck.
Reimplemented in makVrv::DtOsgSkyObject.
|
pure virtual |
Enable/disable a cloud layer.
Implemented in makVrv::DtOsgSkyObject.
|
virtual |
Get the number of cloud decks.
Reimplemented in makVrv::DtOsgSkyObject.
|
pure virtual |
Remove a cloud deck.
Implemented in makVrv::DtOsgSkyObject.
|
pure virtual |
Set the air turbidity (haziness)
Implemented in makVrv::DtOsgSkyObject.
|
pure virtual |
Set the visible distance.
Implemented in makVrv::DtOsgSkyObject.
|
pure virtual |
Set whether precipitation is enabled.
Implemented in makVrv::DtOsgSkyObject.
|
pure virtual |
Set the precipitation type.
| input | 0 = rain, 1 = snow. |
Implemented in makVrv::DtOsgSkyObject.
|
pure virtual |
Set the precipitation intensity.
Implemented in makVrv::DtOsgSkyObject.
|
pure virtual |
Move a cloud layer to a new position.
Implemented in makVrv::DtOsgSkyObject.