#include <PerlinCloudState.h>
Public Member Functions | |
| PerlinCloudState (void) | |
| ~PerlinCloudState (void) | |
| int | getNumberOfLayers () |
| void | setNumberOfLayers (int numOfLayers) |
| float | getCover () |
| void | setCover (float cover) |
| float | getSharpness () |
| void | setSharpness (float sharpness) |
Public Member Functions inherited from osgCloudyDay::Cloud2DState | |
| Cloud2DState (int cat) | |
| ~Cloud2DState (void) | |
| osg::Vec3 | getMiddlePoint () |
| void | setMiddlePoint (osg::Vec3 middlepoint) |
| osg::Vec2 | getSize () |
| void | setSize (osg::Vec2 size) |
| int | GetCategory () |
Protected Attributes | |
| int | m_numberOfLayers |
| float | m_cover |
| float | m_sharpness |
Protected Attributes inherited from osgCloudyDay::Cloud2DState | |
| osg::Vec3 | m_middlepoint |
| osg::Vec2 | m_size |
| int | m_type |
Additional Inherited Members | |
Public Types inherited from osgCloudyDay::Cloud2DState | |
| enum | Cloud2D_Type { C2DT_Perlin, C2DT_Cirrus, C2DT_CirrusStratus, C2DT_CirrusCumulus, C2DT_AltStratus } |
Class to configure a 2D cloud, created with a Perlin noise generator
| osgCloudyDay::PerlinCloudState::PerlinCloudState | ( | void | ) |
Constructor
| osgCloudyDay::PerlinCloudState::~PerlinCloudState | ( | void | ) |
Deconstructor
| float osgCloudyDay::PerlinCloudState::getCover | ( | ) |
Returns the cover attribute
| int osgCloudyDay::PerlinCloudState::getNumberOfLayers | ( | ) |
Returns the number of Layers
| float osgCloudyDay::PerlinCloudState::getSharpness | ( | ) |
Returns the sharpness attribute
| void osgCloudyDay::PerlinCloudState::setCover | ( | float | cover | ) |
Sets the cover attribute
| cover | cover attribute |
| void osgCloudyDay::PerlinCloudState::setNumberOfLayers | ( | int | numOfLayers | ) |
Sets the number of Layers
| numOfLayers | number of layers |
| void osgCloudyDay::PerlinCloudState::setSharpness | ( | float | sharpness | ) |
Sets the sharpness attribute
| sharpness | sharpness attribute |
1.8.1.1