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

#include <Atmosphere.h>

Inheritance diagram for osgCloudyDay::Atmosphere:
osgCloudyDay::AtmosphereHimmel osgCloudyDay::AtmosphereMie

List of all members.

Public Member Functions

 Atmosphere (void)
virtual ~Atmosphere (void)=0
virtual void Initialize ()=0
osg::ref_ptr< osg::Geode > GetNode ()
void SetFog (Fog *fog)

Protected Attributes

Fogm_fog
osg::ref_ptr< osg::StateSet > nodessSkydome
osg::ref_ptr< osg::Geode > athmosphere

Detailed Description

Abstract parent class to create a atmosphere


Constructor & Destructor Documentation

osgCloudyDay::Atmosphere::Atmosphere ( void  )

Atmoshpere constructor

osgCloudyDay::Atmosphere::~Atmosphere ( void  )
pure virtual

Atmosphere deconstructor


Member Function Documentation

osg::ref_ptr< osg::Geode > osgCloudyDay::Atmosphere::GetNode ( )

Function, which returns the node of the atmosphere

Returns:
Node, which saves the atmosphere
virtual void osgCloudyDay::Atmosphere::Initialize ( )
pure virtual

Abstract function to create a atmosphere

Implemented in osgCloudyDay::AtmosphereHimmel, and osgCloudyDay::AtmosphereMie.

void osgCloudyDay::Atmosphere::SetFog ( Fog fog)

Set function for fog

Parameters:
Fogclass, which saves the fog.

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