CloudyDay
 All Classes Functions Variables Enumerations
Public Types | Public Member Functions
osgCloudyDay::CloudState Class Reference

List of all members.

Public Types

enum  CloudState_Generation {
  CStG_Standard, CStG_Simulation, CStG_Voxel, CStG_Objs,
  CStG_Wang
}

Public Member Functions

 CloudState (void)
 ~CloudState (void)
void AddCloud (int type, osg::Vec3 middlepoint, osg::Vec3 size, osg::Vec4 color)
void AddCloud (int type, std::string path, osg::Vec3 middlepoint, osg::Vec3 size, int gentype, osg::Vec4 color)
int GetCloudType (int at)
osg::Vec3 getMiddlePoint (int cloud_type)
void setMiddlePoint (int cloud_type, osg::Vec3 middlepoint)
osg::Vec3 getSize (int cloud_type)
void setSize (int cloud_type, osg::Vec3 size)
osg::Vec4 getColor (int cloud_type)
void setColor (int cloud_type, osg::Vec4 size)
int GetNumberOfClouds ()
int GetCloudGenerationType (int at)
std::string GetPath (int at)

Constructor & Destructor Documentation

osgCloudyDay::CloudState::CloudState ( void  )

Constructor

osgCloudyDay::CloudState::~CloudState ( void  )

Deconstructor


Member Function Documentation

void osgCloudyDay::CloudState::AddCloud ( int  type,
osg::Vec3  middlepoint,
osg::Vec3  size,
osg::Vec4  color 
)

Method to add a cloud

Parameters:
typetype of the cloud
middlepointposition of the cloud
sizesize of the cloud
colorcolor of the cloud
void osgCloudyDay::CloudState::AddCloud ( int  type,
std::string  path,
osg::Vec3  middlepoint,
osg::Vec3  size,
int  gentype,
osg::Vec4  color 
)

Method to add a cloud

Parameters:
typetype of the cloud
middlepointposition of the cloud
sizesize of the cloud
colorcolor of the cloud
gentypeGeneration type of the cloud
int osgCloudyDay::CloudState::GetCloudGenerationType ( int  at)

Returns the cloud generation method

Parameters:
atcloud type
Returns:
cloud generation type
int osgCloudyDay::CloudState::GetCloudType ( int  at)

Method returns the cloud type

Returns:
cloud type
osg::Vec4 osgCloudyDay::CloudState::getColor ( int  cloud_type)

Method returns the color of the cloud

Returns:
color of the cloud
osg::Vec3 osgCloudyDay::CloudState::getMiddlePoint ( int  cloud_type)

Method returns the position of the cloud

Returns:
position of the cloud
int osgCloudyDay::CloudState::GetNumberOfClouds ( )

Method returns the number of clouds

Returns:
number of clouds
std::string osgCloudyDay::CloudState::GetPath ( int  at)

Returns the path

Parameters:
atcloud type
Returns:
path to cloud
osg::Vec3 osgCloudyDay::CloudState::getSize ( int  cloud_type)

Method returns the size of the cloud

Returns:
size of the cloud
void osgCloudyDay::CloudState::setColor ( int  cloud_type,
osg::Vec4  size 
)

Method color the size of the cloud

Parameters:
cloud_typetype of the cloud
colorcolor of the cloud
void osgCloudyDay::CloudState::setMiddlePoint ( int  cloud_type,
osg::Vec3  middlepoint 
)

Method sets the position of the cloud

Parameters:
cloud_typetype of the cloud
middlepointposition of the cloud
void osgCloudyDay::CloudState::setSize ( int  cloud_type,
osg::Vec3  size 
)

Method sets the size of the cloud

Parameters:
cloud_typetype of the cloud
sizesize of the cloud

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