osg::RegisterCombinersChunkBase Class Reference

RegisterCombinersChunk Base Class.

#include <OSGRegisterCombinersChunkBase.h>

Inheritance diagram for osg::RegisterCombinersChunkBase:

osg::StateChunk osg::StateChunkBase osg::Attachment osg::FieldContainer osg::RegisterCombinersChunk

List of all members.

Public Types

enum  {
  Color0FieldId = Inherited::NextFieldId, Color1FieldId = Color0FieldId + 1, ColorSumClampFieldId = Color1FieldId + 1, VariableArgbFieldId = ColorSumClampFieldId + 1,
  VariableBrgbFieldId = VariableArgbFieldId + 1, VariableCrgbFieldId = VariableBrgbFieldId + 1, VariableDrgbFieldId = VariableCrgbFieldId + 1, VariableAalphaFieldId = VariableDrgbFieldId + 1,
  VariableBalphaFieldId = VariableAalphaFieldId + 1, VariableCalphaFieldId = VariableBalphaFieldId + 1, VariableDalphaFieldId = VariableCalphaFieldId + 1, OutputABrgbFieldId = VariableDalphaFieldId + 1,
  OutputCDrgbFieldId = OutputABrgbFieldId + 1, OutputSumrgbFieldId = OutputCDrgbFieldId + 1, ScalergbFieldId = OutputSumrgbFieldId + 1, BiasrgbFieldId = ScalergbFieldId + 1,
  OutputABalphaFieldId = BiasrgbFieldId + 1, OutputCDalphaFieldId = OutputABalphaFieldId + 1, OutputSumalphaFieldId = OutputCDalphaFieldId + 1, DotABrgbFieldId = OutputSumalphaFieldId + 1,
  DotCDrgbFieldId = DotABrgbFieldId + 1, MuxSumrgbFieldId = DotCDrgbFieldId + 1, ScalealphaFieldId = MuxSumrgbFieldId + 1, BiasalphaFieldId = ScalealphaFieldId + 1,
  MuxSumalphaFieldId = BiasalphaFieldId + 1, VariableEFieldId = MuxSumalphaFieldId + 1, VariableFFieldId = VariableEFieldId + 1, VariableGFieldId = VariableFFieldId + 1,
  CombinerColor0FieldId = VariableGFieldId + 1, CombinerColor1FieldId = CombinerColor0FieldId + 1, PerStageConstantsFieldId = CombinerColor1FieldId + 1, NextFieldId = PerStageConstantsFieldId + 1
}
typedef RegisterCombinersChunkPtr Ptr
enum  { IgnoreFieldId = Inherited::NextFieldId, NextFieldId = IgnoreFieldId + 1 }
enum  { ParentsFieldId = Inherited::NextFieldId, InternalFieldId = ParentsFieldId + 1, NextFieldId = InternalFieldId + 1 }
enum  { NextFieldId = 1 }

Public Member Functions

FieldContainer Get


virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Field Get


SFColor4fgetSFColor0 (void)
 Get the RegisterCombinersChunk::_sfColor0 field.
SFColor4fgetSFColor1 (void)
 Get the RegisterCombinersChunk::_sfColor1 field.
SFBoolgetSFColorSumClamp (void)
 Get the RegisterCombinersChunk::_sfColorSumClamp field.
MFGLenumgetMFVariableArgb (void)
 Get the RegisterCombinersChunk::_mfVariableArgb field.
MFGLenumgetMFVariableBrgb (void)
 Get the RegisterCombinersChunk::_mfVariableBrgb field.
MFGLenumgetMFVariableCrgb (void)
 Get the RegisterCombinersChunk::_mfVariableCrgb field.
MFGLenumgetMFVariableDrgb (void)
 Get the RegisterCombinersChunk::_mfVariableDrgb field.
MFGLenumgetMFVariableAalpha (void)
 Get the RegisterCombinersChunk::_mfVariableAalpha field.
MFGLenumgetMFVariableBalpha (void)
 Get the RegisterCombinersChunk::_mfVariableBalpha field.
MFGLenumgetMFVariableCalpha (void)
 Get the RegisterCombinersChunk::_mfVariableCalpha field.
MFGLenumgetMFVariableDalpha (void)
 Get the RegisterCombinersChunk::_mfVariableDalpha field.
MFGLenumgetMFOutputABrgb (void)
 Get the RegisterCombinersChunk::_mfOutputABrgb field.
MFGLenumgetMFOutputCDrgb (void)
 Get the RegisterCombinersChunk::_mfOutputCDrgb field.
MFGLenumgetMFOutputSumrgb (void)
 Get the RegisterCombinersChunk::_mfOutputSumrgb field.
MFGLenumgetMFScalergb (void)
 Get the RegisterCombinersChunk::_mfScalergb field.
MFGLenumgetMFBiasrgb (void)
 Get the RegisterCombinersChunk::_mfBiasrgb field.
MFGLenumgetMFOutputABalpha (void)
 Get the RegisterCombinersChunk::_mfOutputABalpha field.
MFGLenumgetMFOutputCDalpha (void)
 Get the RegisterCombinersChunk::_mfOutputCDalpha field.
MFGLenumgetMFOutputSumalpha (void)
 Get the RegisterCombinersChunk::_mfOutputSumalpha field.
MFUInt8getMFDotABrgb (void)
 Get the RegisterCombinersChunk::_mfDotABrgb field.
MFUInt8getMFDotCDrgb (void)
 Get the RegisterCombinersChunk::_mfDotCDrgb field.
MFUInt8getMFMuxSumrgb (void)
 Get the RegisterCombinersChunk::_mfMuxSumrgb field.
MFGLenumgetMFScalealpha (void)
 Get the RegisterCombinersChunk::_mfScalealpha field.
MFGLenumgetMFBiasalpha (void)
 Get the RegisterCombinersChunk::_mfBiasalpha field.
MFUInt8getMFMuxSumalpha (void)
 Get the RegisterCombinersChunk::_mfMuxSumalpha field.
MFGLenumgetMFVariableE (void)
 Get the RegisterCombinersChunk::_mfVariableE field.
MFGLenumgetMFVariableF (void)
 Get the RegisterCombinersChunk::_mfVariableF field.
MFGLenumgetMFVariableG (void)
 Get the RegisterCombinersChunk::_mfVariableG field.
MFColor4fgetMFCombinerColor0 (void)
 Get the RegisterCombinersChunk::_mfCombinerColor0 field.
MFColor4fgetMFCombinerColor1 (void)
 Get the RegisterCombinersChunk::_mfCombinerColor1 field.
SFUInt8getSFPerStageConstants (void)
 Get the RegisterCombinersChunk::_sfPerStageConstants field.
Color4fgetColor0 (void)
 Get the value of the RegisterCombinersChunk::_sfColor0 field.
const Color4fgetColor0 (void) const
 Get the value of the RegisterCombinersChunk::_sfColor0 field.
Color4fgetColor1 (void)
 Get the value of the RegisterCombinersChunk::_sfColor1 field.
const Color4fgetColor1 (void) const
 Get the value of the RegisterCombinersChunk::_sfColor1 field.
bool & getColorSumClamp (void)
 Get the value of the RegisterCombinersChunk::_sfColorSumClamp field.
const bool & getColorSumClamp (void) const
 Get the value of the RegisterCombinersChunk::_sfColorSumClamp field.
UInt8getPerStageConstants (void)
 Get the value of the RegisterCombinersChunk::_sfPerStageConstants field.
const UInt8getPerStageConstants (void) const
 Get the value of the RegisterCombinersChunk::_sfPerStageConstants field.
