CloudyDay
 All Classes Functions Variables Enumerations
Public Member Functions | Protected Attributes
osgCloudyDay::CloudCreator Class Reference

#include <CloudCreator.h>

List of all members.

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

CloudScenem_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

Detailed Description

This class creates the 3D clouds.


Constructor & Destructor Documentation

osgCloudyDay::CloudCreator::CloudCreator ( osg::ref_ptr< osg::Group > &  scene)

Constructor

Parameters:
scenescene object
osgCloudyDay::CloudCreator::~CloudCreator ( void  )

Deconstructor


Member Function Documentation

osgCloudyDay::CloudScene *& osgCloudyDay::CloudCreator::GetCloudScene ( )

Returns the cloud scene node

Returns:
cloud scene
osg::Group * osgCloudyDay::CloudCreator::GetDebugBoxes ( )

This method returns the boxes

Returns:
group with all debug boxes
void osgCloudyDay::CloudCreator::Initialize ( CloudState clouds,
Fog fog 
)

This method initialize the 3D clouds

Parameters:
cloudscloud configuration
fogfog
void osgCloudyDay::CloudCreator::UpdateAddClouds ( )

This method updates the cloud and add a cloud


The documentation for this class was generated from the following files: