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

osg::BlendChunk Class Reference
[OpenSG State Lib]

chunk for glBlendFunc() attributes More...

#include <OSGBlendChunk.h>

Inheritance diagram for osg::BlendChunk:

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

Collaboration graph
[legend]
List of all members.

Public Methods

Fieldcontainer declaration
virtual const StateChunkClassgetClass (void) const
Sync
virtual void changed (BitVector whichField, UInt32 origin)
 react to field changes

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

State Commands
virtual void activate (DrawActionBase *action, UInt32 index=0)
virtual void changeFrom (DrawActionBase *action, StateChunk *old, UInt32 index=0)
virtual void deactivate (DrawActionBase *action, UInt32 index=0)
Comparison
virtual Real32 switchCost (StateChunk *chunk)
virtual bool operator< (const StateChunk &other) const
 assignment

virtual bool operator== (const StateChunk &other) const
 equal

virtual bool operator!= (const StateChunk &other) const
 unequal


Static Public Methods

Class Get
const char * getClassname (void)

Protected Methods

Constructors
 BlendChunk (void)
 Constructor.

 BlendChunk (const BlendChunk &source)
 Copy Constructor.

Destructors
virtual ~BlendChunk (void)
 Destructor.


Private Types

typedef BlendChunkBase Inherited

Private Methods

void operator= (const BlendChunk &source)

Static Private Methods

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


Static Private Attributes

char cvsid [] = "@(#)$Id: OSGBlendChunk.cpp,v 1.19 2002/07/02 15:07:00 dirk Exp $"
StateChunkClass _class
UInt32 _extBlend
UInt32 _funcBlendColor

Friends

class FieldContainer
class BlendChunkBase

Detailed Description

chunk for glBlendFunc() attributes

The blending chunk handles OpenGL blending, i.e. the definition how incoming pixel are combined with the pixel already in the frame buffer.


Member Typedef Documentation

typedef BlendChunkBase osg::BlendChunk::Inherited [private]
 

Reimplemented from osg::BlendChunkBase.


Constructor & Destructor Documentation

BlendChunk::BlendChunk void    [protected]
 

Constructor.

BlendChunk::BlendChunk const BlendChunk &    source [protected]
 

Copy Constructor.

BlendChunk::~BlendChunk void    [protected, virtual]
 

Destructor.


Member Function Documentation

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

Reimplemented from osg::StateChunk.

const StateChunkClass * osg::BlendChunk::getClass void    const [inline, virtual]
 

Reimplemented from osg::StateChunk.

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

react to field changes

Reimplemented from osg::StateChunk.

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

output the instance for debug purposes

Reimplemented from osg::StateChunk.

void BlendChunk::activate DrawActionBase *    action,
UInt32    index = 0
[virtual]
 

Reimplemented from osg::StateChunk.

void BlendChunk::changeFrom DrawActionBase *    action,
StateChunk   old,
UInt32    index = 0
[virtual]
 

Reimplemented from osg::StateChunk.

void BlendChunk::deactivate DrawActionBase *    action,
UInt32    index = 0
[virtual]
 

Reimplemented from osg::StateChunk.

Real32 BlendChunk::switchCost StateChunk   chunk [virtual]
 

Reimplemented from osg::StateChunk.

bool BlendChunk::operator< const StateChunk   other const [virtual]
 

assignment

Reimplemented from osg::StateChunk.

bool BlendChunk::operator== const StateChunk   other const [virtual]
 

equal

Reimplemented from osg::StateChunk.

bool BlendChunk::operator!= const StateChunk   other const [virtual]
 

unequal

Reimplemented from osg::StateChunk.

void BlendChunk::initMethod void    [static, private]
 

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

Reimplemented from osg::StateChunk.

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


Friends And Related Function Documentation

friend class FieldContainer [friend]
 

Reimplemented from osg::BlendChunkBase.

friend class BlendChunkBase [friend]
 


Member Data Documentation

char BlendChunk::cvsid = "@(#)$Id: OSGBlendChunk.cpp,v 1.19 2002/07/02 15:07:00 dirk Exp $" [static, private]
 

Reimplemented from osg::StateChunk.

StateChunkClass BlendChunk::_class [static, private]
 

UInt32 BlendChunk::_extBlend [static, private]
 

UInt32 BlendChunk::_funcBlendColor [static, private]
 


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