#include <ImportExport.h>
List of all members.
Public Member Functions |
| | ImportExport (void) |
| | ~ImportExport (void) |
| void | AddCloud (osg::ref_ptr< osg::Vec3Array > vertices, osg::ref_ptr< osg::Vec4Array > rotation, osg::ref_ptr< osg::Vec4Array > center, osg::ref_ptr< osg::Vec4Array > ids, osg::ref_ptr< osg::Vec4Array > box_centers, int num_boxes) |
| void | AddCloud (Cloud c) |
| void | GetData (int at, osg::ref_ptr< osg::Vec3Array > &vertices, osg::ref_ptr< osg::Vec4Array > &rotation, osg::ref_ptr< osg::Vec4Array > ¢er, osg::ref_ptr< osg::Vec4Array > &ids) |
| unsigned int | NumClouds () |
| virtual void | Perform ()=0 |
Protected Attributes |
|
std::vector< Cloud > | m_cloud |
Detailed Description
Class, which manages the import and export of the cloud
Constructor & Destructor Documentation
| osgCloudyDay::ImportExport::ImportExport |
( |
void |
| ) |
|
| osgCloudyDay::ImportExport::~ImportExport |
( |
void |
| ) |
|
Member Function Documentation
| void osgCloudyDay::ImportExport::AddCloud |
( |
osg::ref_ptr< osg::Vec3Array > |
vertices, |
|
|
osg::ref_ptr< osg::Vec4Array > |
rotation, |
|
|
osg::ref_ptr< osg::Vec4Array > |
center, |
|
|
osg::ref_ptr< osg::Vec4Array > |
ids, |
|
|
osg::ref_ptr< osg::Vec4Array > |
box_centers, |
|
|
int |
num_boxes |
|
) |
| |
This method adds a cloud
- Parameters:
-
| vertices | vertices of a cloud |
| rotation | rotation array of the cloud |
| center | center array of the cloud |
| ids | array of the clouds |
| void osgCloudyDay::ImportExport::AddCloud |
( |
Cloud |
c | ) |
|
This method adds a cloud
- Parameters:
-
| void osgCloudyDay::ImportExport::GetData |
( |
int |
at, |
|
|
osg::ref_ptr< osg::Vec3Array > & |
vertices, |
|
|
osg::ref_ptr< osg::Vec4Array > & |
rotation, |
|
|
osg::ref_ptr< osg::Vec4Array > & |
center, |
|
|
osg::ref_ptr< osg::Vec4Array > & |
ids |
|
) |
| |
Returns the cloud array
- Parameters:
-
| vertices | vertices array |
| rotation | rotation array |
| center | center array |
| ids | ids array |
| unsigned int osgCloudyDay::ImportExport::NumClouds |
( |
| ) |
|
Returns the number of clouds
- Parameters:
-
| virtual void osgCloudyDay::ImportExport::Perform |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: