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

#include <Create2DCloud.h>

List of all members.

Public Member Functions

 Create2DCloud (void)
 ~Create2DCloud (void)
void Initialize (std::vector< Cloud2DState > cloud2dstates)
osg::Node * GetNode ()
osg::Node * GetNodeLight ()
osg::Node * GetReflectionCamera (int at)

Protected Attributes

std::vector< osg::ref_ptr
< osg::Geode > > 
m_geodes
std::vector< osg::ref_ptr
< osg::Geode > > 
m_light_geodes
osg::Group * m_node_scene
osg::Group * m_node_light
osg::Group ** m_reflection

Detailed Description

Class to create a 2d cloud


Constructor & Destructor Documentation

osgCloudyDay::Create2DCloud::Create2DCloud ( void  )

Constructor

osgCloudyDay::Create2DCloud::~Create2DCloud ( void  )

Deconstructor


Member Function Documentation

osg::Node * osgCloudyDay::Create2DCloud::GetNode ( )

Results a geode to render it from the viewer

Returns:
geode
osg::Node * osgCloudyDay::Create2DCloud::GetNodeLight ( )

Results a geode to render it from the lightsource

Returns:
geode
osg::Node * osgCloudyDay::Create2DCloud::GetReflectionCamera ( int  at)

Results a geode to render it for reflections

Parameters:
atindex of the camera
Returns:
geode
void osgCloudyDay::Create2DCloud::Initialize ( std::vector< Cloud2DState cloud2dstates)

Initialize the 2D clouds. cloud2dstates configuration of 2D clouds


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