class SG_EXPORT osg::Fog: public Object

Fog - encapsulates OpenGL fog state.

Inheritance:


Public Classes

[more]enum FogMode

Public Methods

[more] Fog( void )
[more]static Fog* instance()
[more]virtual Object* clone() const
[more]virtual bool isSameKindAs(Object* obj)
[more]virtual const char* className() const
[more]static void enable( void )
[more]static void disable( void )
[more]void apply( void )
[more]void setMode( uint mode )
[more]uint getMode( void )
[more]void setDensity( float density )
[more]float getDensity( void )
[more]void setStart( float start )
[more]float getStart( void )
[more]void setEnd( float end )
[more]float getEnd( void )
[more]void setColor( Vec4 &color )

Protected Fields

[more]uint _mode
[more]float _density
[more]float _start
[more]float _end
[more]Vec4 _color

Protected Methods

[more]virtual ~Fog( void )


Inherited from Object:

Public Methods

ovirtual Object* readClone(Input& fr)
ovirtual bool write(Output& fw)

Protected Methods

ovirtual bool readLocalData(Input&)
ovirtual bool writeLocalData(Output&)


Inherited from Referenced:

Public Methods

oReferenced& operator = (Referenced&)
ovoid ref()
ovoid unref()
oint referenceCount()

Protected Fields

oint _refCount


Documentation

Fog - encapsulates OpenGL fog state.
oenum FogMode

o LINEAR

o EXP

o EXP2

o Fog( void )

ostatic Fog* instance()

ovirtual Object* clone() const

ovirtual bool isSameKindAs(Object* obj)

ovirtual const char* className() const

ostatic void enable( void )

ostatic void disable( void )

ovoid apply( void )

ovoid setMode( uint mode )

ouint getMode( void )

ovoid setDensity( float density )

ofloat getDensity( void )

ovoid setStart( float start )

ofloat getStart( void )

ovoid setEnd( float end )

ofloat getEnd( void )

ovoid setColor( Vec4 &color )

ovirtual ~Fog( void )

ouint _mode

ofloat _density

ofloat _start

ofloat _end

oVec4 _color


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.