#include <CirrusStratus.h>
List of all members.
Public Member Functions |
| | CirrusStratus (osg::Vec3 position, osg::Vec2 size) |
| | ~CirrusStratus (void) |
| void | Initialize (osg::Vec3 position, osg::Vec2 size) |
| virtual void | SetupGeometry (osg::Vec3 position, osg::Vec2 size, osg::Vec3Array *coords, osg::Vec2Array *tcoords, osg::UIntArray *indices) |
| | Cloud2D () |
| | ~Cloud2D () |
| void | Cloud2D::SetGeometry () |
| void | Cloud2D::SetGeometry (osg::Vec3 position, osg::Vec2 size) |
| void | Cloud2D::Create (osg::Geode *geode, osg::Image *perlinImg) |
| void | Create (osg::Geode *geode, osg::Image *perlinImg, osg::Image *perlinNormalImg) |
| void | Create (osg::Geode *geode, osg::Image *perlinImg, osg::Image *perlinNormalImg, osg::Image *perlinHeightImg) |
| osg::Image * | CreateNormalMap (osg::Image *img) |
Additional Inherited Members |
|
osg::Geometry * | geom |
|
osg::Geode * | geode |
|
osg::Node * | terrain_obj |
|
bool | m_tesselation |
|
osg::Vec3Array * | coords |
|
osg::Vec2Array * | tcoords |
|
osg::UIntArray * | indices |
Detailed Description
Class to create a 2D cirrus cloud layer
Constructor & Destructor Documentation
| osgCloudyDay::CirrusStratus::CirrusStratus |
( |
osg::Vec3 |
position, |
|
|
osg::Vec2 |
size |
|
) |
| |
Constructor
- Parameters:
-
| position | middlepoint of the geometry |
| size | size of the geometry |
| osgCloudyDay::CirrusStratus::~CirrusStratus |
( |
void |
| ) |
|
Member Function Documentation
| void osgCloudyDay::CirrusStratus::Initialize |
( |
osg::Vec3 |
position, |
|
|
osg::Vec2 |
size |
|
) |
| |
Sets the texture to the cloud and creates the geometry
- Parameters:
-
| position | middlepoint of the geometry |
| size | size of the geometry |
| void osgCloudyDay::CirrusStratus::SetupGeometry |
( |
osg::Vec3 |
position, |
|
|
osg::Vec2 |
size, |
|
|
osg::Vec3Array * |
coords, |
|
|
osg::Vec2Array * |
tcoords, |
|
|
osg::UIntArray * |
indices |
|
) |
| |
|
virtual |
Method, which creates the geometry
- Parameters:
-
| position | middlepoint of the geometry |
| size | size of the geometry |
| vertices | Vertices array of the geoemtry |
| texcoords | Texture coordinates array of the geoemtry |
| indices | Indices array of the geoemtry |
Implements osgCloudyDay::Cloud2D.
The documentation for this class was generated from the following files: