List of all members.
Public Types |
| enum | CloudState_Generation {
CStG_Standard,
CStG_Simulation,
CStG_Voxel,
CStG_Objs,
CStG_Wang
} |
Public Member Functions |
| | CloudState (void) |
| | ~CloudState (void) |
| void | AddCloud (int type, osg::Vec3 middlepoint, osg::Vec3 size, osg::Vec4 color) |
| void | AddCloud (int type, std::string path, osg::Vec3 middlepoint, osg::Vec3 size, int gentype, osg::Vec4 color) |
| int | GetCloudType (int at) |
| osg::Vec3 | getMiddlePoint (int cloud_type) |
| void | setMiddlePoint (int cloud_type, osg::Vec3 middlepoint) |
| osg::Vec3 | getSize (int cloud_type) |
| void | setSize (int cloud_type, osg::Vec3 size) |
| osg::Vec4 | getColor (int cloud_type) |
| void | setColor (int cloud_type, osg::Vec4 size) |
| int | GetNumberOfClouds () |
| int | GetCloudGenerationType (int at) |
| std::string | GetPath (int at) |
Constructor & Destructor Documentation
| osgCloudyDay::CloudState::CloudState |
( |
void |
| ) |
|
| osgCloudyDay::CloudState::~CloudState |
( |
void |
| ) |
|
Member Function Documentation
| void osgCloudyDay::CloudState::AddCloud |
( |
int |
type, |
|
|
osg::Vec3 |
middlepoint, |
|
|
osg::Vec3 |
size, |
|
|
osg::Vec4 |
color |
|
) |
| |
Method to add a cloud
- Parameters:
-
| type | type of the cloud |
| middlepoint | position of the cloud |
| size | size of the cloud |
| color | color of the cloud |
| void osgCloudyDay::CloudState::AddCloud |
( |
int |
type, |
|
|
std::string |
path, |
|
|
osg::Vec3 |
middlepoint, |
|
|
osg::Vec3 |
size, |
|
|
int |
gentype, |
|
|
osg::Vec4 |
color |
|
) |
| |
Method to add a cloud
- Parameters:
-
| type | type of the cloud |
| middlepoint | position of the cloud |
| size | size of the cloud |
| color | color of the cloud |
| gentype | Generation type of the cloud |
| int osgCloudyDay::CloudState::GetCloudGenerationType |
( |
int |
at | ) |
|
Returns the cloud generation method
- Parameters:
-
- Returns:
- cloud generation type
| int osgCloudyDay::CloudState::GetCloudType |
( |
int |
at | ) |
|
Method returns the cloud type
- Returns:
- cloud type
| osg::Vec4 osgCloudyDay::CloudState::getColor |
( |
int |
cloud_type | ) |
|
Method returns the color of the cloud
- Returns:
- color of the cloud
| osg::Vec3 osgCloudyDay::CloudState::getMiddlePoint |
( |
int |
cloud_type | ) |
|
Method returns the position of the cloud
- Returns:
- position of the cloud
| int osgCloudyDay::CloudState::GetNumberOfClouds |
( |
| ) |
|
Method returns the number of clouds
- Returns:
- number of clouds
| std::string osgCloudyDay::CloudState::GetPath |
( |
int |
at | ) |
|
Returns the path
- Parameters:
-
- Returns:
- path to cloud
| osg::Vec3 osgCloudyDay::CloudState::getSize |
( |
int |
cloud_type | ) |
|
Method returns the size of the cloud
- Returns:
- size of the cloud
| void osgCloudyDay::CloudState::setColor |
( |
int |
cloud_type, |
|
|
osg::Vec4 |
size |
|
) |
| |
Method color the size of the cloud
- Parameters:
-
| cloud_type | type of the cloud |
| color | color of the cloud |
| void osgCloudyDay::CloudState::setMiddlePoint |
( |
int |
cloud_type, |
|
|
osg::Vec3 |
middlepoint |
|
) |
| |
Method sets the position of the cloud
- Parameters:
-
| cloud_type | type of the cloud |
| middlepoint | position of the cloud |
| void osgCloudyDay::CloudState::setSize |
( |
int |
cloud_type, |
|
|
osg::Vec3 |
size |
|
) |
| |
Method sets the size of the cloud
- Parameters:
-
| cloud_type | type of the cloud |
| size | size of the cloud |
The documentation for this class was generated from the following files: