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

osg::ChunkMaterial Class Reference
[OpenSG Material Lib]

ChunkMaterial class. More...

#include <OSGChunkMaterial.h>

Inheritance diagram for osg::ChunkMaterial:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

Rendering
virtual void draw (DrawFunctor &func, DrawActionBase *action)
virtual void draw (Geometry *geo, DrawActionBase *action)
virtual StatePtr makeState (void)
virtual void rebuildState (void)
virtual bool isTransparent (void) const
Access
bool addChunk (StateChunkPtr chunk)
bool subChunk (StateChunkPtr chunk)

Static Public Methods

Class Get
const char * getClassname (void)

Protected Methods

Constructors
 ChunkMaterial (void)
 Constructor.

 ChunkMaterial (const ChunkMaterial &source)
 Copy Constructor.

Destructor
virtual ~ChunkMaterial (void)
 Destructor.


Private Types

typedef ChunkMaterialBase Inherited

Private Methods

void operator= (const ChunkMaterial &source)

Static Private Methods

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


Static Private Attributes

char cvsid [] = "@(#)$Id: OSGChunkMaterial.cpp,v 1.24 2002/06/30 05:04:21 vossg Exp $"

Friends

class FieldContainer
class ChunkMaterialBase

Detailed Description

ChunkMaterial class.

The chunk material class.


Member Typedef Documentation

typedef ChunkMaterialBase osg::ChunkMaterial::Inherited [private]
 

Reimplemented from osg::ChunkMaterialBase.

Reimplemented in osg::SimpleMaterial, osg::SimpleMaterialBase, osg::SimpleTexturedMaterial, and osg::SimpleTexturedMaterialBase.


Constructor & Destructor Documentation

ChunkMaterial::ChunkMaterial void    [protected]
 

Constructor.

ChunkMaterial::ChunkMaterial const ChunkMaterial &    source [protected]
 

Copy Constructor.

ChunkMaterial::~ChunkMaterial void    [protected, virtual]
 

Destructor.


Member Function Documentation

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

Reimplemented from osg::Material.

Reimplemented in osg::SimpleMaterial.

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

react to field changes

Reimplemented from osg::Material.

Reimplemented in osg::SimpleMaterial, and osg::SimpleTexturedMaterial.

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

output the instance for debug purposes

Reimplemented from osg::Material.

Reimplemented in osg::SimpleMaterial, and osg::SimpleTexturedMaterial.

void ChunkMaterial::draw DrawFunctor   func,
DrawActionBase *    action
[virtual]
 

Implements osg::Material.

void ChunkMaterial::draw Geometry   geo,
DrawActionBase *    action
[virtual]
 

Implements osg::Material.

StatePtr ChunkMaterial::makeState void    [virtual]
 

Implements osg::Material.

Reimplemented in osg::SimpleMaterial, and osg::SimpleTexturedMaterial.

void ChunkMaterial::rebuildState void    [virtual]
 

Implements osg::Material.

Reimplemented in osg::SimpleMaterial, and osg::SimpleTexturedMaterial.

bool ChunkMaterial::isTransparent void    const [virtual]
 

Implements osg::Material.

Reimplemented in osg::SimpleMaterial, and osg::SimpleTexturedMaterial.

bool ChunkMaterial::addChunk StateChunkPtr    chunk
 

bool ChunkMaterial::subChunk StateChunkPtr    chunk
 

void ChunkMaterial::initMethod void    [static, private]
 

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

Reimplemented from osg::Material.

Reimplemented in osg::SimpleMaterial, and osg::SimpleTexturedMaterial.

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


Friends And Related Function Documentation

friend class FieldContainer [friend]
 

Reimplemented from osg::ChunkMaterialBase.

Reimplemented in osg::SimpleMaterial, osg::SimpleMaterialBase, osg::SimpleTexturedMaterial, and osg::SimpleTexturedMaterialBase.

friend class ChunkMaterialBase [friend]
 


Member Data Documentation

char ChunkMaterial::cvsid = "@(#)$Id: OSGChunkMaterial.cpp,v 1.24 2002/06/30 05:04:21 vossg Exp $" [static, private]
 

Reimplemented from osg::Material.

Reimplemented in osg::SimpleMaterial.


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