#include <CloudCreator.h>
Public Member Functions | |
| CloudCreator (osg::ref_ptr< osg::Group > &scene) | |
| ~CloudCreator (void) | |
| osgCloudyDay::CloudScene *& | GetCloudScene () |
| void | Initialize (CloudState *clouds, Fog *fog) |
| osg::Group * | GetDebugBoxes () |
| void | UpdateAddClouds () |
Protected Attributes | |
| CloudScene * | m_cloudscene |
| osg::ref_ptr< osg::Group > | cloud |
| osg::ref_ptr< osg::Group > | scene |
| osg::ref_ptr< osg::Program > | debugProg |
| osg::ref_ptr< osg::Group > | nodes_debug |
This class creates the 3D clouds.
| osgCloudyDay::CloudCreator::CloudCreator | ( | osg::ref_ptr< osg::Group > & | scene | ) |
Constructor
| scene | scene object |
| osgCloudyDay::CloudCreator::~CloudCreator | ( | void | ) |
Deconstructor
| osgCloudyDay::CloudScene *& osgCloudyDay::CloudCreator::GetCloudScene | ( | ) |
Returns the cloud scene node
| osg::Group * osgCloudyDay::CloudCreator::GetDebugBoxes | ( | ) |
This method returns the boxes
| void osgCloudyDay::CloudCreator::Initialize | ( | CloudState * | clouds, |
| Fog * | fog | ||
| ) |
This method initialize the 3D clouds
| clouds | cloud configuration |
| fog | fog |
| void osgCloudyDay::CloudCreator::UpdateAddClouds | ( | ) |
This method updates the cloud and add a cloud
1.8.1.1