Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

osg::GradientBackground Class Reference
[OpenSG Backgrounds]

gradient background class More...

#include <OSGGradientBackground.h>

Inheritance diagram for osg::GradientBackground:

Inheritance graph
[legend]
Collaboration diagram for osg::GradientBackground:

Collaboration graph
[legend]
List of all members.

Public Methods

your_category
void clear (DrawActionBase *, Viewport *)
void addColor (Color3f color, Real32 position)
transformation
virtual void changed (BitVector whichField, UInt32 origin)
 react to field changes

dump
virtual void dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const
 output the instance for debug purposes


Static Public Methods

Class Get
const char * getClassname (void)

Protected Methods

Constructors
 GradientBackground (void)
 Constructor.

 GradientBackground (const GradientBackground &source)
 Copy Constructor.

Destructors
virtual ~GradientBackground (void)
 Destructor.


Private Types

typedef GradientBackgroundBase Inherited

Private Methods

void operator= (const GradientBackground &source)

Static Private Methods

void initMethod (void)
 initialize the static features of the class, e.g. action callbacks


Static Private Attributes

char cvsid [] = "@(#)$Id: OSGGradientBackground.cpp,v 1.20 2002/07/02 15:13:51 dirk Exp $"

Friends

class FieldContainer
class GradientBackgroundBase

Detailed Description

gradient background class

A background showing a vertical color gradient. The colors and positions correspond to each other, so both have to have the same number of elements.


Member Typedef Documentation

typedef GradientBackgroundBase osg::GradientBackground::Inherited [private]
 

Reimplemented from osg::GradientBackgroundBase.


Constructor & Destructor Documentation

GradientBackground::GradientBackground void    [protected]
 

Constructor.

GradientBackground::GradientBackground const GradientBackground &    source [protected]
 

Copy Constructor.

GradientBackground::~GradientBackground void    [protected, virtual]
 

Destructor.


Member Function Documentation

const char* osg::GradientBackground::getClassname void    [inline, static]
 

Reimplemented from osg::Background.

void GradientBackground::clear DrawActionBase *   ,
Viewport  
[virtual]
 

Implements osg::Background.

void osg::GradientBackground::addColor Color3f    color,
Real32    position
[inline]
 

void GradientBackground::changed BitVector    whichField,
UInt32    origin
[virtual]
 

react to field changes

Reimplemented from osg::Background.

void GradientBackground::dump UInt32    uiIndent = 0,
const BitVector    bvFlags = 0
const [virtual]
 

output the instance for debug purposes

Reimplemented from osg::Background.

void GradientBackground::initMethod void    [static, private]
 

initialize the static features of the class, e.g. action callbacks

Reimplemented from osg::Background.

void osg::GradientBackground::operator= const GradientBackground &    source [private]
 


Friends And Related Function Documentation

friend class FieldContainer [friend]
 

Reimplemented from osg::GradientBackgroundBase.

friend class GradientBackgroundBase [friend]
 


Member Data Documentation

char GradientBackground::cvsid = "@(#)$Id: OSGGradientBackground.cpp,v 1.20 2002/07/02 15:13:51 dirk Exp $" [static, private]
 

Reimplemented from osg::Background.


The documentation for this class was generated from the following files:
Generated on Wed Jul 3 16:30:27 2002 for OpenSG by doxygen1.2.16