#include <DataCloud.h>
List of all members.
Public Member Functions |
| | DataCloud (osg::ref_ptr< osg::Vec3Array > vertices, osg::ref_ptr< osg::Vec4Array > rotation, osg::ref_ptr< osg::Vec4Array > center, osg::ref_ptr< osg::Vec4Array > ids) |
| | ~DataCloud (void) |
| | CloudGenerator (osg::Vec4 density) |
| virtual | ~CloudGenerator (void)=0 |
| WangCloud * | Create () |
| WangCloud * | Create (osg::Vec3 middlepoint) |
| void | DecideInsideOutside () |
| void | AddCloudBox (int box_iter, osg::Vec3 origin, osg::Vec3 sizes, osg::Vec3 cloud_size, osg::Vec3 jitter_sizes, bool buttom, float s, osg::Vec4 min_max_scale, osg::Vec4 density=osg::Vec4(1.0f, 1.0f, 1.0f, 1.0f)) |
| void | AddCloudBox (CloudCreateVolume *volume, int box_iter, osg::Vec3 origin, osg::Vec3 sizes, osg::Vec3 cloud_size, osg::Vec3 jitter_sizes, bool buttom, osg::Vec4 density=osg::Vec4(1.0f, 1.0f, 1.0f, 1.0f)) |
| void | EliminateRedudantSprites () |
| void | AddBox (osg::ref_ptr< osg::Vec3Array > box_triangles, osg::Vec3 posHelper, osg::Vec3 size) |
Additional Inherited Members |
| static void | DoExport () |
|
WangCloud * | m_cloud |
|
osg::ref_ptr< osg::Geode > | dBoxes |
|
static Export * | ex = new Export() |
|
static int | numClouds = 0 |
| static void | GenerateRandomNumber () |
| static float | GetRandomFloat () |
|
osg::ref_ptr< osg::Vec3Array > | dBoxes_vertices |
|
std::vector< unsigned short > | dBoxes_indices |
|
osg::ref_ptr< osg::Geometry > | dBoxes_geometry |
|
int | m_category |
|
osg::Vec3 | m_middlepoint |
|
osg::Vec4 | m_density |
|
static float * | m_frands = 0 |
|
static int | m_iterFloatRand = 0 |
Detailed Description
CloudGenerator, which manages the import/export of the cloud
Constructor & Destructor Documentation
| osgCloudyDay::DataCloud::DataCloud |
( |
osg::ref_ptr< osg::Vec3Array > |
vertices, |
|
|
osg::ref_ptr< osg::Vec4Array > |
rotation, |
|
|
osg::ref_ptr< osg::Vec4Array > |
center, |
|
|
osg::ref_ptr< osg::Vec4Array > |
ids |
|
) |
| |
| osgCloudyDay::DataCloud::~DataCloud |
( |
void |
| ) |
|
Member Function Documentation
| void osgCloudyDay::DataCloud::Initialize |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following files: