#include <CloudLayerState.h>
List of all members.
Public Member Functions |
| | CloudLayerState (void) |
| | ~CloudLayerState (void) |
| void | AddLayer (unsigned int layer, unsigned int type) |
| std::vector< unsigned int > | GetLayers () |
| void | SetType (unsigned int layer, unsigned int type) |
| int | GetType (unsigned int layer) |
| void | setClot (unsigned int cloud_type, unsigned int clot) |
| int | getClot (unsigned int cloud_type) |
| void | setVariance (unsigned int cloud_type, float v) |
| float | getVariance (unsigned int cloud_type) |
| void | setMeasureOvercast (unsigned int cloud_type, float overcast) |
| float | getMeasureOvercast (unsigned int cloud_type) |
| void | setColor (unsigned int cloud_type, osg::Vec4f v) |
| osg::Vec4f | getColor (unsigned int cloud_type) |
| void | setOvercast (unsigned int cloud_type, float overcast) |
| float | getOvercast (unsigned int cloud_type) |
| void | setHeight (unsigned int cloud_type, float height) |
| float | getHeight (unsigned int cloud_type) |
| unsigned int | GetEstimationOfNumberOfCloudsOfLayer (unsigned int cloud_type) |
| void | setMiddlePoint (unsigned int cloud_type, osg::Vec3 middlepoint) |
| osg::Vec3 | getMiddlePoint (unsigned int cloud_type) |
| void | setSize (unsigned int cloud_type, osg::Vec3 size) |
| osg::Vec3 | getSize (unsigned int cloud_type) |
| unsigned int | getNumClouds (unsigned int cloud_type) |
| void | setNumClouds (unsigned int cloud_type, unsigned int num_clouds) |
Detailed Description
States of a 3D cloud layer
Constructor & Destructor Documentation
| osgCloudyDay::CloudLayerState::CloudLayerState |
( |
void |
| ) |
|
| osgCloudyDay::CloudLayerState::~CloudLayerState |
( |
void |
| ) |
|
Member Function Documentation
| void osgCloudyDay::CloudLayerState::AddLayer |
( |
unsigned int |
layer, |
|
|
unsigned int |
type |
|
) |
| |
This method adds a cloud layer
- Parameters:
-
| layer | layer id |
| type | type of the cloud |
| int osgCloudyDay::CloudLayerState::getClot |
( |
unsigned int |
cloud_type | ) |
|
This method returns the number of clots
- Parameters:
-
- Returns:
- number of clots
| osg::Vec4f osgCloudyDay::CloudLayerState::getColor |
( |
unsigned int |
cloud_type | ) |
|
This method returns the color of the cloud layer
- Parameters:
-
- Returns:
- color of the cloud layer
| unsigned int osgCloudyDay::CloudLayerState::GetEstimationOfNumberOfCloudsOfLayer |
( |
unsigned int |
cloud_type | ) |
|
This method sets the height of the cloud layer
- Parameters:
-
- Returns:
- number of
| float osgCloudyDay::CloudLayerState::getHeight |
( |
unsigned int |
cloud_type | ) |
|
This method returns the height of the cloud layer
- Parameters:
-
- Returns:
- height of the cloud layer
| std::vector< unsigned int > osgCloudyDay::CloudLayerState::GetLayers |
( |
| ) |
|
This method returns all cloud layers
- Parameters:
-
- Returns:
- all cloud layers
| float osgCloudyDay::CloudLayerState::getMeasureOvercast |
( |
unsigned int |
cloud_type | ) |
|
This method returns the measured overcast of the cloud layer
- Parameters:
-
- Returns:
- measured overcast of the cloud layer
| osg::Vec3 osgCloudyDay::CloudLayerState::getMiddlePoint |
( |
unsigned int |
cloud_type | ) |
|
This method returns the position of the cloud layer
- Parameters:
-
- Returns:
- position of the cloud layer
| unsigned int osgCloudyDay::CloudLayerState::getNumClouds |
( |
unsigned int |
cloud_type | ) |
|
This method returns the number of clouds
- Parameters:
-
- Returns:
- number of clouds
| float osgCloudyDay::CloudLayerState::getOvercast |
( |
unsigned int |
cloud_type | ) |
|
This method returns the threshold until clouds are added to a cloud layer
- Parameters:
-
- Returns:
- threshold
| osg::Vec3 osgCloudyDay::CloudLayerState::getSize |
( |
unsigned int |
cloud_type | ) |
|
This method returns the size of the cloud layer
- Parameters:
-
- Returns:
- size of the cloud layer
| int osgCloudyDay::CloudLayerState::GetType |
( |
unsigned int |
layer | ) |
|
This method returns the type of the cloud layer
- Parameters:
-
- Returns:
- type of the cloud layer
| float osgCloudyDay::CloudLayerState::getVariance |
( |
unsigned int |
cloud_type | ) |
|
This method returns the variance of the cloud layer
- Parameters:
-
- Returns:
- variance of the cloud layer
| void osgCloudyDay::CloudLayerState::setClot |
( |
unsigned int |
cloud_type, |
|
|
unsigned int |
clot |
|
) |
| |
This method sets the number of clots of the cloud layer
- Parameters:
-
| layer | layer id |
| clots | number of clots |
| void osgCloudyDay::CloudLayerState::setColor |
( |
unsigned int |
cloud_type, |
|
|
osg::Vec4f |
v |
|
) |
| |
This method sets color of the cloud layer
- Parameters:
-
| layer | layer id |
| color | color of the cloud layer |
| void osgCloudyDay::CloudLayerState::setHeight |
( |
unsigned int |
cloud_type, |
|
|
float |
height |
|
) |
| |
This method sets the height of the cloud layer
- Parameters:
-
| layer | layer id |
| height | height of the cloud layer |
| void osgCloudyDay::CloudLayerState::setMeasureOvercast |
( |
unsigned int |
cloud_type, |
|
|
float |
overcast |
|
) |
| |
This method sets the measured overcast of the cloud layer
- Parameters:
-
| layer | layer id |
| overcast | measured overcast |
| void osgCloudyDay::CloudLayerState::setMiddlePoint |
( |
unsigned int |
cloud_type, |
|
|
osg::Vec3 |
middlepoint |
|
) |
| |
This method sets the position of the cloud layer
- Parameters:
-
| layer | layer id |
| middlepoint | position of the cloud layer |
| void osgCloudyDay::CloudLayerState::setNumClouds |
( |
unsigned int |
cloud_type, |
|
|
unsigned int |
num_clouds |
|
) |
| |
this method sets the number of clouds
- Parameters:
-
| layer | layer id |
| num_clouds | number of clouds |
| void osgCloudyDay::CloudLayerState::setOvercast |
( |
unsigned int |
cloud_type, |
|
|
float |
overcast |
|
) |
| |
This method sets a threshold. We add clouds until the measured overcast is below the threshold.
- Parameters:
-
| layer | layer id |
| overcast | theshold |
| void osgCloudyDay::CloudLayerState::setSize |
( |
unsigned int |
cloud_type, |
|
|
osg::Vec3 |
size |
|
) |
| |
this method sets the size of the cloud layer
- Parameters:
-
| layer | layer id |
| size | size of the cloud layer |
| void osgCloudyDay::CloudLayerState::SetType |
( |
unsigned int |
layer, |
|
|
unsigned int |
type |
|
) |
| |
This method sets the type of the cloud layer
- Parameters:
-
| layer | layer id |
| type | type of the cloud |
| void osgCloudyDay::CloudLayerState::setVariance |
( |
unsigned int |
cloud_type, |
|
|
float |
v |
|
) |
| |
This method sets the variance of the cloud clots
- Parameters:
-
| layer | layer id |
| variance | variance of the clots |
The documentation for this class was generated from the following files: