#include <clouddome.h>

Public Member Functions | |
| CloudDome (int octaves, int frequency, float amp, float persistence, float cutoff, float exponent, float radius, int segments) | |
| Constructor: These params initialize the noise function for a detailed description see dtUtil::Fractal. | |
| CloudDome (float radius, int segments, const std::string &filename) | |
| Constructor. | |
| float | GetScale () const |
| float | GetExponent () const |
| float | GetCutoff () const |
| float | GetSpeedX () const |
| float | GetSpeedY () const |
| float | GetBias () const |
| osg::Vec3 | GetCloudColor () const |
| bool | GetEnable () const |
| void | SetScale (float scale) |
| void | SetExponent (float exponent) |
| void | SetCutoff (float cutoff) |
| void | SetSpeedX (float speedX) |
| void | SetSpeedY (float speedY) |
| void | SetBias (float bias) |
| void | SetCloudColor (const osg::Vec3 &mCC) |
| void | SetShaderEnable (bool enable) |
| virtual void | Repaint (const osg::Vec3 &skyColor, const osg::Vec3 &fogColor, double sunAngle, double sunAzimuth, double visibility) |
| Must override this to supply the repainting routine. | |
Protected Member Functions | |
| virtual | ~CloudDome () |
| CloudDome::CloudDome | ( | int | octaves, | |
| int | frequency, | |||
| float | amp, | |||
| float | persistence, | |||
| float | cutoff, | |||
| float | exponent, | |||
| float | radius, | |||
| int | segments | |||
| ) |
Constructor: These params initialize the noise function for a detailed description see dtUtil::Fractal.
| CloudDome::CloudDome | ( | float | radius, | |
| int | segments, | |||
| const std::string & | filename | |||
| ) |
Constructor.
| radius,: | the radius of the cloud dome | |
| segments,: | the number of segments in the dome tesselation |
| CloudDome::~CloudDome | ( | ) | [protected, virtual] |
| float dtCore::CloudDome::GetScale | ( | ) | const [inline] |
| float dtCore::CloudDome::GetExponent | ( | ) | const [inline] |
| float dtCore::CloudDome::GetCutoff | ( | ) | const [inline] |
| float dtCore::CloudDome::GetSpeedX | ( | ) | const [inline] |
| float dtCore::CloudDome::GetSpeedY | ( | ) | const [inline] |
| float dtCore::CloudDome::GetBias | ( | ) | const [inline] |
| osg::Vec3 dtCore::CloudDome::GetCloudColor | ( | ) | const [inline] |
| bool dtCore::CloudDome::GetEnable | ( | ) | const [inline] |
| void dtCore::CloudDome::SetScale | ( | float | scale | ) | [inline] |
| void dtCore::CloudDome::SetExponent | ( | float | exponent | ) | [inline] |
| void dtCore::CloudDome::SetCutoff | ( | float | cutoff | ) | [inline] |
| void dtCore::CloudDome::SetSpeedX | ( | float | speedX | ) | [inline] |
| void dtCore::CloudDome::SetSpeedY | ( | float | speedY | ) | [inline] |
| void dtCore::CloudDome::SetBias | ( | float | bias | ) | [inline] |
| void dtCore::CloudDome::SetCloudColor | ( | const osg::Vec3 & | mCC | ) | [inline] |
| void dtCore::CloudDome::SetShaderEnable | ( | bool | enable | ) | [inline] |
| void CloudDome::Repaint | ( | const osg::Vec3 & | skyColor, | |
| const osg::Vec3 & | fogColor, | |||
| double | sunAngle, | |||
| double | sunAzimuth, | |||
| double | visibility | |||
| ) | [virtual] |