GLenum & getVariableArgb (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfVariableArgb field.
MFGLenumgetVariableArgb (void)
 Get the RegisterCombinersChunk::_mfVariableArgb field.
const MFGLenumgetVariableArgb (void) const
 Get the RegisterCombinersChunk::_mfVariableArgb field.
GLenum & getVariableBrgb (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfVariableBrgb field.
MFGLenumgetVariableBrgb (void)
 Get the RegisterCombinersChunk::_mfVariableBrgb field.
const MFGLenumgetVariableBrgb (void) const
 Get the RegisterCombinersChunk::_mfVariableBrgb field.
GLenum & getVariableCrgb (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfVariableCrgb field.
MFGLenumgetVariableCrgb (void)
 Get the RegisterCombinersChunk::_mfVariableCrgb field.
const MFGLenumgetVariableCrgb (void) const
 Get the RegisterCombinersChunk::_mfVariableCrgb field.
GLenum & getVariableDrgb (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfVariableDrgb field.
MFGLenumgetVariableDrgb (void)
 Get the RegisterCombinersChunk::_mfVariableDrgb field.
const MFGLenumgetVariableDrgb (void) const
 Get the RegisterCombinersChunk::_mfVariableDrgb field.
GLenum & getVariableAalpha (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfVariableAalpha field.
MFGLenumgetVariableAalpha (void)
 Get the RegisterCombinersChunk::_mfVariableAalpha field.
const MFGLenumgetVariableAalpha (void) const
 Get the RegisterCombinersChunk::_mfVariableAalpha field.
GLenum & getVariableBalpha (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfVariableBalpha field.
MFGLenumgetVariableBalpha (void)
 Get the RegisterCombinersChunk::_mfVariableBalpha field.
const MFGLenumgetVariableBalpha (void) const
 Get the RegisterCombinersChunk::_mfVariableBalpha field.
GLenum & getVariableCalpha (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfVariableCalpha field.
MFGLenumgetVariableCalpha (void)
 Get the RegisterCombinersChunk::_mfVariableCalpha field.
const MFGLenumgetVariableCalpha (void) const
 Get the RegisterCombinersChunk::_mfVariableCalpha field.
GLenum & getVariableDalpha (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfVariableDalpha field.
MFGLenumgetVariableDalpha (void)
 Get the RegisterCombinersChunk::_mfVariableDalpha field.
const MFGLenumgetVariableDalpha (void) const
 Get the RegisterCombinersChunk::_mfVariableDalpha field.
GLenum & getOutputABrgb (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfOutputABrgb field.
MFGLenumgetOutputABrgb (void)
 Get the RegisterCombinersChunk::_mfOutputABrgb field.
const MFGLenumgetOutputABrgb (void) const
 Get the RegisterCombinersChunk::_mfOutputABrgb field.
GLenum & getOutputCDrgb (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfOutputCDrgb field.
MFGLenumgetOutputCDrgb (void)
 Get the RegisterCombinersChunk::_mfOutputCDrgb field.
const MFGLenumgetOutputCDrgb (void) const
 Get the RegisterCombinersChunk::_mfOutputCDrgb field.
GLenum & getOutputSumrgb (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfOutputSumrgb field.
MFGLenumgetOutputSumrgb (void)
 Get the RegisterCombinersChunk::_mfOutputSumrgb field.
const MFGLenumgetOutputSumrgb (void) const
 Get the RegisterCombinersChunk::_mfOutputSumrgb field.
GLenum & getScalergb (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfScalergb field.
MFGLenumgetScalergb (void)
 Get the RegisterCombinersChunk::_mfScalergb field.
const MFGLenumgetScalergb (void) const
 Get the RegisterCombinersChunk::_mfScalergb field.
GLenum & getBiasrgb (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfBiasrgb field.
MFGLenumgetBiasrgb (void)
 Get the RegisterCombinersChunk::_mfBiasrgb field.
const MFGLenumgetBiasrgb (void) const
 Get the RegisterCombinersChunk::_mfBiasrgb field.
GLenum & getOutputABalpha (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfOutputABalpha field.
MFGLenumgetOutputABalpha (void)
 Get the RegisterCombinersChunk::_mfOutputABalpha field.
const MFGLenumgetOutputABalpha (void) const
 Get the RegisterCombinersChunk::_mfOutputABalpha field.
GLenum & getOutputCDalpha (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfOutputCDalpha field.
MFGLenumgetOutputCDalpha (void)
 Get the RegisterCombinersChunk::_mfOutputCDalpha field.
const MFGLenumgetOutputCDalpha (void) const
 Get the RegisterCombinersChunk::_mfOutputCDalpha field.
GLenum & getOutputSumalpha (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfOutputSumalpha field.
MFGLenumgetOutputSumalpha (void)
 Get the RegisterCombinersChunk::_mfOutputSumalpha field.
const MFGLenumgetOutputSumalpha (void) const
 Get the RegisterCombinersChunk::_mfOutputSumalpha field.
UInt8getDotABrgb (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfDotABrgb field.
MFUInt8getDotABrgb (void)
 Get the RegisterCombinersChunk::_mfDotABrgb field.
const MFUInt8getDotABrgb (void) const
 Get the RegisterCombinersChunk::_mfDotABrgb field.
UInt8getDotCDrgb (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfDotCDrgb field.
MFUInt8getDotCDrgb (void)
 Get the RegisterCombinersChunk::_mfDotCDrgb field.
const MFUInt8getDotCDrgb (void) const
 Get the RegisterCombinersChunk::_mfDotCDrgb field.
UInt8getMuxSumrgb (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfMuxSumrgb field.
MFUInt8getMuxSumrgb (void)
 Get the RegisterCombinersChunk::_mfMuxSumrgb field.
const MFUInt8getMuxSumrgb (void) const
 Get the RegisterCombinersChunk::_mfMuxSumrgb field.
GLenum & getScalealpha (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfScalealpha field.
MFGLenumgetScalealpha (void)
 Get the RegisterCombinersChunk::_mfScalealpha field.
const MFGLenumgetScalealpha (void) const
 Get the RegisterCombinersChunk::_mfScalealpha field.
GLenum & getBiasalpha (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfBiasalpha field.
MFGLenumgetBiasalpha (void)
 Get the RegisterCombinersChunk::_mfBiasalpha field.
const MFGLenumgetBiasalpha (void) const
 Get the RegisterCombinersChunk::_mfBiasalpha field.
UInt8getMuxSumalpha (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfMuxSumalpha field.
MFUInt8getMuxSumalpha (void)
 Get the RegisterCombinersChunk::_mfMuxSumalpha field.
const MFUInt8getMuxSumalpha (void) const
 Get the RegisterCombinersChunk::_mfMuxSumalpha field.
GLenum & getVariableE (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfVariableE field.
MFGLenumgetVariableE (void)
 Get the RegisterCombinersChunk::_mfVariableE field.
const MFGLenumgetVariableE (void) const
 Get the RegisterCombinersChunk::_mfVariableE field.
GLenum & getVariableF (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfVariableF field.
MFGLenumgetVariableF (void)
 Get the RegisterCombinersChunk::_mfVariableF field.
const MFGLenumgetVariableF (void) const
 Get the RegisterCombinersChunk::_mfVariableF field.
GLenum & getVariableG (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfVariableG field.
MFGLenumgetVariableG (void)
 Get the RegisterCombinersChunk::_mfVariableG field.
const MFGLenumgetVariableG (void) const
 Get the RegisterCombinersChunk::_mfVariableG field.
Color4fgetCombinerColor0 (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfCombinerColor0 field.
MFColor4fgetCombinerColor0 (void)
 Get the RegisterCombinersChunk::_mfCombinerColor0 field.
const MFColor4fgetCombinerColor0 (void) const
 Get the RegisterCombinersChunk::_mfCombinerColor0 field.
Color4fgetCombinerColor1 (const UInt32 index)
 Get the value of the index element the RegisterCombinersChunk::_mfCombinerColor1 field.
MFColor4fgetCombinerColor1 (void)
 Get the RegisterCombinersChunk::_mfCombinerColor1 field.
const MFColor4fgetCombinerColor1 (void) const
 Get the RegisterCombinersChunk::_mfCombinerColor1 field.
Field Set


void setColor0 (const Color4f &value)
 Set the value of the RegisterCombinersChunk::_sfColor0 field.
void setColor1 (const Color4f &value)
 Set the value of the RegisterCombinersChunk::_sfColor1 field.
void setColorSumClamp (const bool &value)
 Set the value of the RegisterCombinersChunk::_sfColorSumClamp field.
void setPerStageConstants (const UInt8 &value)
 Set the value of the RegisterCombinersChunk::_sfPerStageConstants field.
Binary Access
virtual UInt32 getBinSize (const BitVector &whichField)
virtual void copyToBin (BinaryDataHandler &pMem, const BitVector &whichField)
virtual void copyFromBin (BinaryDataHandler &pMem, const BitVector &whichField)
Copy


virtual FieldContainerPtr shallowCopy (void) const
Chunk Class Access


UInt32 getClassId (void) const
virtual const StateChunkClassgetClass (void) const
Sync


virtual void changed (BitVector whichField, UInt32 origin)
Output


virtual void dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const
State


virtual void update (DrawActionBase *action)
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)
virtual bool isTransparent (void) const
Comparison


virtual Real32 switchCost (StateChunk *chunk)
virtual bool operator< (const StateChunk &other) const
virtual bool operator== (const StateChunk &other) const
virtual bool operator!= (const StateChunk &other) const
Field Get


SFBoolgetSFIgnore (void)
 Get the StateChunk::_sfIgnore field.
bool & getIgnore (void)
 Get the value of the StateChunk::_sfIgnore field.
const bool & getIgnore (void) const
 Get the value of the StateChunk::_sfIgnore field.
Field Set


void setIgnore (const bool &value)
 Set the value of the StateChunk::_sfIgnore field.
Parents


MFFieldContainerPtrgetParents (void)
const MFFieldContainerPtrgetParents (void) const
MFFieldContainerPtrgetMFParents (void)
void addParent (FieldContainerPtr parent)
void subParent (FieldContainerPtr parent)
Int32 findParent (FieldContainerPtr parent)
Parents


SFBoolgetInternal (void)
const SFBoolgetInternal (void) const
SFBoolgetSFInternal (void)
void setInternal (bool bVal)
Get Instance Type Information


UInt32 getTypeId (void) const
UInt16 getGroupId (void) const
const Char8getTypeName (void) const


FieldgetField (UInt32 fieldId)
FieldgetField (const Char8 *fieldName)

Static Public Member Functions

Class Get


static FieldContainerTypegetClassType (void)
 access the type of the class
static UInt32 getClassTypeId (void)
 access the numerical type of the class
Construction


static RegisterCombinersChunkPtr create (void)
 create a new instance of the class
static RegisterCombinersChunkPtr createEmpty (void)
 create an empty new instance of the class, do not copy the prototype
Static Chunk Class Access


static UInt32 getStaticClassId (void)
static const StateChunkClassgetStaticClass (void)
Get Class Type Information


static UInt16 getClassGroupId (void)

Static Public Attributes

static const osg::BitVector Color0FieldMask
static const osg::BitVector Color1FieldMask
static const osg::BitVector ColorSumClampFieldMask
static const osg::BitVector VariableArgbFieldMask
static const osg::BitVector VariableBrgbFieldMask
static const osg::BitVector VariableCrgbFieldMask
static const osg::BitVector VariableDrgbFieldMask
static const osg::BitVector VariableAalphaFieldMask
static const osg::BitVector VariableBalphaFieldMask
static const osg::BitVector VariableCalphaFieldMask
static const osg::BitVector VariableDalphaFieldMask
static const osg::BitVector OutputABrgbFieldMask
static const osg::BitVector OutputCDrgbFieldMask
static const osg::BitVector OutputSumrgbFieldMask
static const osg::BitVector ScalergbFieldMask
static const osg::BitVector BiasrgbFieldMask
static const osg::BitVector OutputABalphaFieldMask
static const osg::BitVector OutputCDalphaFieldMask
static const osg::BitVector OutputSumalphaFieldMask
static const osg::BitVector DotABrgbFieldMask
static const osg::BitVector DotCDrgbFieldMask
static const osg::BitVector MuxSumrgbFieldMask
static const osg::BitVector ScalealphaFieldMask
static const osg::BitVector BiasalphaFieldMask
static const osg::BitVector MuxSumalphaFieldMask
static const osg::BitVector VariableEFieldMask
static const osg::BitVector VariableFFieldMask
static const osg::BitVector VariableGFieldMask
static const osg::BitVector CombinerColor0FieldMask
static const osg::BitVector CombinerColor1FieldMask
static const osg::BitVector PerStageConstantsFieldMask
static const osg::BitVector MTInfluenceMask
static const osg::BitVector IgnoreFieldMask
static const BitVector InternalFieldMask = (1 << Attachment::InternalFieldId)
static const BitVector ParentsFieldMask = (1 << Attachment::ParentsFieldId)
static const BitVector NextFieldMask
CoredNodePtr helper


static const bool isNodeCore = false

Protected Member Functions

Constructors


 RegisterCombinersChunkBase (void)
 RegisterCombinersChunkBase (const RegisterCombinersChunkBase &source)
Destructors


virtual ~RegisterCombinersChunkBase (void)
Sync


void executeSyncImpl (RegisterCombinersChunkBase *pOther, const BitVector &whichField)
virtual void executeSync (FieldContainer &other, const BitVector &whichField)
Sync


void executeSyncImpl (StateChunkBase *pOther, const BitVector &whichField)
Sync


void executeSyncImpl (Attachment *pOther, const BitVector &whichField)
Sync


void executeSyncImpl (FieldContainer *pOther, const BitVector &whichField)
MT Destruction


virtual void onDestroy (void)
MT Edit


template<class FieldTypeT>
void beginEditX (const BitVector &whichField, FieldTypeT &field)
template<class FieldTypeT>
void endEditX (const BitVector &whichField, FieldTypeT &field)
MT Construction


void onCreate (const FieldContainer *source=NULL)
void onCreateAspect (const FieldContainer *aspect0, const FieldContainer *source=NULL)

Static Protected Member Functions

static void initMethod (void)
Create Fieldcontainer


template<class ObjectPtrT>
static void newPtr (ObjectPtrT &result, const typename ObjectPtrT::StoredObjectType *prototypeP)
template<class ObjectPtrT>
static void newPtr (ObjectPtrT &result)

Protected Attributes

Fields


SFColor4f _sfColor0
SFColor4f _sfColor1
SFBool _sfColorSumClamp
MFGLenum _mfVariableArgb
MFGLenum _mfVariableBrgb
MFGLenum _mfVariableCrgb
MFGLenum _mfVariableDrgb
MFGLenum _mfVariableAalpha
MFGLenum _mfVariableBalpha
MFGLenum _mfVariableCalpha
MFGLenum _mfVariableDalpha
MFGLenum _mfOutputABrgb
MFGLenum _mfOutputCDrgb
MFGLenum _mfOutputSumrgb
MFGLenum _mfScalergb
MFGLenum _mfBiasrgb
MFGLenum _mfOutputABalpha
MFGLenum _mfOutputCDalpha
MFGLenum _mfOutputSumalpha
MFUInt8 _mfDotABrgb
MFUInt8 _mfDotCDrgb
MFUInt8 _mfMuxSumrgb
MFGLenum _mfScalealpha
MFGLenum _mfBiasalpha
MFUInt8 _mfMuxSumalpha
MFGLenum _mfVariableE
MFGLenum _mfVariableF
MFGLenum _mfVariableG
MFColor4f _mfCombinerColor0
MFColor4f _mfCombinerColor1
SFUInt8 _sfPerStageConstants
Fields


SFBool _sfIgnore
Fields


SFBool _sfInternal
MFFieldContainerPtr _parents
Member


UInt32 _shares

Private Types

typedef StateChunk Inherited

Private Member Functions

void operator= (const RegisterCombinersChunkBase &source)

Static Private Attributes

static FieldDescription_desc []
 RegisterCombinersChunk description.
static FieldContainerType _type

Friends

class FieldContainer


Detailed Description

Definition at line 111 of file OSGRegisterCombinersChunkBase.h.


Member Typedef Documentation

Reimplemented from osg::StateChunk.

Reimplemented in osg::RegisterCombinersChunk.

Definition at line 115 of file OSGRegisterCombinersChunkBase.h.

Reimplemented from osg::StateChunkBase.

Definition at line 120 of file OSGRegisterCombinersChunkBase.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
Color0FieldId 
Color1FieldId 
ColorSumClampFieldId 
VariableArgbFieldId 
VariableBrgbFieldId 
VariableCrgbFieldId 
VariableDrgbFieldId 
VariableAalphaFieldId 
VariableBalphaFieldId 
VariableCalphaFieldId 
VariableDalphaFieldId 
OutputABrgbFieldId 
OutputCDrgbFieldId 
OutputSumrgbFieldId 
ScalergbFieldId 
BiasrgbFieldId 
OutputABalphaFieldId 
OutputCDalphaFieldId 
OutputSumalphaFieldId 
DotABrgbFieldId 
DotCDrgbFieldId 
MuxSumrgbFieldId 
ScalealphaFieldId 
BiasalphaFieldId 
MuxSumalphaFieldId 
VariableEFieldId 
VariableFFieldId 
VariableGFieldId 
CombinerColor0FieldId 
CombinerColor1FieldId 
PerStageConstantsFieldId 
NextFieldId 

Definition at line 122 of file OSGRegisterCombinersChunkBase.h.

00123     {
00124         Color0FieldId            = Inherited::NextFieldId,
00125         Color1FieldId            = Color0FieldId            + 1,
00126         ColorSumClampFieldId     = Color1FieldId            + 1,
00127         VariableArgbFieldId      = ColorSumClampFieldId     + 1,
00128         VariableBrgbFieldId      = VariableArgbFieldId      + 1,
00129         VariableCrgbFieldId      = VariableBrgbFieldId      + 1,
00130         VariableDrgbFieldId      = VariableCrgbFieldId      + 1,
00131         VariableAalphaFieldId    = VariableDrgbFieldId      + 1,
00132         VariableBalphaFieldId    = VariableAalphaFieldId    + 1,
00133         VariableCalphaFieldId    = VariableBalphaFieldId    + 1,
00134         VariableDalphaFieldId    = VariableCalphaFieldId    + 1,
00135         OutputABrgbFieldId       = VariableDalphaFieldId    + 1,
00136         OutputCDrgbFieldId       = OutputABrgbFieldId       + 1,
00137         OutputSumrgbFieldId      = OutputCDrgbFieldId       + 1,
00138         ScalergbFieldId          = OutputSumrgbFieldId      + 1,
00139         BiasrgbFieldId           = ScalergbFieldId          + 1,
00140         OutputABalphaFieldId     = BiasrgbFieldId           + 1,
00141         OutputCDalphaFieldId     = OutputABalphaFieldId     + 1,
00142         OutputSumalphaFieldId    = OutputCDalphaFieldId     + 1,
00143         DotABrgbFieldId          = OutputSumalphaFieldId    + 1,
00144         DotCDrgbFieldId          = DotABrgbFieldId          + 1,
00145         MuxSumrgbFieldId         = DotCDrgbFieldId          + 1,
00146         ScalealphaFieldId        = MuxSumrgbFieldId         + 1,
00147         BiasalphaFieldId         = ScalealphaFieldId        + 1,
00148         MuxSumalphaFieldId       = BiasalphaFieldId         + 1,
00149         VariableEFieldId         = MuxSumalphaFieldId       + 1,
00150         VariableFFieldId         = VariableEFieldId         + 1,
00151         VariableGFieldId         = VariableFFieldId         + 1,
00152         CombinerColor0FieldId    = VariableGFieldId         + 1,
00153         CombinerColor1FieldId    = CombinerColor0FieldId    + 1,
00154         PerStageConstantsFieldId = CombinerColor1FieldId    + 1,
00155         NextFieldId              = PerStageConstantsFieldId + 1
00156     };

anonymous enum [inherited]

Enumerator:
IgnoreFieldId 
NextFieldId 

Definition at line 92 of file OSGStateChunkBase.h.

00093     {
00094         IgnoreFieldId = Inherited::NextFieldId,
00095         NextFieldId   = IgnoreFieldId + 1
00096     };

anonymous enum [inherited]

Enumerator:
ParentsFieldId 
InternalFieldId 
NextFieldId 

Definition at line 86 of file OSGAttachmentImpl.h.

00087     { 
00088         ParentsFieldId     = Inherited::NextFieldId, 
00089         InternalFieldId    = ParentsFieldId  + 1,
00090         NextFieldId        = InternalFieldId + 1
00091     };

anonymous enum [inherited]

Enumerator:
NextFieldId 

Definition at line 73 of file OSGFieldContainerImpl.h.

00073 { NextFieldId = 1 };


Constructor & Destructor Documentation

RegisterCombinersChunkBase::RegisterCombinersChunkBase ( void   )  [protected]

Definition at line 521 of file OSGRegisterCombinersChunkBase.cpp.

00521                                                            :
00522     _sfColor0                 (), 
00523     _sfColor1                 (), 
00524     _sfColorSumClamp          (bool(false)), 
00525     _mfVariableArgb           (), 
00526     _mfVariableBrgb           (), 
00527     _mfVariableCrgb           (), 
00528     _mfVariableDrgb           (), 
00529     _mfVariableAalpha         (), 
00530     _mfVariableBalpha         (), 
00531     _mfVariableCalpha         (), 
00532     _mfVariableDalpha         (), 
00533     _mfOutputABrgb            (), 
00534     _mfOutputCDrgb            (), 
00535     _mfOutputSumrgb           (), 
00536     _mfScalergb               (), 
00537     _mfBiasrgb                (), 
00538     _mfOutputABalpha          (), 
00539     _mfOutputCDalpha          (), 
00540     _mfOutputSumalpha         (), 
00541     _mfDotABrgb               (), 
00542     _mfDotCDrgb               (), 
00543     _mfMuxSumrgb              (), 
00544     _mfScalealpha             (), 
00545     _mfBiasalpha              (), 
00546     _mfMuxSumalpha            (), 
00547     _mfVariableE              (), 
00548     _mfVariableF              (), 
00549     _mfVariableG              (), 
00550     _mfCombinerColor0         (), 
00551     _mfCombinerColor1         (), 
00552     _sfPerStageConstants      (), 
00553     Inherited() 
00554 {
00555 }

RegisterCombinersChunkBase::RegisterCombinersChunkBase ( const RegisterCombinersChunkBase source  )  [protected]

Definition at line 561 of file OSGRegisterCombinersChunkBase.cpp.

00561                                                                                                :
00562     _sfColor0                 (source._sfColor0                 ), 
00563     _sfColor1                 (source._sfColor1                 ), 
00564     _sfColorSumClamp          (source._sfColorSumClamp          ), 
00565     _mfVariableArgb           (source._mfVariableArgb           ), 
00566     _mfVariableBrgb           (source._mfVariableBrgb           ), 
00567     _mfVariableCrgb           (source._mfVariableCrgb           ), 
00568     _mfVariableDrgb           (source._mfVariableDrgb           ), 
00569     _mfVariableAalpha         (source._mfVariableAalpha         ), 
00570     _mfVariableBalpha         (source._mfVariableBalpha         ), 
00571     _mfVariableCalpha         (source._mfVariableCalpha         ), 
00572     _mfVariableDalpha         (source._mfVariableDalpha         ), 
00573     _mfOutputABrgb            (source._mfOutputABrgb            ), 
00574     _mfOutputCDrgb            (source._mfOutputCDrgb            ), 
00575     _mfOutputSumrgb           (source._mfOutputSumrgb           ), 
00576     _mfScalergb               (source._mfScalergb               ), 
00577     _mfBiasrgb                (source._mfBiasrgb                ), 
00578     _mfOutputABalpha          (source._mfOutputABalpha          ), 
00579     _mfOutputCDalpha          (source._mfOutputCDalpha          ), 
00580     _mfOutputSumalpha         (source._mfOutputSumalpha         ), 
00581     _mfDotABrgb               (source._mfDotABrgb               ), 
00582     _mfDotCDrgb               (source._mfDotCDrgb               ), 
00583     _mfMuxSumrgb              (source._mfMuxSumrgb              ), 
00584     _mfScalealpha             (source._mfScalealpha             ), 
00585     _mfBiasalpha              (source._mfBiasalpha              ), 
00586     _mfMuxSumalpha            (source._mfMuxSumalpha            ), 
00587     _mfVariableE              (source._mfVariableE              ), 
00588     _mfVariableF              (source._mfVariableF              ), 
00589     _mfVariableG              (source._mfVariableG              ), 
00590     _mfCombinerColor0         (source._mfCombinerColor0         ), 
00591     _mfCombinerColor1         (source._mfCombinerColor1         ), 
00592     _sfPerStageConstants      (source._sfPerStageConstants      ), 
00593     Inherited                 (source)
00594 {
00595 }

RegisterCombinersChunkBase::~RegisterCombinersChunkBase ( void   )  [protected, virtual]

Definition at line 599 of file OSGRegisterCombinersChunkBase.cpp.

00600 {
00601 }


Member Function Documentation

osg::FieldContainerType & osg::RegisterCombinersChunkBase::getClassType ( void   )  [inline, static]

Reimplemented from osg::StateChunkBase.

Definition at line 58 of file OSGRegisterCombinersChunkBase.inl.

References _type.

Referenced by create().

00059 {
00060     return _type; 
00061 } 

osg::UInt32 osg::RegisterCombinersChunkBase::getClassTypeId ( void   )  [inline, static]

Reimplemented from osg::StateChunkBase.

Definition at line 65 of file OSGRegisterCombinersChunkBase.inl.

References _type, and osg::TypeBase::getId().

00066 {
00067     return _type.getId(); 
00068 } 

FieldContainerType & RegisterCombinersChunkBase::getType ( void   )  [virtual]

Reimplemented from osg::StateChunkBase.

Definition at line 436 of file OSGRegisterCombinersChunkBase.cpp.

References _type.

00437 {
00438     return _type; 
00439 } 

const FieldContainerType & RegisterCombinersChunkBase::getType ( void   )  const [virtual]

Reimplemented from osg::StateChunkBase.

Definition at line 441 of file OSGRegisterCombinersChunkBase.cpp.

References _type.

00442 {
00443     return _type;
00444 } 

UInt32 RegisterCombinersChunkBase::getContainerSize ( void   )  const [virtual]

Reimplemented from osg::StateChunkBase.

Definition at line 456 of file OSGRegisterCombinersChunkBase.cpp.

00457 { 
00458     return sizeof(RegisterCombinersChunk); 
00459 }

SFColor4f * osg::RegisterCombinersChunkBase::getSFColor0 ( void   )  [inline]

Definition at line 101 of file OSGRegisterCombinersChunkBase.inl.

References _sfColor0.

00102 {
00103     return &_sfColor0;
00104 }

SFColor4f * osg::RegisterCombinersChunkBase::getSFColor1 ( void   )  [inline]

Definition at line 108 of file OSGRegisterCombinersChunkBase.inl.

References _sfColor1.

00109 {
00110     return &_sfColor1;
00111 }

SFBool * osg::RegisterCombinersChunkBase::getSFColorSumClamp ( void   )  [inline]

Definition at line 115 of file OSGRegisterCombinersChunkBase.inl.

References _sfColorSumClamp.

00116 {
00117     return &_sfColorSumClamp;
00118 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFVariableArgb ( void   )  [inline]

Definition at line 122 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableArgb.

00123 {
00124     return &_mfVariableArgb;
00125 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFVariableBrgb ( void   )  [inline]

Definition at line 129 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableBrgb.

00130 {
00131     return &_mfVariableBrgb;
00132 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFVariableCrgb ( void   )  [inline]

Definition at line 136 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableCrgb.

00137 {
00138     return &_mfVariableCrgb;
00139 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFVariableDrgb ( void   )  [inline]

Definition at line 143 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableDrgb.

00144 {
00145     return &_mfVariableDrgb;
00146 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFVariableAalpha ( void   )  [inline]

Definition at line 150 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableAalpha.

00151 {
00152     return &_mfVariableAalpha;
00153 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFVariableBalpha ( void   )  [inline]

Definition at line 157 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableBalpha.

00158 {
00159     return &_mfVariableBalpha;
00160 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFVariableCalpha ( void   )  [inline]

Definition at line 164 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableCalpha.

00165 {
00166     return &_mfVariableCalpha;
00167 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFVariableDalpha ( void   )  [inline]

Definition at line 171 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableDalpha.

00172 {
00173     return &_mfVariableDalpha;
00174 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFOutputABrgb ( void   )  [inline]

Definition at line 178 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputABrgb.

00179 {
00180     return &_mfOutputABrgb;
00181 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFOutputCDrgb ( void   )  [inline]

Definition at line 185 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputCDrgb.

00186 {
00187     return &_mfOutputCDrgb;
00188 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFOutputSumrgb ( void   )  [inline]

Definition at line 192 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputSumrgb.

00193 {
00194     return &_mfOutputSumrgb;
00195 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFScalergb ( void   )  [inline]

Definition at line 199 of file OSGRegisterCombinersChunkBase.inl.

References _mfScalergb.

00200 {
00201     return &_mfScalergb;
00202 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFBiasrgb ( void   )  [inline]

Definition at line 206 of file OSGRegisterCombinersChunkBase.inl.

References _mfBiasrgb.

00207 {
00208     return &_mfBiasrgb;
00209 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFOutputABalpha ( void   )  [inline]

Definition at line 213 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputABalpha.

00214 {
00215     return &_mfOutputABalpha;
00216 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFOutputCDalpha ( void   )  [inline]

Definition at line 220 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputCDalpha.

00221 {
00222     return &_mfOutputCDalpha;
00223 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFOutputSumalpha ( void   )  [inline]

Definition at line 227 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputSumalpha.

00228 {
00229     return &_mfOutputSumalpha;
00230 }

MFUInt8 * osg::RegisterCombinersChunkBase::getMFDotABrgb ( void   )  [inline]

Definition at line 234 of file OSGRegisterCombinersChunkBase.inl.

References _mfDotABrgb.

00235 {
00236     return &_mfDotABrgb;
00237 }

MFUInt8 * osg::RegisterCombinersChunkBase::getMFDotCDrgb ( void   )  [inline]

Definition at line 241 of file OSGRegisterCombinersChunkBase.inl.

References _mfDotCDrgb.

00242 {
00243     return &_mfDotCDrgb;
00244 }

MFUInt8 * osg::RegisterCombinersChunkBase::getMFMuxSumrgb ( void   )  [inline]

Definition at line 248 of file OSGRegisterCombinersChunkBase.inl.

References _mfMuxSumrgb.

00249 {
00250     return &_mfMuxSumrgb;
00251 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFScalealpha ( void   )  [inline]

Definition at line 255 of file OSGRegisterCombinersChunkBase.inl.

References _mfScalealpha.

00256 {
00257     return &_mfScalealpha;
00258 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFBiasalpha ( void   )  [inline]

Definition at line 262 of file OSGRegisterCombinersChunkBase.inl.

References _mfBiasalpha.

00263 {
00264     return &_mfBiasalpha;
00265 }

MFUInt8 * osg::RegisterCombinersChunkBase::getMFMuxSumalpha ( void   )  [inline]

Definition at line 269 of file OSGRegisterCombinersChunkBase.inl.

References _mfMuxSumalpha.

00270 {
00271     return &_mfMuxSumalpha;
00272 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFVariableE ( void   )  [inline]

Definition at line 276 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableE.

00277 {
00278     return &_mfVariableE;
00279 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFVariableF ( void   )  [inline]

Definition at line 283 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableF.

00284 {
00285     return &_mfVariableF;
00286 }

MFGLenum * osg::RegisterCombinersChunkBase::getMFVariableG ( void   )  [inline]

Definition at line 290 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableG.

00291 {
00292     return &_mfVariableG;
00293 }

MFColor4f * osg::RegisterCombinersChunkBase::getMFCombinerColor0 ( void   )  [inline]

Definition at line 297 of file OSGRegisterCombinersChunkBase.inl.

References _mfCombinerColor0.

00298 {
00299     return &_mfCombinerColor0;
00300 }

MFColor4f * osg::RegisterCombinersChunkBase::getMFCombinerColor1 ( void   )  [inline]

Definition at line 304 of file OSGRegisterCombinersChunkBase.inl.

References _mfCombinerColor1.

00305 {
00306     return &_mfCombinerColor1;
00307 }

SFUInt8 * osg::RegisterCombinersChunkBase::getSFPerStageConstants ( void   )  [inline]

Definition at line 311 of file OSGRegisterCombinersChunkBase.inl.

References _sfPerStageConstants.

00312 {
00313     return &_sfPerStageConstants;
00314 }

Color4f & osg::RegisterCombinersChunkBase::getColor0 ( void   )  [inline]

const Color4f & osg::RegisterCombinersChunkBase::getColor0 ( void   )  const [inline]

Definition at line 326 of file OSGRegisterCombinersChunkBase.inl.

References _sfColor0, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

00327 {
00328     return _sfColor0.getValue();
00329 }

Color4f & osg::RegisterCombinersChunkBase::getColor1 ( void   )  [inline]

const Color4f & osg::RegisterCombinersChunkBase::getColor1 ( void   )  const [inline]

Definition at line 347 of file OSGRegisterCombinersChunkBase.inl.

References _sfColor1, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

00348 {
00349     return _sfColor1.getValue();
00350 }

bool & osg::RegisterCombinersChunkBase::getColorSumClamp ( void   )  [inline]

Definition at line 361 of file OSGRegisterCombinersChunkBase.inl.

References _sfColorSumClamp, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

Referenced by osg::RegisterCombinersChunk::activate().

00362 {
00363     return _sfColorSumClamp.getValue();
00364 }

const bool & osg::RegisterCombinersChunkBase::getColorSumClamp ( void   )  const [inline]

Definition at line 368 of file OSGRegisterCombinersChunkBase.inl.

References _sfColorSumClamp, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

00369 {
00370     return _sfColorSumClamp.getValue();
00371 }

UInt8 & osg::RegisterCombinersChunkBase::getPerStageConstants ( void   )  [inline]

const UInt8 & osg::RegisterCombinersChunkBase::getPerStageConstants ( void   )  const [inline]

Definition at line 389 of file OSGRegisterCombinersChunkBase.inl.

References _sfPerStageConstants, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

00390 {
00391     return _sfPerStageConstants.getValue();
00392 }

GLenum & osg::RegisterCombinersChunkBase::getVariableArgb ( const UInt32  index  )  [inline]

Definition at line 404 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableArgb.

00405 {
00406     return _mfVariableArgb[index];
00407 }

MFGLenum & osg::RegisterCombinersChunkBase::getVariableArgb ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getVariableArgb ( void   )  const [inline]

Definition at line 418 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableArgb.

00419 {
00420     return _mfVariableArgb;
00421 }

GLenum & osg::RegisterCombinersChunkBase::getVariableBrgb ( const UInt32  index  )  [inline]

Definition at line 425 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableBrgb.

00426 {
00427     return _mfVariableBrgb[index];
00428 }

MFGLenum & osg::RegisterCombinersChunkBase::getVariableBrgb ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getVariableBrgb ( void   )  const [inline]

Definition at line 439 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableBrgb.

00440 {
00441     return _mfVariableBrgb;
00442 }

GLenum & osg::RegisterCombinersChunkBase::getVariableCrgb ( const UInt32  index  )  [inline]

Definition at line 446 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableCrgb.

00447 {
00448     return _mfVariableCrgb[index];
00449 }

MFGLenum & osg::RegisterCombinersChunkBase::getVariableCrgb ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getVariableCrgb ( void   )  const [inline]

Definition at line 460 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableCrgb.

00461 {
00462     return _mfVariableCrgb;
00463 }

GLenum & osg::RegisterCombinersChunkBase::getVariableDrgb ( const UInt32  index  )  [inline]

Definition at line 467 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableDrgb.

00468 {
00469     return _mfVariableDrgb[index];
00470 }

MFGLenum & osg::RegisterCombinersChunkBase::getVariableDrgb ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getVariableDrgb ( void   )  const [inline]

Definition at line 481 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableDrgb.

00482 {
00483     return _mfVariableDrgb;
00484 }

GLenum & osg::RegisterCombinersChunkBase::getVariableAalpha ( const UInt32  index  )  [inline]

Definition at line 488 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableAalpha.

00489 {
00490     return _mfVariableAalpha[index];
00491 }

MFGLenum & osg::RegisterCombinersChunkBase::getVariableAalpha ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getVariableAalpha ( void   )  const [inline]

Definition at line 502 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableAalpha.

00503 {
00504     return _mfVariableAalpha;
00505 }

GLenum & osg::RegisterCombinersChunkBase::getVariableBalpha ( const UInt32  index  )  [inline]

Definition at line 509 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableBalpha.

00510 {
00511     return _mfVariableBalpha[index];
00512 }

MFGLenum & osg::RegisterCombinersChunkBase::getVariableBalpha ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getVariableBalpha ( void   )  const [inline]

Definition at line 523 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableBalpha.

00524 {
00525     return _mfVariableBalpha;
00526 }

GLenum & osg::RegisterCombinersChunkBase::getVariableCalpha ( const UInt32  index  )  [inline]

Definition at line 530 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableCalpha.

00531 {
00532     return _mfVariableCalpha[index];
00533 }

MFGLenum & osg::RegisterCombinersChunkBase::getVariableCalpha ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getVariableCalpha ( void   )  const [inline]

Definition at line 544 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableCalpha.

00545 {
00546     return _mfVariableCalpha;
00547 }

GLenum & osg::RegisterCombinersChunkBase::getVariableDalpha ( const UInt32  index  )  [inline]

Definition at line 551 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableDalpha.

00552 {
00553     return _mfVariableDalpha[index];
00554 }

MFGLenum & osg::RegisterCombinersChunkBase::getVariableDalpha ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getVariableDalpha ( void   )  const [inline]

Definition at line 565 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableDalpha.

00566 {
00567     return _mfVariableDalpha;
00568 }

GLenum & osg::RegisterCombinersChunkBase::getOutputABrgb ( const UInt32  index  )  [inline]

Definition at line 572 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputABrgb.

00573 {
00574     return _mfOutputABrgb[index];
00575 }

MFGLenum & osg::RegisterCombinersChunkBase::getOutputABrgb ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getOutputABrgb ( void   )  const [inline]

Definition at line 586 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputABrgb.

00587 {
00588     return _mfOutputABrgb;
00589 }

GLenum & osg::RegisterCombinersChunkBase::getOutputCDrgb ( const UInt32  index  )  [inline]

Definition at line 593 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputCDrgb.

00594 {
00595     return _mfOutputCDrgb[index];
00596 }

MFGLenum & osg::RegisterCombinersChunkBase::getOutputCDrgb ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getOutputCDrgb ( void   )  const [inline]

Definition at line 607 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputCDrgb.

00608 {
00609     return _mfOutputCDrgb;
00610 }

GLenum & osg::RegisterCombinersChunkBase::getOutputSumrgb ( const UInt32  index  )  [inline]

Definition at line 614 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputSumrgb.

00615 {
00616     return _mfOutputSumrgb[index];
00617 }

MFGLenum & osg::RegisterCombinersChunkBase::getOutputSumrgb ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getOutputSumrgb ( void   )  const [inline]

Definition at line 628 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputSumrgb.

00629 {
00630     return _mfOutputSumrgb;
00631 }

GLenum & osg::RegisterCombinersChunkBase::getScalergb ( const UInt32  index  )  [inline]

Definition at line 635 of file OSGRegisterCombinersChunkBase.inl.

References _mfScalergb.

00636 {
00637     return _mfScalergb[index];
00638 }

MFGLenum & osg::RegisterCombinersChunkBase::getScalergb ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getScalergb ( void   )  const [inline]

Definition at line 649 of file OSGRegisterCombinersChunkBase.inl.

References _mfScalergb.

00650 {
00651     return _mfScalergb;
00652 }

GLenum & osg::RegisterCombinersChunkBase::getBiasrgb ( const UInt32  index  )  [inline]

Definition at line 656 of file OSGRegisterCombinersChunkBase.inl.

References _mfBiasrgb.

00657 {
00658     return _mfBiasrgb[index];
00659 }

MFGLenum & osg::RegisterCombinersChunkBase::getBiasrgb ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getBiasrgb ( void   )  const [inline]

Definition at line 670 of file OSGRegisterCombinersChunkBase.inl.

References _mfBiasrgb.

00671 {
00672     return _mfBiasrgb;
00673 }

GLenum & osg::RegisterCombinersChunkBase::getOutputABalpha ( const UInt32  index  )  [inline]

Definition at line 677 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputABalpha.

00678 {
00679     return _mfOutputABalpha[index];
00680 }

MFGLenum & osg::RegisterCombinersChunkBase::getOutputABalpha ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getOutputABalpha ( void   )  const [inline]

Definition at line 691 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputABalpha.

00692 {
00693     return _mfOutputABalpha;
00694 }

GLenum & osg::RegisterCombinersChunkBase::getOutputCDalpha ( const UInt32  index  )  [inline]

Definition at line 698 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputCDalpha.

00699 {
00700     return _mfOutputCDalpha[index];
00701 }

MFGLenum & osg::RegisterCombinersChunkBase::getOutputCDalpha ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getOutputCDalpha ( void   )  const [inline]

Definition at line 712 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputCDalpha.

00713 {
00714     return _mfOutputCDalpha;
00715 }

GLenum & osg::RegisterCombinersChunkBase::getOutputSumalpha ( const UInt32  index  )  [inline]

Definition at line 719 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputSumalpha.

00720 {
00721     return _mfOutputSumalpha[index];
00722 }

MFGLenum & osg::RegisterCombinersChunkBase::getOutputSumalpha ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getOutputSumalpha ( void   )  const [inline]

Definition at line 733 of file OSGRegisterCombinersChunkBase.inl.

References _mfOutputSumalpha.

00734 {
00735     return _mfOutputSumalpha;
00736 }

UInt8 & osg::RegisterCombinersChunkBase::getDotABrgb ( const UInt32  index  )  [inline]

Definition at line 740 of file OSGRegisterCombinersChunkBase.inl.

References _mfDotABrgb.

00741 {
00742     return _mfDotABrgb[index];
00743 }

MFUInt8 & osg::RegisterCombinersChunkBase::getDotABrgb ( void   )  [inline]

const MFUInt8 & osg::RegisterCombinersChunkBase::getDotABrgb ( void   )  const [inline]

Definition at line 754 of file OSGRegisterCombinersChunkBase.inl.

References _mfDotABrgb.

00755 {
00756     return _mfDotABrgb;
00757 }

UInt8 & osg::RegisterCombinersChunkBase::getDotCDrgb ( const UInt32  index  )  [inline]

Definition at line 761 of file OSGRegisterCombinersChunkBase.inl.

References _mfDotCDrgb.

00762 {
00763     return _mfDotCDrgb[index];
00764 }

MFUInt8 & osg::RegisterCombinersChunkBase::getDotCDrgb ( void   )  [inline]

const MFUInt8 & osg::RegisterCombinersChunkBase::getDotCDrgb ( void   )  const [inline]

Definition at line 775 of file OSGRegisterCombinersChunkBase.inl.

References _mfDotCDrgb.

00776 {
00777     return _mfDotCDrgb;
00778 }

UInt8 & osg::RegisterCombinersChunkBase::getMuxSumrgb ( const UInt32  index  )  [inline]

Definition at line 782 of file OSGRegisterCombinersChunkBase.inl.

References _mfMuxSumrgb.

00783 {
00784     return _mfMuxSumrgb[index];
00785 }

MFUInt8 & osg::RegisterCombinersChunkBase::getMuxSumrgb ( void   )  [inline]

const MFUInt8 & osg::RegisterCombinersChunkBase::getMuxSumrgb ( void   )  const [inline]

Definition at line 796 of file OSGRegisterCombinersChunkBase.inl.

References _mfMuxSumrgb.

00797 {
00798     return _mfMuxSumrgb;
00799 }

GLenum & osg::RegisterCombinersChunkBase::getScalealpha ( const UInt32  index  )  [inline]

Definition at line 803 of file OSGRegisterCombinersChunkBase.inl.

References _mfScalealpha.

00804 {
00805     return _mfScalealpha[index];
00806 }

MFGLenum & osg::RegisterCombinersChunkBase::getScalealpha ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getScalealpha ( void   )  const [inline]

Definition at line 817 of file OSGRegisterCombinersChunkBase.inl.

References _mfScalealpha.

00818 {
00819     return _mfScalealpha;
00820 }

GLenum & osg::RegisterCombinersChunkBase::getBiasalpha ( const UInt32  index  )  [inline]

Definition at line 824 of file OSGRegisterCombinersChunkBase.inl.

References _mfBiasalpha.

00825 {
00826     return _mfBiasalpha[index];
00827 }

MFGLenum & osg::RegisterCombinersChunkBase::getBiasalpha ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getBiasalpha ( void   )  const [inline]

Definition at line 838 of file OSGRegisterCombinersChunkBase.inl.

References _mfBiasalpha.

00839 {
00840     return _mfBiasalpha;
00841 }

UInt8 & osg::RegisterCombinersChunkBase::getMuxSumalpha ( const UInt32  index  )  [inline]

Definition at line 845 of file OSGRegisterCombinersChunkBase.inl.

References _mfMuxSumalpha.

00846 {
00847     return _mfMuxSumalpha[index];
00848 }

MFUInt8 & osg::RegisterCombinersChunkBase::getMuxSumalpha ( void   )  [inline]

const MFUInt8 & osg::RegisterCombinersChunkBase::getMuxSumalpha ( void   )  const [inline]

Definition at line 859 of file OSGRegisterCombinersChunkBase.inl.

References _mfMuxSumalpha.

00860 {
00861     return _mfMuxSumalpha;
00862 }

GLenum & osg::RegisterCombinersChunkBase::getVariableE ( const UInt32  index  )  [inline]

Definition at line 866 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableE.

00867 {
00868     return _mfVariableE[index];
00869 }

MFGLenum & osg::RegisterCombinersChunkBase::getVariableE ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getVariableE ( void   )  const [inline]

Definition at line 880 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableE.

00881 {
00882     return _mfVariableE;
00883 }

GLenum & osg::RegisterCombinersChunkBase::getVariableF ( const UInt32  index  )  [inline]

Definition at line 887 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableF.

00888 {
00889     return _mfVariableF[index];
00890 }

MFGLenum & osg::RegisterCombinersChunkBase::getVariableF ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getVariableF ( void   )  const [inline]

Definition at line 901 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableF.

00902 {
00903     return _mfVariableF;
00904 }

GLenum & osg::RegisterCombinersChunkBase::getVariableG ( const UInt32  index  )  [inline]

Definition at line 908 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableG.

00909 {
00910     return _mfVariableG[index];
00911 }

MFGLenum & osg::RegisterCombinersChunkBase::getVariableG ( void   )  [inline]

const MFGLenum & osg::RegisterCombinersChunkBase::getVariableG ( void   )  const [inline]

Definition at line 922 of file OSGRegisterCombinersChunkBase.inl.

References _mfVariableG.

00923 {
00924     return _mfVariableG;
00925 }

Color4f & osg::RegisterCombinersChunkBase::getCombinerColor0 ( const UInt32  index  )  [inline]

Definition at line 929 of file OSGRegisterCombinersChunkBase.inl.

References _mfCombinerColor0.

00930 {
00931     return _mfCombinerColor0[index];
00932 }

MFColor4f & osg::RegisterCombinersChunkBase::getCombinerColor0 ( void   )  [inline]

const MFColor4f & osg::RegisterCombinersChunkBase::getCombinerColor0 ( void   )  const [inline]

Definition at line 943 of file OSGRegisterCombinersChunkBase.inl.

References _mfCombinerColor0.

00944 {
00945     return _mfCombinerColor0;
00946 }

Color4f & osg::RegisterCombinersChunkBase::getCombinerColor1 ( const UInt32  index  )  [inline]

Definition at line 950 of file OSGRegisterCombinersChunkBase.inl.

References _mfCombinerColor1.

00951 {
00952     return _mfCombinerColor1[index];
00953 }

MFColor4f & osg::RegisterCombinersChunkBase::getCombinerColor1 ( void   )  [inline]

const MFColor4f & osg::RegisterCombinersChunkBase::getCombinerColor1 ( void   )  const [inline]

Definition at line 964 of file OSGRegisterCombinersChunkBase.inl.

References _mfCombinerColor1.

00965 {
00966     return _mfCombinerColor1;
00967 }

void osg::RegisterCombinersChunkBase::setColor0 ( const Color4f value  )  [inline]

Definition at line 333 of file OSGRegisterCombinersChunkBase.inl.

References _sfColor0, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().

00334 {
00335     _sfColor0.setValue(value);
00336 }

void osg::RegisterCombinersChunkBase::setColor1 ( const Color4f value  )  [inline]

Definition at line 354 of file OSGRegisterCombinersChunkBase.inl.

References _sfColor1, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().

00355 {
00356     _sfColor1.setValue(value);
00357 }

void osg::RegisterCombinersChunkBase::setColorSumClamp ( const bool &  value  )  [inline]

Definition at line 375 of file OSGRegisterCombinersChunkBase.inl.

References _sfColorSumClamp, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().

00376 {
00377     _sfColorSumClamp.setValue(value);
00378 }

void osg::RegisterCombinersChunkBase::setPerStageConstants ( const UInt8 value  )  [inline]

UInt32 RegisterCombinersChunkBase::getBinSize ( const BitVector whichField  )  [virtual]

Reimplemented from osg::StateChunkBase.

Definition at line 605 of file OSGRegisterCombinersChunkBase.cpp.

References _mfBiasalpha, _mfBiasrgb, _mfCombinerColor0, _mfCombinerColor1, _mfDotABrgb, _mfDotCDrgb, _mfMuxSumalpha, _mfMuxSumrgb, _mfOutputABalpha, _mfOutputABrgb, _mfOutputCDalpha, _mfOutputCDrgb, _mfOutputSumalpha, _mfOutputSumrgb, _mfScalealpha, _mfScalergb, _mfVariableAalpha, _mfVariableArgb, _mfVariableBalpha, _mfVariableBrgb, _mfVariableCalpha, _mfVariableCrgb, _mfVariableDalpha, _mfVariableDrgb, _mfVariableE, _mfVariableF, _mfVariableG, _sfColor0, _sfColor1, _sfColorSumClamp, _sfPerStageConstants, BiasalphaFieldMask, BiasrgbFieldMask, Color0FieldMask, Color1FieldMask, ColorSumClampFieldMask, CombinerColor0FieldMask, CombinerColor1FieldMask, DotABrgbFieldMask, DotCDrgbFieldMask, osg::MField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::SField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::StateChunkBase::getBinSize(), MuxSumalphaFieldMask, MuxSumrgbFieldMask, osg::FieldBits::NoField, OutputABalphaFieldMask, OutputABrgbFieldMask, OutputCDalphaFieldMask, OutputCDrgbFieldMask, OutputSumalphaFieldMask, OutputSumrgbFieldMask, PerStageConstantsFieldMask, ScalealphaFieldMask, ScalergbFieldMask, VariableAalphaFieldMask, VariableArgbFieldMask, VariableBalphaFieldMask, VariableBrgbFieldMask, VariableCalphaFieldMask, VariableCrgbFieldMask, VariableDalphaFieldMask, VariableDrgbFieldMask, VariableEFieldMask, VariableFFieldMask, and VariableGFieldMask.

00606 {
00607     UInt32 returnValue = Inherited::getBinSize(whichField);
00608 
00609     if(FieldBits::NoField != (Color0FieldMask & whichField))
00610     {
00611         returnValue += _sfColor0.getBinSize();
00612     }
00613 
00614     if(FieldBits::NoField != (Color1FieldMask & whichField))
00615     {
00616         returnValue += _sfColor1.getBinSize();
00617     }
00618 
00619     if(FieldBits::NoField != (ColorSumClampFieldMask & whichField))
00620     {
00621         returnValue += _sfColorSumClamp.getBinSize();
00622     }
00623 
00624     if(FieldBits::NoField != (VariableArgbFieldMask & whichField))
00625     {
00626         returnValue += _mfVariableArgb.getBinSize();
00627     }
00628 
00629     if(FieldBits::NoField != (VariableBrgbFieldMask & whichField))
00630     {
00631         returnValue += _mfVariableBrgb.getBinSize();
00632     }
00633 
00634     if(FieldBits::NoField != (VariableCrgbFieldMask & whichField))
00635     {
00636         returnValue += _mfVariableCrgb.getBinSize();
00637     }
00638 
00639     if(FieldBits::NoField != (VariableDrgbFieldMask & whichField))
00640     {
00641         returnValue += _mfVariableDrgb.getBinSize();
00642     }
00643 
00644     if(FieldBits::NoField != (VariableAalphaFieldMask & whichField))
00645     {
00646         returnValue += _mfVariableAalpha.getBinSize();
00647     }
00648 
00649     if(FieldBits::NoField != (VariableBalphaFieldMask & whichField))
00650     {
00651         returnValue += _mfVariableBalpha.getBinSize();
00652     }
00653 
00654     if(FieldBits::NoField != (VariableCalphaFieldMask & whichField))
00655     {
00656         returnValue += _mfVariableCalpha.getBinSize();
00657     }
00658 
00659     if(FieldBits::NoField != (VariableDalphaFieldMask & whichField))
00660     {
00661         returnValue += _mfVariableDalpha.getBinSize();
00662     }
00663 
00664     if(FieldBits::NoField != (OutputABrgbFieldMask & whichField))
00665     {
00666         returnValue += _mfOutputABrgb.getBinSize();
00667     }
00668 
00669     if(FieldBits::NoField != (OutputCDrgbFieldMask & whichField))
00670     {
00671         returnValue += _mfOutputCDrgb.getBinSize();
00672     }
00673 
00674     if(FieldBits::NoField != (OutputSumrgbFieldMask & whichField))
00675     {
00676         returnValue += _mfOutputSumrgb.getBinSize();
00677     }
00678 
00679     if(FieldBits::NoField != (ScalergbFieldMask & whichField))
00680     {
00681         returnValue += _mfScalergb.getBinSize();
00682     }
00683 
00684     if(FieldBits::NoField != (BiasrgbFieldMask & whichField))
00685     {
00686         returnValue += _mfBiasrgb.getBinSize();
00687     }
00688 
00689     if(FieldBits::NoField != (OutputABalphaFieldMask & whichField))
00690     {
00691         returnValue += _mfOutputABalpha.getBinSize();
00692     }
00693 
00694     if(FieldBits::NoField != (OutputCDalphaFieldMask & whichField))
00695     {
00696         returnValue += _mfOutputCDalpha.getBinSize();
00697     }
00698 
00699     if(FieldBits::NoField != (OutputSumalphaFieldMask & whichField))
00700     {
00701         returnValue += _mfOutputSumalpha.getBinSize();
00702     }
00703 
00704     if(FieldBits::NoField != (DotABrgbFieldMask & whichField))
00705     {
00706         returnValue += _mfDotABrgb.getBinSize();
00707     }
00708 
00709     if(FieldBits::NoField != (DotCDrgbFieldMask & whichField))
00710     {
00711         returnValue += _mfDotCDrgb.getBinSize();
00712     }
00713 
00714     if(FieldBits::NoField != (MuxSumrgbFieldMask & whichField))
00715     {
00716         returnValue += _mfMuxSumrgb.getBinSize();
00717     }
00718 
00719     if(FieldBits::NoField != (ScalealphaFieldMask & whichField))
00720     {
00721         returnValue += _mfScalealpha.getBinSize();
00722     }
00723 
00724     if(FieldBits::NoField != (BiasalphaFieldMask & whichField))
00725     {
00726         returnValue += _mfBiasalpha.getBinSize();
00727     }
00728 
00729     if(FieldBits::NoField != (MuxSumalphaFieldMask & whichField))
00730     {
00731         returnValue += _mfMuxSumalpha.getBinSize();
00732     }
00733 
00734     if(FieldBits::NoField != (VariableEFieldMask & whichField))
00735     {
00736         returnValue += _mfVariableE.getBinSize();
00737     }
00738 
00739     if(FieldBits::NoField != (VariableFFieldMask & whichField))
00740     {
00741         returnValue += _mfVariableF.getBinSize();
00742     }
00743 
00744     if(FieldBits::NoField != (VariableGFieldMask & whichField))
00745     {
00746         returnValue += _mfVariableG.getBinSize();
00747     }
00748 
00749     if(FieldBits::NoField != (CombinerColor0FieldMask & whichField))
00750     {
00751         returnValue += _mfCombinerColor0.getBinSize();
00752     }
00753 
00754     if(FieldBits::NoField != (CombinerColor1FieldMask & whichField))
00755     {
00756         returnValue += _mfCombinerColor1.getBinSize();
00757     }
00758 
00759     if(FieldBits::NoField != (PerStageConstantsFieldMask & whichField))
00760     {
00761         returnValue += _sfPerStageConstants.getBinSize();
00762     }
00763 
00764 
00765     return returnValue;
00766 }

void RegisterCombinersChunkBase::copyToBin ( BinaryDataHandler pMem,
const BitVector whichField 
) [virtual]

Reimplemented from osg::StateChunkBase.

Definition at line 768 of file OSGRegisterCombinersChunkBase.cpp.

References _mfBiasalpha, _mfBiasrgb, _mfCombinerColor0, _mfCombinerColor1, _mfDotABrgb, _mfDotCDrgb, _mfMuxSumalpha, _mfMuxSumrgb, _mfOutputABalpha, _mfOutputABrgb, _mfOutputCDalpha, _mfOutputCDrgb, _mfOutputSumalpha, _mfOutputSumrgb, _mfScalealpha, _mfScalergb, _mfVariableAalpha, _mfVariableArgb, _mfVariableBalpha, _mfVariableBrgb, _mfVariableCalpha, _mfVariableCrgb, _mfVariableDalpha, _mfVariableDrgb, _mfVariableE, _mfVariableF, _mfVariableG, _sfColor0, _sfColor1, _sfColorSumClamp, _sfPerStageConstants, BiasalphaFieldMask, BiasrgbFieldMask, Color0FieldMask, Color1FieldMask, ColorSumClampFieldMask, CombinerColor0FieldMask, CombinerColor1FieldMask, osg::MField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::SField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::StateChunkBase::copyToBin(), DotABrgbFieldMask, DotCDrgbFieldMask, MuxSumalphaFieldMask, MuxSumrgbFieldMask, osg::FieldBits::NoField, OutputABalphaFieldMask, OutputABrgbFieldMask, OutputCDalphaFieldMask, OutputCDrgbFieldMask, OutputSumalphaFieldMask, OutputSumrgbFieldMask, PerStageConstantsFieldMask, ScalealphaFieldMask, ScalergbFieldMask, VariableAalphaFieldMask, VariableArgbFieldMask, VariableBalphaFieldMask, VariableBrgbFieldMask, VariableCalphaFieldMask, VariableCrgbFieldMask, VariableDalphaFieldMask, VariableDrgbFieldMask, VariableEFieldMask, VariableFFieldMask, and VariableGFieldMask.

00770 {
00771     Inherited::copyToBin(pMem, whichField);
00772 
00773     if(FieldBits::NoField != (Color0FieldMask & whichField))
00774     {
00775         _sfColor0.copyToBin(pMem);
00776     }
00777 
00778     if(FieldBits::NoField != (Color1FieldMask & whichField))
00779     {
00780         _sfColor1.copyToBin(pMem);
00781     }
00782 
00783     if(FieldBits::NoField != (ColorSumClampFieldMask & whichField))
00784     {
00785         _sfColorSumClamp.copyToBin(pMem);
00786     }
00787 
00788     if(FieldBits::NoField != (VariableArgbFieldMask & whichField))
00789     {
00790         _mfVariableArgb.copyToBin(pMem);
00791     }
00792 
00793     if(FieldBits::NoField != (VariableBrgbFieldMask & whichField))
00794     {
00795         _mfVariableBrgb.copyToBin(pMem);
00796     }
00797 
00798     if(FieldBits::NoField != (VariableCrgbFieldMask & whichField))
00799     {
00800         _mfVariableCrgb.copyToBin(pMem);
00801     }
00802 
00803     if(FieldBits::NoField != (VariableDrgbFieldMask & whichField))
00804     {
00805         _mfVariableDrgb.copyToBin(pMem);
00806     }
00807 
00808     if(FieldBits::NoField != (VariableAalphaFieldMask & whichField))
00809     {
00810         _mfVariableAalpha.copyToBin(pMem);
00811     }
00812 
00813     if(FieldBits::NoField != (VariableBalphaFieldMask & whichField))
00814     {
00815         _mfVariableBalpha.copyToBin(pMem);
00816     }
00817 
00818     if(FieldBits::NoField != (VariableCalphaFieldMask & whichField))
00819     {
00820         _mfVariableCalpha.copyToBin(pMem);
00821     }
00822 
00823     if(FieldBits::NoField != (VariableDalphaFieldMask & whichField))
00824     {
00825         _mfVariableDalpha.copyToBin(pMem);
00826     }
00827 
00828     if(FieldBits::NoField != (OutputABrgbFieldMask & whichField))
00829     {
00830         _mfOutputABrgb.copyToBin(pMem);
00831     }
00832 
00833     if(FieldBits::NoField != (OutputCDrgbFieldMask & whichField))
00834     {
00835         _mfOutputCDrgb.copyToBin(pMem);
00836     }
00837 
00838     if(FieldBits::NoField != (OutputSumrgbFieldMask & whichField))
00839     {
00840         _mfOutputSumrgb.copyToBin(pMem);
00841     }
00842 
00843     if(FieldBits::NoField != (ScalergbFieldMask & whichField))
00844     {
00845         _mfScalergb.copyToBin(pMem);
00846     }
00847 
00848     if(FieldBits::NoField != (BiasrgbFieldMask & whichField))
00849     {
00850         _mfBiasrgb.copyToBin(pMem);
00851     }
00852 
00853     if(FieldBits::NoField != (OutputABalphaFieldMask & whichField))
00854     {
00855         _mfOutputABalpha.copyToBin(pMem);
00856     }
00857 
00858     if(FieldBits::NoField != (OutputCDalphaFieldMask & whichField))
00859     {
00860         _mfOutputCDalpha.copyToBin(pMem);
00861     }
00862 
00863     if(FieldBits::NoField != (OutputSumalphaFieldMask & whichField))
00864     {
00865         _mfOutputSumalpha.copyToBin(pMem);
00866     }
00867 
00868     if(FieldBits::NoField != (DotABrgbFieldMask & whichField))
00869     {
00870         _mfDotABrgb.copyToBin(pMem);
00871     }
00872 
00873     if(FieldBits::NoField != (DotCDrgbFieldMask & whichField))
00874     {
00875         _mfDotCDrgb.copyToBin(pMem);
00876     }
00877 
00878     if(FieldBits::NoField != (MuxSumrgbFieldMask & whichField))
00879     {
00880         _mfMuxSumrgb.copyToBin(pMem);
00881     }
00882 
00883     if(FieldBits::NoField != (ScalealphaFieldMask & whichField))
00884     {
00885         _mfScalealpha.copyToBin(pMem);
00886     }
00887 
00888     if(FieldBits::NoField != (BiasalphaFieldMask & whichField))
00889     {
00890         _mfBiasalpha.copyToBin(pMem);
00891     }
00892 
00893     if(FieldBits::NoField != (MuxSumalphaFieldMask & whichField))
00894     {
00895         _mfMuxSumalpha.copyToBin(pMem);
00896     }
00897 
00898     if(FieldBits::NoField != (VariableEFieldMask & whichField))
00899     {
00900         _mfVariableE.copyToBin(pMem);
00901     }
00902 
00903     if(FieldBits::NoField != (VariableFFieldMask & whichField))
00904     {
00905         _mfVariableF.copyToBin(pMem);
00906     }
00907 
00908     if(FieldBits::NoField != (VariableGFieldMask & whichField))
00909     {
00910         _mfVariableG.copyToBin(pMem);
00911     }
00912 
00913     if(FieldBits::NoField != (CombinerColor0FieldMask & whichField))
00914     {
00915         _mfCombinerColor0.copyToBin(pMem);
00916     }
00917 
00918     if(FieldBits::NoField != (CombinerColor1FieldMask & whichField))
00919     {
00920         _mfCombinerColor1.copyToBin(pMem);
00921     }
00922 
00923     if(FieldBits::NoField != (PerStageConstantsFieldMask & whichField))
00924     {
00925         _sfPerStageConstants.copyToBin(pMem);
00926     }
00927 
00928 
00929 }

void RegisterCombinersChunkBase::copyFromBin ( BinaryDataHandler pMem,
const BitVector whichField 
) [virtual]

Reimplemented from osg::StateChunkBase.

Definition at line 931 of file OSGRegisterCombinersChunkBase.cpp.

References _mfBiasalpha, _mfBiasrgb, _mfCombinerColor0, _mfCombinerColor1, _mfDotABrgb, _mfDotCDrgb, _mfMuxSumalpha, _mfMuxSumrgb, _mfOutputABalpha, _mfOutputABrgb, _mfOutputCDalpha, _mfOutputCDrgb, _mfOutputSumalpha, _mfOutputSumrgb, _mfScalealpha, _mfScalergb, _mfVariableAalpha, _mfVariableArgb, _mfVariableBalpha, _mfVariableBrgb, _mfVariableCalpha, _mfVariableCrgb, _mfVariableDalpha, _mfVariableDrgb, _mfVariableE, _mfVariableF, _mfVariableG, _sfColor0, _sfColor1, _sfColorSumClamp, _sfPerStageConstants, BiasalphaFieldMask, BiasrgbFieldMask, Color0FieldMask, Color1FieldMask, ColorSumClampFieldMask, CombinerColor0FieldMask, CombinerColor1FieldMask, osg::MField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::SField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::StateChunkBase::copyFromBin(), DotABrgbFieldMask, DotCDrgbFieldMask, MuxSumalphaFieldMask, MuxSumrgbFieldMask, osg::FieldBits::NoField, OutputABalphaFieldMask, OutputABrgbFieldMask, OutputCDalphaFieldMask, OutputCDrgbFieldMask, OutputSumalphaFieldMask, OutputSumrgbFieldMask, PerStageConstantsFieldMask, ScalealphaFieldMask, ScalergbFieldMask, VariableAalphaFieldMask, VariableArgbFieldMask, VariableBalphaFieldMask, VariableBrgbFieldMask, VariableCalphaFieldMask, VariableCrgbFieldMask, VariableDalphaFieldMask, VariableDrgbFieldMask, VariableEFieldMask, VariableFFieldMask, and VariableGFieldMask.

00933 {
00934     Inherited::copyFromBin(pMem, whichField);
00935 
00936     if(FieldBits::NoField != (Color0FieldMask & whichField))
00937     {
00938         _sfColor0.copyFromBin(pMem);
00939     }
00940 
00941     if(FieldBits::NoField != (Color1FieldMask & whichField))
00942     {
00943         _sfColor1.copyFromBin(pMem);
00944     }
00945 
00946     if(FieldBits::NoField != (ColorSumClampFieldMask & whichField))
00947     {
00948         _sfColorSumClamp.copyFromBin(pMem);
00949     }
00950 
00951     if(FieldBits::NoField != (VariableArgbFieldMask & whichField))
00952     {
00953         _mfVariableArgb.copyFromBin(pMem);
00954     }
00955 
00956     if(FieldBits::NoField != (VariableBrgbFieldMask & whichField))
00957     {
00958         _mfVariableBrgb.copyFromBin(pMem);
00959     }
00960 
00961     if(FieldBits::NoField != (VariableCrgbFieldMask & whichField))
00962     {
00963         _mfVariableCrgb.copyFromBin(pMem);
00964     }
00965 
00966     if(FieldBits::NoField != (VariableDrgbFieldMask & whichField))
00967     {
00968         _mfVariableDrgb.copyFromBin(pMem);
00969     }
00970 
00971     if(FieldBits::NoField != (VariableAalphaFieldMask & whichField))
00972     {
00973         _mfVariableAalpha.copyFromBin(pMem);
00974     }
00975 
00976     if(FieldBits::NoField != (VariableBalphaFieldMask & whichField))
00977     {
00978         _mfVariableBalpha.copyFromBin(pMem);
00979     }
00980 
00981     if(FieldBits::NoField != (VariableCalphaFieldMask & whichField))
00982     {
00983         _mfVariableCalpha.copyFromBin(pMem);
00984     }
00985 
00986     if(FieldBits::NoField != (VariableDalphaFieldMask & whichField))
00987     {
00988         _mfVariableDalpha.copyFromBin(pMem);
00989     }
00990 
00991     if(FieldBits::NoField != (OutputABrgbFieldMask & whichField))
00992     {
00993         _mfOutputABrgb.copyFromBin(pMem);
00994     }
00995 
00996     if(FieldBits::NoField != (OutputCDrgbFieldMask & whichField))
00997     {
00998         _mfOutputCDrgb.copyFromBin(pMem);
00999     }
01000 
01001     if(FieldBits::NoField != (OutputSumrgbFieldMask & whichField))
01002     {
01003         _mfOutputSumrgb.copyFromBin(pMem);
01004     }
01005 
01006     if(FieldBits::NoField != (ScalergbFieldMask & whichField))
01007     {
01008         _mfScalergb.copyFromBin(pMem);
01009     }
01010 
01011     if(FieldBits::NoField != (BiasrgbFieldMask & whichField))
01012     {
01013         _mfBiasrgb.copyFromBin(pMem);
01014     }
01015 
01016     if(FieldBits::NoField != (OutputABalphaFieldMask & whichField))
01017     {
01018         _mfOutputABalpha.copyFromBin(pMem);
01019     }
01020 
01021     if(FieldBits::NoField != (OutputCDalphaFieldMask & whichField))
01022     {
01023         _mfOutputCDalpha.copyFromBin(pMem);
01024     }
01025 
01026     if(FieldBits::NoField != (OutputSumalphaFieldMask & whichField))
01027     {
01028         _mfOutputSumalpha.copyFromBin(pMem);
01029     }
01030 
01031     if(FieldBits::NoField != (DotABrgbFieldMask & whichField))
01032     {
01033         _mfDotABrgb.copyFromBin(pMem);
01034     }
01035 
01036     if(FieldBits::NoField != (DotCDrgbFieldMask & whichField))
01037     {
01038         _mfDotCDrgb.copyFromBin(pMem);
01039     }
01040 
01041     if(FieldBits::NoField != (MuxSumrgbFieldMask & whichField))
01042     {
01043         _mfMuxSumrgb.copyFromBin(pMem);
01044     }
01045 
01046     if(FieldBits::NoField != (ScalealphaFieldMask & whichField))
01047     {
01048         _mfScalealpha.copyFromBin(pMem);
01049     }
01050 
01051     if(FieldBits::NoField != (BiasalphaFieldMask & whichField))
01052     {
01053         _mfBiasalpha.copyFromBin(pMem);
01054     }
01055 
01056     if(FieldBits::NoField != (MuxSumalphaFieldMask & whichField))
01057     {
01058         _mfMuxSumalpha.copyFromBin(pMem);
01059     }
01060 
01061     if(FieldBits::NoField != (VariableEFieldMask & whichField))
01062     {
01063         _mfVariableE.copyFromBin(pMem);
01064     }
01065 
01066     if(FieldBits::NoField != (VariableFFieldMask & whichField))
01067     {
01068         _mfVariableF.copyFromBin(pMem);
01069     }
01070 
01071     if(FieldBits::NoField != (VariableGFieldMask & whichField))
01072     {
01073         _mfVariableG.copyFromBin(pMem);
01074     }
01075 
01076     if(FieldBits::NoField != (CombinerColor0FieldMask & whichField))
01077     {
01078         _mfCombinerColor0.copyFromBin(pMem);
01079     }
01080 
01081     if(FieldBits::NoField != (CombinerColor1FieldMask & whichField))
01082     {
01083         _mfCombinerColor1.copyFromBin(pMem);
01084     }
01085 
01086     if(FieldBits::NoField != (PerStageConstantsFieldMask & whichField))
01087     {
01088         _sfPerStageConstants.copyFromBin(pMem);
01089     }
01090 
01091 
01092 }

RegisterCombinersChunkPtr osg::RegisterCombinersChunkBase::create ( void   )  [inline, static]

Reimplemented from osg::Attachment.

Definition at line 72 of file OSGRegisterCombinersChunkBase.inl.

References osg::AttachmentPtr::dcast(), getClassType(), osg::NullFC, and shallowCopy().

Referenced by osg::DisplayCalibration::createCMViewports().

00073 {
00074     RegisterCombinersChunkPtr fc; 
00075 
00076     if(getClassType().getPrototype() != OSG::NullFC) 
00077     {
00078         fc = RegisterCombinersChunkPtr::dcast(
00079             getClassType().getPrototype()-> shallowCopy()); 
00080     }
00081     
00082     return fc; 
00083 }

RegisterCombinersChunkPtr osg::RegisterCombinersChunkBase::createEmpty ( void   )  [inline, static]

Reimplemented from osg::Attachment.

Definition at line 87 of file OSGRegisterCombinersChunkBase.inl.

References osg::FieldContainer::newPtr().

00088 { 
00089     RegisterCombinersChunkPtr returnValue; 
00090     
00091     newPtr(returnValue); 
00092 
00093     return returnValue; 
00094 }

FieldContainerPtr RegisterCombinersChunkBase::shallowCopy ( void   )  const [virtual]

Reimplemented from osg::Attachment.

Definition at line 447 of file OSGRegisterCombinersChunkBase.cpp.

References osg::FieldContainer::newPtr().

Referenced by create().

00448 { 
00449     RegisterCombinersChunkPtr returnValue; 
00450 
00451     newPtr(returnValue, dynamic_cast<const RegisterCombinersChunk *>(this)); 
00452 
00453     return returnValue; 
00454 }

void RegisterCombinersChunkBase::executeSyncImpl ( RegisterCombinersChunkBase pOther,
const BitVector whichField 
) [protected]

Definition at line 1095 of file OSGRegisterCombinersChunkBase.cpp.

References _mfBiasalpha, _mfBiasrgb, _mfCombinerColor0, _mfCombinerColor1, _mfDotABrgb, _mfDotCDrgb, _mfMuxSumalpha, _mfMuxSumrgb, _mfOutputABalpha, _mfOutputABrgb, _mfOutputCDalpha, _mfOutputCDrgb, _mfOutputSumalpha, _mfOutputSumrgb, _mfScalealpha, _mfScalergb, _mfVariableAalpha, _mfVariableArgb, _mfVariableBalpha, _mfVariableBrgb, _mfVariableCalpha, _mfVariableCrgb, _mfVariableDalpha, _mfVariableDrgb, _mfVariableE, _mfVariableF, _mfVariableG, _sfColor0, _sfColor1, _sfColorSumClamp, _sfPerStageConstants, BiasalphaFieldMask, BiasrgbFieldMask, Color0FieldMask, Color1FieldMask, ColorSumClampFieldMask, CombinerColor0FieldMask, CombinerColor1FieldMask, DotABrgbFieldMask, DotCDrgbFieldMask, osg::StateChunkBase::executeSyncImpl(), MuxSumalphaFieldMask, MuxSumrgbFieldMask, osg::FieldBits::NoField, OutputABalphaFieldMask, OutputABrgbFieldMask, OutputCDalphaFieldMask, OutputCDrgbFieldMask, OutputSumalphaFieldMask, OutputSumrgbFieldMask, PerStageConstantsFieldMask, ScalealphaFieldMask, ScalergbFieldMask, osg::MField< FieldTypeT, fieldNameSpace >::syncWith(), osg::SField< FieldTypeT, fieldNameSpace >::syncWith(), VariableAalphaFieldMask, VariableArgbFieldMask, VariableBalphaFieldMask, VariableBrgbFieldMask, VariableCalphaFieldMask, VariableCrgbFieldMask, VariableDalphaFieldMask, VariableDrgbFieldMask, VariableEFieldMask, VariableFFieldMask, and VariableGFieldMask.

Referenced by executeSync().

01097 {
01098 
01099     Inherited::executeSyncImpl(pOther, whichField);
01100 
01101     if(FieldBits::NoField != (Color0FieldMask & whichField))
01102         _sfColor0.syncWith(pOther->_sfColor0);
01103 
01104     if(FieldBits::NoField != (Color1FieldMask & whichField))
01105         _sfColor1.syncWith(pOther->_sfColor1);
01106 
01107     if(FieldBits::NoField != (ColorSumClampFieldMask & whichField))
01108         _sfColorSumClamp.syncWith(pOther->_sfColorSumClamp);
01109 
01110     if(FieldBits::NoField != (VariableArgbFieldMask & whichField))
01111         _mfVariableArgb.syncWith(pOther->_mfVariableArgb);
01112 
01113     if(FieldBits::NoField != (VariableBrgbFieldMask & whichField))
01114         _mfVariableBrgb.syncWith(pOther->_mfVariableBrgb);
01115 
01116     if(FieldBits::NoField != (VariableCrgbFieldMask & whichField))
01117         _mfVariableCrgb.syncWith(pOther->_mfVariableCrgb);
01118 
01119     if(FieldBits::NoField != (VariableDrgbFieldMask & whichField))
01120         _mfVariableDrgb.syncWith(pOther->_mfVariableDrgb);
01121 
01122     if(FieldBits::NoField != (VariableAalphaFieldMask & whichField))
01123         _mfVariableAalpha.syncWith(pOther->_mfVariableAalpha);
01124 
01125     if(FieldBits::NoField != (VariableBalphaFieldMask & whichField))
01126         _mfVariableBalpha.syncWith(pOther->_mfVariableBalpha);
01127 
01128     if(FieldBits::NoField != (VariableCalphaFieldMask & whichField))
01129         _mfVariableCalpha.syncWith(pOther->_mfVariableCalpha);
01130 
01131     if(FieldBits::NoField != (VariableDalphaFieldMask & whichField))
01132         _mfVariableDalpha.syncWith(pOther->_mfVariableDalpha);
01133 
01134     if(FieldBits::NoField != (OutputABrgbFieldMask & whichField))
01135         _mfOutputABrgb.syncWith(pOther->_mfOutputABrgb);
01136 
01137     if(FieldBits::NoField != (OutputCDrgbFieldMask & whichField))
01138         _mfOutputCDrgb.syncWith(pOther->_mfOutputCDrgb);
01139 
01140     if(FieldBits::NoField != (OutputSumrgbFieldMask & whichField))
01141         _mfOutputSumrgb.syncWith(pOther->_mfOutputSumrgb);
01142 
01143     if(FieldBits::NoField != (ScalergbFieldMask & whichField))
01144         _mfScalergb.syncWith(pOther->_mfScalergb);
01145 
01146     if(FieldBits::NoField != (BiasrgbFieldMask & whichField))
01147         _mfBiasrgb.syncWith(pOther->_mfBiasrgb);
01148 
01149     if(FieldBits::NoField != (OutputABalphaFieldMask & whichField))
01150         _mfOutputABalpha.syncWith(pOther->_mfOutputABalpha);
01151 
01152     if(FieldBits::NoField != (OutputCDalphaFieldMask & whichField))
01153         _mfOutputCDalpha.syncWith(pOther->_mfOutputCDalpha);
01154 
01155     if(FieldBits::NoField != (OutputSumalphaFieldMask & whichField))
01156         _mfOutputSumalpha.syncWith(pOther->_mfOutputSumalpha);
01157 
01158     if(FieldBits::NoField != (DotABrgbFieldMask & whichField))
01159         _mfDotABrgb.syncWith(pOther->_mfDotABrgb);
01160 
01161     if(FieldBits::NoField != (DotCDrgbFieldMask & whichField))
01162         _mfDotCDrgb.syncWith(pOther->_mfDotCDrgb);
01163 
01164     if(FieldBits::NoField != (MuxSumrgbFieldMask & whichField))
01165         _mfMuxSumrgb.syncWith(pOther->_mfMuxSumrgb);
01166 
01167     if(FieldBits::NoField != (ScalealphaFieldMask & whichField))
01168         _mfScalealpha.syncWith(pOther->_mfScalealpha);
01169 
01170     if(FieldBits::NoField != (BiasalphaFieldMask & whichField))
01171         _mfBiasalpha.syncWith(pOther->_mfBiasalpha);
01172 
01173     if(FieldBits::NoField != (MuxSumalphaFieldMask & whichField))
01174         _mfMuxSumalpha.syncWith(pOther->_mfMuxSumalpha);
01175 
01176     if(FieldBits::NoField != (VariableEFieldMask & whichField))
01177         _mfVariableE.syncWith(pOther->_mfVariableE);
01178 
01179     if(FieldBits::NoField != (VariableFFieldMask & whichField))
01180         _mfVariableF.syncWith(pOther->_mfVariableF);
01181 
01182     if(FieldBits::NoField != (VariableGFieldMask & whichField))
01183         _mfVariableG.syncWith(pOther->_mfVariableG);
01184 
01185     if(FieldBits::NoField != (CombinerColor0FieldMask & whichField))
01186         _mfCombinerColor0.syncWith(pOther->_mfCombinerColor0);
01187 
01188     if(FieldBits::NoField != (CombinerColor1FieldMask & whichField))
01189         _mfCombinerColor1.syncWith(pOther->_mfCombinerColor1);
01190 
01191     if(FieldBits::NoField != (PerStageConstantsFieldMask & whichField))
01192         _sfPerStageConstants.syncWith(pOther->_sfPerStageConstants);
01193 
01194 
01195 }

void RegisterCombinersChunkBase::executeSync ( FieldContainer other,
const BitVector whichField 
) [protected, virtual]

Reimplemented from osg::StateChunkBase.

Definition at line 463 of file OSGRegisterCombinersChunkBase.cpp.

References executeSyncImpl().

00465 {
00466     this->executeSyncImpl((RegisterCombinersChunkBase *) &other, whichField);
00467 }

void osg::RegisterCombinersChunkBase::operator= ( const RegisterCombinersChunkBase source  )  [private]

UInt32 osg::StateChunk::getClassId ( void   )  const [inline, inherited]

Definition at line 48 of file OSGStateChunk.inl.

References osg::StateChunk::getClass(), and osg::StateChunkClass::getId().

00049 {
00050     return getClass()->getId();
00051 }

const StateChunkClass * StateChunk::getClass ( void   )  const [virtual, inherited]

UInt32 osg::StateChunk::getStaticClassId ( void   )  [inline, static, inherited]

const StateChunkClass * osg::StateChunk::getStaticClass ( void   )  [inline, static, inherited]

void StateChunk::changed ( BitVector  whichField,
UInt32  origin 
) [virtual, inherited]

void StateChunk::dump ( UInt32  uiIndent = 0,
const BitVector  bvFlags = 0 
) const [virtual, inherited]

void StateChunk::update ( DrawActionBase action  )  [virtual, inherited]

Reimplemented in osg::SHLChunk.

Definition at line 311 of file OSGStateChunk.cpp.

00312 {
00313 }

void StateChunk::activate ( DrawActionBase action,
UInt32  index = 0 
) [virtual, inherited]

void StateChunk::changeFrom ( DrawActionBase action,
StateChunk old,
UInt32  index = 0 
) [virtual, inherited]

void StateChunk::deactivate ( DrawActionBase action,
UInt32  index = 0 
) [virtual, inherited]

bool StateChunk::isTransparent ( void   )  const [virtual, inherited]

Check if the chunk is transparent, i.e. needs to be rendered after the opaque objects.

Reimplemented in osg::BlendChunk, osg::MaterialChunk, osg::PointChunk, osg::ProgramChunk, osg::RegisterCombinersChunk, and osg::TextureChunk.

Definition at line 352 of file OSGStateChunk.cpp.

00353 {
00354     return false;
00355 }

Real32 StateChunk::switchCost ( StateChunk chunk  )  [virtual, inherited]

bool StateChunk::operator< ( const StateChunk other  )  const [virtual, inherited]

bool StateChunk::operator== ( const StateChunk other  )  const [virtual, inherited]

bool StateChunk::operator!= ( const StateChunk other  )  const [virtual, inherited]

void StateChunk::initMethod ( void   )  [static, protected, inherited]

SFBool * osg::StateChunkBase::getSFIgnore ( void   )  [inline, inherited]

Definition at line 75 of file OSGStateChunkBase.inl.

References osg::StateChunkBase::_sfIgnore.

00076 {
00077     return &_sfIgnore;
00078 }

bool & osg::StateChunkBase::getIgnore ( void   )  [inline, inherited]

Definition at line 83 of file OSGStateChunkBase.inl.

References osg::StateChunkBase::_sfIgnore, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

00084 {
00085     return _sfIgnore.getValue();
00086 }

const bool & osg::StateChunkBase::getIgnore ( void   )  const [inline, inherited]

Definition at line 90 of file OSGStateChunkBase.inl.

References osg::StateChunkBase::_sfIgnore, and osg::SField< FieldTypeT, fieldNameSpace >::getValue().

00091 {
00092     return _sfIgnore.getValue();
00093 }

void osg::StateChunkBase::setIgnore ( const bool &  value  )  [inline, inherited]

Definition at line 97 of file OSGStateChunkBase.inl.

References osg::StateChunkBase::_sfIgnore, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().

00098 {
00099     _sfIgnore.setValue(value);
00100 }

void osg::StateChunkBase::executeSyncImpl ( StateChunkBase pOther,
const BitVector whichField 
) [protected, inherited]

void Attachment::executeSyncImpl ( Attachment pOther,
const BitVector whichField 
) [protected, inherited]

void osg::FieldContainer::executeSyncImpl ( FieldContainer pOther,
const BitVector whichField 
) [inline, protected, inherited]

MFFieldContainerPtr & Attachment::getParents ( void   )  [inherited]

Definition at line 95 of file OSGAttachment.cpp.

00096 {
00097     return _parents;
00098 }

const MFFieldContainerPtr & Attachment::getParents ( void   )  const [inherited]

Definition at line 100 of file OSGAttachment.cpp.

References osg::Attachment::_parents.

00101 {
00102     return _parents;
00103 }

MFFieldContainerPtr * Attachment::getMFParents ( void   )  [inherited]

Definition at line 105 of file OSGAttachment.cpp.

References osg::Attachment::_parents.

Referenced by osg::DVRLookupTable::changed().

00106 {
00107     return &_parents;
00108 }

void Attachment::addParent ( FieldContainerPtr  parent  )  [inherited]

Definition at line 110 of file OSGAttachment.cpp.

References osg::Attachment::_parents, and osg::MField< FieldTypeT, fieldNameSpace >::push_back().

00111 {
00112     _parents.push_back(parent);
00113 }

void Attachment::subParent ( FieldContainerPtr  parent  )  [inherited]

Int32 Attachment::findParent ( FieldContainerPtr  parent  )  [inherited]

Definition at line 125 of file OSGAttachment.cpp.

References osg::Attachment::_parents, osg::MField< FieldTypeT, fieldNameSpace >::begin(), osg::MField< FieldTypeT, fieldNameSpace >::end(), and osg::MField< FieldTypeT, fieldNameSpace >::find().

00126 {
00127     MFFieldContainerPtr::iterator parentIt = _parents.find(parent);
00128 
00129     if(parentIt != _parents.end())
00130     {
00131         return parentIt - _parents.begin();
00132     }
00133     else
00134     {
00135         return -1;
00136     }
00137 }

SFBool & Attachment::getInternal ( void   )  [inherited]

Definition at line 142 of file OSGAttachment.cpp.

References osg::Attachment::_sfInternal.

00143 {
00144     return _sfInternal;
00145 }

const SFBool & Attachment::getInternal ( void   )  const [inherited]

Definition at line 147 of file OSGAttachment.cpp.

References osg::Attachment::_sfInternal.

00148 {
00149     return _sfInternal;
00150 }

SFBool * Attachment::getSFInternal ( void   )  [inherited]

Definition at line 152 of file OSGAttachment.cpp.

References osg::Attachment::_sfInternal.

00153 {
00154     return &_sfInternal;
00155 }

void Attachment::setInternal ( bool  bVal  )  [inherited]

Definition at line 157 of file OSGAttachment.cpp.

References osg::Attachment::_sfInternal, and osg::SField< FieldTypeT, fieldNameSpace >::setValue().

00158 {
00159     _sfInternal.setValue(bVal);
00160 }

void Attachment::onDestroy ( void   )  [protected, virtual, inherited]

UInt16 osg::FieldContainer::getClassGroupId ( void   )  [inline, static, inherited]

Definition at line 71 of file OSGFieldContainerImpl.inl.

References osg::FieldContainer::_type, and osg::FieldContainerType::getGroupId().

00072 {
00073     return _type.getGroupId();
00074 }

UInt32 osg::FieldContainer::getTypeId ( void   )  const [inline, inherited]

Definition at line 77 of file OSGFieldContainerImpl.inl.

References osg::TypeBase::getId(), and osg::FieldContainer::getType().

Referenced by osg::TextureChunk::changeFrom(), and osg::CubeTextureChunk::changeFrom().

00078 {
00079     return getType().getId();
00080 }

UInt16 osg::FieldContainer::getGroupId ( void   )  const [inline, inherited]

const Char8 * osg::FieldContainer::getTypeName ( void   )  const [inline, inherited]

Definition at line 89 of file OSGFieldContainerImpl.inl.

References osg::TypeBase::getCName(), and osg::FieldContainer::getType().

00090 {
00091     return getType().getCName();
00092 }

Field * osg::FieldContainer::getField ( UInt32  fieldId  )  [inline, inherited]

Generic Field Access

Definition at line 95 of file OSGFieldContainerImpl.inl.

References osg::FieldDescription::getField(), osg::FieldContainerType::getFieldDescription(), and osg::FieldContainer::getType().

Referenced by osg::QFCItem::expand(), osg::VRMLShapeDesc::getFieldAndDesc(), osg::QFieldViewBase::getFieldPtr(), osg::QFieldEditorBase::getFieldPtr(), osg::getParentsField(), and osg::QFCItem::setup().

00096 {
00097     const FieldDescription *desc = getType().getFieldDescription(fieldId);
00098 
00099     return desc ? desc->getField(*this) : NULL;
00100 }

Field * osg::FieldContainer::getField ( const Char8 fieldName  )  [inline, inherited]

Generic Field Access

Definition at line 103 of file OSGFieldContainerImpl.inl.

References osg::FieldContainerType::findFieldDescription(), osg::FieldDescription::getField(), and osg::FieldContainer::getType().

00104 {
00105     const FieldDescription *desc =getType().findFieldDescription(fieldName);
00106 
00107     return desc ? desc->getField(*this) : NULL;
00108 }

template<class ObjectPtrT>
void osg::FieldContainer::newPtr ( ObjectPtrT &  result,
const typename ObjectPtrT::StoredObjectType *  prototypeP 
) [inline, static, protected, inherited]

Definition at line 138 of file OSGFieldContainerImpl.inl.

References osg::ChangeList::addCreated(), osg::PThreadBase::getAspect(), osg::PThreadBase::getCurrentChangeList(), osg::ThreadManager::getNumAspects(), osg::FieldContainerFactory::registerFieldContainer(), and osg::FieldContainerFactory::the().

Referenced by osg::XWindowBase::createEmpty(), osg::WIN32WindowBase::createEmpty(), osg::ViewportBase::createEmpty(), osg::VertexProgramChunkBase::createEmpty(), osg::TwoSidedLightingChunkBase::createEmpty(), osg::TransformChunkBase::createEmpty(), osg::TransformBase::createEmpty(), osg::TileCameraDecoratorBase::createEmpty(), osg::TextureTransformChunkBase::createEmpty(), osg::TextureGrabForegroundBase::createEmpty(), osg::TextureGrabBackgroundBase::createEmpty(), osg::TextureChunkBase::createEmpty(), osg::TextureBackgroundBase::createEmpty(), osg::TexGenChunkBase::createEmpty(), osg::SwitchMaterialBase::createEmpty(), osg::SwitchBase::createEmpty(), osg::SurfaceBase::createEmpty(), osg::StringAttributeMapBase::createEmpty(), osg::StereoBufferViewportBase::createEmpty(), osg::StencilChunkBase::createEmpty(), osg::StateSortingGroupBase::createEmpty(), osg::StateBase::createEmpty(), osg::SpotLightBase::createEmpty(), osg::SortFirstWindowBase::createEmpty(), osg::SolidBackgroundBase::createEmpty(), osg::SlicesBase::createEmpty(), osg::SkyBackgroundBase::createEmpty(), osg::SimpleTexturedMaterialBase::createEmpty(), osg::SimpleStatisticsForegroundBase::createEmpty(), osg::SimpleMaterialBase::createEmpty(), osg::SHLParameterChunkBase::createEmpty(), osg::SHLChunkBase::createEmpty(), osg::ShearedStereoCameraDecoratorBase::createEmpty(), osg::ShaderParameterVec4fBase::createEmpty(), osg::ShaderParameterVec3fBase::createEmpty(), osg::ShaderParameterVec2fBase::createEmpty(), osg::ShaderParameterStringBase::createEmpty(), osg::ShaderParameterRealBase::createEmpty(), osg::ShaderParameterMVec4fBase::createEmpty(), osg::ShaderParameterMVec3fBase::createEmpty(), osg::ShaderParameterMVec2fBase::createEmpty(), osg::ShaderParameterMRealBase::createEmpty(), osg::ShaderParameterMMatrixBase::createEmpty(), osg::ShaderParameterMIntBase::createEmpty(), osg::ShaderParameterMatrixBase::createEmpty(), osg::ShaderParameterIntBase::createEmpty(), osg::ShaderParameterBoolBase::createEmpty(), osg::ScreenGroupBase::createEmpty(), osg::SClipPlaneChunkBase::createEmpty(), osg::ResolutionDisplayFilterBase::createEmpty(), osg::RenderOptionsBase::createEmpty(), createEmpty(), osg::QTWindowBase::createEmpty(), osg::ProxyGroupBase::createEmpty(), osg::ProjectionCameraDecoratorBase::createEmpty(), osg::PolygonForegroundBase::createEmpty(), osg::PolygonChunkBase::createEmpty(), osg::PolygonBackgroundBase::createEmpty(), osg::PointLightBase::createEmpty(), osg::PointChunkBase::createEmpty(), osg::PhongMaterialBase::createEmpty(), osg::PerspectiveCameraBase::createEmpty(), osg::PassiveWindowBase::createEmpty(), osg::PassiveViewportBase::createEmpty(), osg::PassiveBackgroundBase::createEmpty(), osg::ParticlesBase::createEmpty(), osg::OrthographicCameraBase::createEmpty(), osg::OffCenterPerspectiveCameraBase::createEmpty(), osg::MultiPassMaterialBase::createEmpty(), osg::MultiDisplayWindowBase::createEmpty(), osg::MatrixCameraDecoratorBase::createEmpty(), osg::MatrixCameraBase::createEmpty(), osg::MaterialPoolBase::createEmpty(), osg::MaterialGroupBase::createEmpty(), osg::MaterialChunkBase::createEmpty(), osg::LogicOpChunkBase::createEmpty(), osg::LineChunkBase::createEmpty(), osg::LightModelChunkBase::createEmpty(), osg::LightEnvBase::createEmpty(), osg::LightChunkBase::createEmpty(), osg::InverseTransformBase::createEmpty(), osg::InlineBase::createEmpty(), osg::ImageForegroundBase::createEmpty(), osg::ImageBase::createEmpty(), osg::ImageBackgroundBase::createEmpty(), osg::GroupBase::createEmpty(), osg::GraphicStatisticsForegroundBase::createEmpty(), osg::GradientBackgroundBase::createEmpty(), osg::GrabForegroundBase::createEmpty(), osg::GLUTWindowBase::createEmpty(), osg::GeometryBase::createEmpty(), osg::FresnelMaterialBase::createEmpty(), osg::FragmentProgramChunkBase::createEmpty(), osg::FileGrabForegroundBase::createEmpty(), osg::FCPtrAttributeMapBase::createEmpty(), osg::FBOViewportBase::createEmpty(), osg::FatBorderChunkBase::createEmpty(), osg::DVRVolumeTextureBase::createEmpty(), osg::DVRVolumeBase::createEmpty(), osg::DVRSimpleShaderBase::createEmpty(), osg::DVRSimpleLUTShaderBase::createEmpty(), osg::DVRMtexLUTShaderBase::createEmpty(), osg::DVRLookupTableBase::createEmpty(), osg::DVRIsoSurfaceBase::createEmpty(), osg::DVRIsoShaderBase::createEmpty(), osg::DVRGeometryBase::createEmpty(), osg::DVRClipObjectsBase::createEmpty(), osg::DVRClipGeometryBase::createEmpty(), osg::DVRAppearanceBase::createEmpty(), osg::DistortionDisplayFilterBase::createEmpty(), osg::DistanceLODBase::createEmpty(), osg::DisplayFilterForegroundBase::createEmpty(), osg::DisplayCalibrationBase::createEmpty(), osg::DirectionalLightBase::createEmpty(), osg::DepthClearBackgroundBase::createEmpty(), osg::DepthChunkBase::createEmpty(), osg::CubeTextureChunkBase::createEmpty(), osg::ComponentTransformBase::createEmpty(), osg::ColorMaskChunkBase::createEmpty(), osg::ColorDisplayFilterBase::createEmpty(), osg::ColorBufferViewportBase::createEmpty(), osg::ClusterWindowBase::createEmpty(), osg::ClipPlaneChunkBase::createEmpty(), osg::ClipPlaneBase::createEmpty(), osg::ChunkMaterialBase::createEmpty(), osg::BlendChunkBase::createEmpty(), osg::BillboardBase::createEmpty(), osg::XWindowBase::shallowCopy(), osg::WIN32WindowBase::shallowCopy(), osg::ViewportBase::shallowCopy(), osg::VertexProgramChunkBase::shallowCopy(), osg::TwoSidedLightingChunkBase::shallowCopy(), osg::TransformChunkBase::shallowCopy(), osg::TransformBase::shallowCopy(), osg::TileCameraDecoratorBase::shallowCopy(), osg::TextureTransformChunkBase::shallowCopy(), osg::TextureGrabForegroundBase::shallowCopy(), osg::TextureGrabBackgroundBase::shallowCopy(), osg::TextureChunkBase::shallowCopy(), osg::TextureBackgroundBase::shallowCopy(), osg::TexGenChunkBase::shallowCopy(), osg::SwitchMaterialBase::shallowCopy(), osg::SwitchBase::shallowCopy(), osg::SurfaceBase::shallowCopy(), osg::StringAttributeMapBase::shallowCopy(), osg::StereoBufferViewportBase::shallowCopy(), osg::StencilChunkBase::shallowCopy(), osg::StateSortingGroupBase::shallowCopy(), osg::StateBase::shallowCopy(), osg::SpotLightBase::shallowCopy(), osg::SortFirstWindowBase::shallowCopy(), osg::SolidBackgroundBase::shallowCopy(), osg::SlicesBase::shallowCopy(), osg::SkyBackgroundBase::shallowCopy(), osg::SimpleTexturedMaterialBase::shallowCopy(), osg::SimpleStatisticsForegroundBase::shallowCopy(), osg::SimpleMaterialBase::shallowCopy(), osg::SHLParameterChunkBase::shallowCopy(), osg::SHLChunkBase::shallowCopy(), osg::ShearedStereoCameraDecoratorBase::shallowCopy(), osg::ShaderParameterVec4fBase::shallowCopy(), osg::ShaderParameterVec3fBase::shallowCopy(), osg::ShaderParameterVec2fBase::shallowCopy(), osg::ShaderParameterStringBase::shallowCopy(), osg::ShaderParameterRealBase::shallowCopy(), osg::ShaderParameterMVec4fBase::shallowCopy(), osg::ShaderParameterMVec3fBase::shallowCopy(), osg::ShaderParameterMVec2fBase::shallowCopy(), osg::ShaderParameterMRealBase::shallowCopy(), osg::ShaderParameterMMatrixBase::shallowCopy(), osg::ShaderParameterMIntBase::shallowCopy(), osg::ShaderParameterMatrixBase::shallowCopy(), osg::ShaderParameterIntBase::shallowCopy(), osg::ShaderParameterBoolBase::shallowCopy(), osg::ScreenGroupBase::shallowCopy(), osg::SClipPlaneChunkBase::shallowCopy(), osg::ResolutionDisplayFilterBase::shallowCopy(), osg::RenderOptionsBase::shallowCopy(), shallowCopy(), osg::QTWindowBase::shallowCopy(), osg::ProxyGroupBase::shallowCopy(), osg::ProjectionCameraDecoratorBase::shallowCopy(), osg::PolygonForegroundBase::shallowCopy(), osg::PolygonChunkBase::shallowCopy(), osg::PolygonBackgroundBase::shallowCopy(), osg::PointLightBase::shallowCopy(), osg::PointChunkBase::shallowCopy(), osg::PhongMaterialBase::shallowCopy(), osg::PerspectiveCameraBase::shallowCopy(), osg::PassiveWindowBase::shallowCopy(), osg::PassiveViewportBase::shallowCopy(), osg::PassiveBackgroundBase::shallowCopy(), osg::ParticlesBase::shallowCopy(), osg::OrthographicCameraBase::shallowCopy(), osg::OffCenterPerspectiveCameraBase::shallowCopy(), osg::MultiPassMaterialBase::shallowCopy(), osg::MultiDisplayWindowBase::shallowCopy(), osg::MatrixCameraDecoratorBase::shallowCopy(), osg::MatrixCameraBase::shallowCopy(), osg::MaterialPoolBase::shallowCopy(), osg::MaterialGroupBase::shallowCopy(), osg::MaterialChunkBase::shallowCopy(), osg::LogicOpChunkBase::shallowCopy(), osg::LineChunkBase::shallowCopy(), osg::LightModelChunkBase::shallowCopy(), osg::LightEnvBase::shallowCopy(), osg::LightChunkBase::shallowCopy(), osg::InverseTransformBase::shallowCopy(), osg::InlineBase::shallowCopy(), osg::ImageForegroundBase::shallowCopy(), osg::ImageBase::shallowCopy(), osg::ImageBackgroundBase::shallowCopy(), osg::GroupBase::shallowCopy(), osg::GraphicStatisticsForegroundBase::shallowCopy(), osg::GradientBackgroundBase::shallowCopy(), osg::GrabForegroundBase::shallowCopy(), osg::GLUTWindowBase::shallowCopy(), osg::GeometryBase::shallowCopy(), osg::FresnelMaterialBase::shallowCopy(), osg::FragmentProgramChunkBase::shallowCopy(), osg::FileGrabForegroundBase::shallowCopy(), osg::FCPtrAttributeMapBase::shallowCopy(), osg::FBOViewportBase::shallowCopy(), osg::FatBorderChunkBase::shallowCopy(), osg::DVRVolumeTextureBase::shallowCopy(), osg::DVRVolumeBase::shallowCopy(), osg::DVRSimpleShaderBase::shallowCopy(), osg::DVRSimpleLUTShaderBase::shallowCopy(), osg::DVRMtexLUTShaderBase::shallowCopy(), osg::DVRLookupTableBase::shallowCopy(), osg::DVRIsoSurfaceBase::shallowCopy(), osg::DVRIsoShaderBase::shallowCopy(), osg::DVRGeometryBase::shallowCopy(), osg::DVRClipObjectsBase::shallowCopy(), osg::DVRClipGeometryBase::shallowCopy(), osg::DVRAppearanceBase::shallowCopy(), osg::DistortionDisplayFilterBase::shallowCopy(), osg::DistanceLODBase::shallowCopy(), osg::DisplayFilterForegroundBase::shallowCopy(), osg::DisplayCalibrationBase::shallowCopy(), osg::DirectionalLightBase::shallowCopy(), osg::DepthClearBackgroundBase::shallowCopy(), osg::DepthChunkBase::shallowCopy(), osg::CubeTextureChunkBase::shallowCopy(), osg::ComponentTransformBase::shallowCopy(), osg::ColorMaskChunkBase::shallowCopy(), osg::ColorDisplayFilterBase::shallowCopy(), osg::ColorBufferViewportBase::shallowCopy(), osg::ClusterWindowBase::shallowCopy(), osg::ClipPlaneChunkBase::shallowCopy(), osg::ClipPlaneBase::shallowCopy(), osg::ChunkMaterialBase::shallowCopy(), osg::BlendChunkBase::shallowCopy(), and osg::BillboardBase::shallowCopy().

00141 {
00142     typedef typename ObjectPtrT::StoredObjectType ObjectType;
00143     
00144     UInt8 *pTmp;
00145     
00146     result._containerSize = sizeof(ObjectType);
00147     
00148     pTmp        = 
00149         static_cast<UInt8 *>(operator new(
00150             sizeof(Int32)      + // ReferenceCount
00151             sizeof(UInt32)     + // ContainerId
00152             sizeof(ObjectType) * ThreadManager::getNumAspects()));
00153     
00154     *(reinterpret_cast<Int32 *>(pTmp)) = 0;
00155     
00156     pTmp += sizeof(Int32);
00157     
00158     result._storeP = (pTmp + sizeof(UInt32));
00159 
00160 #ifdef OSG_DEBUG_FCPTR
00161     result._typedStoreP = reinterpret_cast<FieldContainer *>(result._storeP);
00162 #endif
00163 
00164     *(reinterpret_cast<UInt32 *>(pTmp)) = 
00165         FieldContainerFactory::the()->registerFieldContainer(result);
00166     
00167     Thread::getCurrentChangeList()->addCreated(
00168         *(reinterpret_cast<UInt32 *>(pTmp)));
00169     
00170     pTmp += sizeof(UInt32);
00171     
00172     ObjectType *aObject = reinterpret_cast<ObjectType *>(pTmp);
00173 
00174     for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++)
00175     {
00176         pTmp = 
00177             reinterpret_cast<UInt8 *>(new (pTmp) ObjectType(*prototypeP));
00178         
00179         pTmp += sizeof(ObjectType);
00180     }
00181     
00182     result->onCreate(prototypeP);
00183 
00184     for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++)
00185     {
00186         aObject[i].onCreateAspect(aObject, prototypeP);
00187     }
00188 
00189 #if defined(OSG_GV_BETA) && defined(OSG_DBG_MEM)
00190 
00191     fprintf(stderr, "GV_MEM_FC_DBG : (%u) cc (%p|%u)\n", 
00192             Thread::getAspect(),
00193             result._storeP,
00194 //            ObjectType::getClassType().getCName(),
00195             ObjectType::getClassType().getId());
00196 #endif
00197 
00198 #ifdef OSG_DEBUG_TYPED_FCPTR
00199     result.updateTypedStore();
00200 #endif
00201 }

template<class ObjectPtrT>
void osg::FieldContainer::newPtr ( ObjectPtrT &  result  )  [inline, static, protected, inherited]

Definition at line 204 of file OSGFieldContainerImpl.inl.

References osg::ChangeList::addCreated(), osg::PThreadBase::getAspect(), osg::PThreadBase::getCurrentChangeList(), osg::ThreadManager::getNumAspects(), osg::FieldContainerFactory::registerFieldContainer(), and osg::FieldContainerFactory::the().

00205 {
00206     typedef typename ObjectPtrT::StoredObjectType ObjectType;
00207     
00208     UInt8 *pTmp;
00209     
00210     result._containerSize = sizeof(ObjectType);
00211     
00212     pTmp        =             
00213         static_cast<UInt8 *>(operator new(
00214             sizeof(Int32)      + // ReferenceCount
00215             sizeof(UInt32)     + // ContainerId
00216             sizeof(ObjectType) * ThreadManager::getNumAspects()));
00217     
00218     *(reinterpret_cast<Int32 *>(pTmp)) = 0;
00219     
00220     pTmp  += sizeof(Int32);
00221     
00222     result._storeP = (pTmp + sizeof(UInt32));
00223     
00224 #ifdef OSG_DEBUG_FCPTR
00225     result._typedStoreP = reinterpret_cast<FieldContainer *>(result._storeP);
00226 #endif
00227 
00228     *(reinterpret_cast<UInt32 *>(pTmp)) = 
00229         FieldContainerFactory::the()->registerFieldContainer(result);
00230     
00231     Thread::getCurrentChangeList()->addCreated(
00232         *(reinterpret_cast<UInt32 *>(pTmp)));
00233     
00234     pTmp += sizeof(UInt32);
00235     
00236     ObjectType *aObject = reinterpret_cast<ObjectType *>(pTmp);
00237 
00238     for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++)
00239     {
00240         pTmp = reinterpret_cast<UInt8 *>(new (pTmp) ObjectType());
00241         
00242         pTmp += sizeof(ObjectType);
00243     }
00244     
00245     result->onCreate();
00246     
00247     for(UInt32 i = 0; i < ThreadManager::getNumAspects(); i++)
00248     {
00249         aObject[i].onCreateAspect(aObject);
00250     }
00251 
00252 #if defined(OSG_GV_BETA) && defined(OSG_DBG_MEM)
00253     fprintf(stderr, "GV_MEM_FC_DBG : (%u) c (%p|%u)\n", 
00254             Thread::getAspect(),
00255             result._storeP,
00256 //            ObjectType::getClassType().getCName(),
00257             ObjectType::getClassType().getId());
00258 #endif
00259     
00260 #ifdef OSG_DEBUG_TYPED_FCPTR
00261     result.updateTypedStore();
00262 #endif
00263 }

template<class FieldTypeT>
void osg::FieldContainer::beginEditX ( const BitVector whichField,
FieldTypeT &  field 
) [inline, protected, inherited]

Definition at line 285 of file OSGFieldContainerImpl.inl.

00286 {
00287 //    fieldR.beginEdit();
00288 }

template<class FieldTypeT>
void osg::FieldContainer::endEditX ( const BitVector whichField,
FieldTypeT &  field 
) [inline, protected, inherited]

Definition at line 291 of file OSGFieldContainerImpl.inl.

References osg::endEditCP().

00292 {
00293     FieldContainerPtr tmpPtr(this);
00294     endEditCP(tmpPtr, whichField);
00295 }

void osg::FieldContainer::onCreate ( const FieldContainer source = NULL  )  [inline, protected, inherited]

Definition at line 318 of file OSGFieldContainerImpl.inl.

Referenced by osg::ShaderParameterChunk::onCreate().

00319 {
00320 }

void osg::FieldContainer::onCreateAspect ( const FieldContainer aspect0,
const FieldContainer source = NULL 
) [inline, protected, inherited]

Definition at line 323 of file OSGFieldContainerImpl.inl.

00325 {
00326 }


Friends And Related Function Documentation

friend class FieldContainer [friend]

Reimplemented from osg::StateChunk.

Reimplemented in osg::RegisterCombinersChunk.

Definition at line 470 of file OSGRegisterCombinersChunkBase.h.


Member Data Documentation

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::Color0FieldId)

Definition at line 158 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::Color1FieldId)

Definition at line 159 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::ColorSumClampFieldId)

Definition at line 160 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::VariableArgbFieldId)

Definition at line 161 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::VariableBrgbFieldId)

Definition at line 162 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::VariableCrgbFieldId)

Definition at line 163 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::VariableDrgbFieldId)

Definition at line 164 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::VariableAalphaFieldId)

Definition at line 165 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::VariableBalphaFieldId)

Definition at line 166 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::VariableCalphaFieldId)

Definition at line 167 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::VariableDalphaFieldId)

Definition at line 168 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::OutputABrgbFieldId)

Definition at line 169 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::OutputCDrgbFieldId)

Definition at line 170 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::OutputSumrgbFieldId)

Definition at line 171 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::ScalergbFieldId)

Definition at line 172 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::BiasrgbFieldId)

Definition at line 173 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::OutputABalphaFieldId)

Definition at line 174 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::OutputCDalphaFieldId)

Definition at line 175 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::OutputSumalphaFieldId)

Definition at line 176 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::DotABrgbFieldId)

Definition at line 177 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::DotCDrgbFieldId)

Definition at line 178 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::MuxSumrgbFieldId)

Definition at line 179 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::ScalealphaFieldId)

Definition at line 180 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::BiasalphaFieldId)

Definition at line 181 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::MuxSumalphaFieldId)

Definition at line 182 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::VariableEFieldId)

Definition at line 183 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::VariableFFieldId)

Definition at line 184 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::VariableGFieldId)

Definition at line 185 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::CombinerColor0FieldId)

Definition at line 186 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << RegisterCombinersChunkBase::CombinerColor1FieldId)

Definition at line 187 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (Inherited::MTInfluenceMask) | 
    (static_cast<BitVector>(0x0) << Inherited::NextFieldId)

Reimplemented from osg::StateChunkBase.

Definition at line 191 of file OSGRegisterCombinersChunkBase.h.

input,mapping,component Usage triples for variable A, RGB part

Definition at line 391 of file OSGRegisterCombinersChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getMFVariableArgb(), and getVariableArgb().

Reimplemented from osg::StateChunkBase.

Definition at line 472 of file OSGRegisterCombinersChunkBase.h.

Reimplemented from osg::StateChunkBase.

Definition at line 473 of file OSGRegisterCombinersChunkBase.h.

Referenced by getClassType(), getClassTypeId(), and getType().

bool osg::StateChunkBase::_sfIgnore [protected, inherited]

const BitVector Attachment::InternalFieldMask = (1 << Attachment::InternalFieldId) [static, inherited]

const BitVector Attachment::ParentsFieldMask = (1 << Attachment::ParentsFieldId) [static, inherited]

SFBool osg::Attachment::_sfInternal [protected, inherited]

const BitVector osg::FieldContainer::NextFieldMask [static, inherited]

Initial value:

 
                    (TypeTraits<BitVector>::One << NextFieldId)

Definition at line 75 of file OSGFieldContainerImpl.h.

const bool osg::FieldContainer::isNodeCore = false [static, inherited]

Reimplemented in osg::NodeCore.

Definition at line 181 of file OSGFieldContainerImpl.h.

UInt32 osg::FieldContainer::_shares [protected, inherited]

Definition at line 199 of file OSGFieldContainerImpl.h.


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

Generated on Mon Mar 17 12:13:03 2008 for OpenSG by  doxygen 1.5.5