osg::TextureChunkBase Class Reference

TextureChunk Base Class.

#include <OSGTextureChunkBase.h>

Inheritance diagram for osg::TextureChunkBase:

osg::StateChunk osg::StateChunkBase osg::Attachment osg::FieldContainer osg::TextureChunk osg::CubeTextureChunkBase osg::CubeTextureChunk

List of all members.

Public Types

enum  {
  ImageFieldId = Inherited::NextFieldId, InternalFormatFieldId = ImageFieldId + 1, ExternalFormatFieldId = InternalFormatFieldId + 1, ScaleFieldId = ExternalFormatFieldId + 1,
  FrameFieldId = ScaleFieldId + 1, MinFilterFieldId = FrameFieldId + 1, MagFilterFieldId = MinFilterFieldId + 1, WrapSFieldId = MagFilterFieldId + 1,
  WrapTFieldId = WrapSFieldId + 1, WrapRFieldId = WrapTFieldId + 1, EnvModeFieldId = WrapRFieldId + 1, EnvColorFieldId = EnvModeFieldId + 1,
  EnvCombineRGBFieldId = EnvColorFieldId + 1, EnvCombineAlphaFieldId = EnvCombineRGBFieldId + 1, EnvScaleRGBFieldId = EnvCombineAlphaFieldId + 1, EnvScaleAlphaFieldId = EnvScaleRGBFieldId + 1,
  EnvSource0RGBFieldId = EnvScaleAlphaFieldId + 1, EnvSource1RGBFieldId = EnvSource0RGBFieldId + 1, EnvSource2RGBFieldId = EnvSource1RGBFieldId + 1, EnvSource0AlphaFieldId = EnvSource2RGBFieldId + 1,
  EnvSource1AlphaFieldId = EnvSource0AlphaFieldId + 1, EnvSource2AlphaFieldId = EnvSource1AlphaFieldId + 1, EnvOperand0RGBFieldId = EnvSource2AlphaFieldId + 1, EnvOperand1RGBFieldId = EnvOperand0RGBFieldId + 1,
  EnvOperand2RGBFieldId = EnvOperand1RGBFieldId + 1, EnvOperand0AlphaFieldId = EnvOperand2RGBFieldId + 1, EnvOperand1AlphaFieldId = EnvOperand0AlphaFieldId + 1, EnvOperand2AlphaFieldId = EnvOperand1AlphaFieldId + 1,
  GLIdFieldId = EnvOperand2AlphaFieldId + 1, IgnoreGLForAspectFieldId = GLIdFieldId + 1, PointSpriteFieldId = IgnoreGLForAspectFieldId + 1, PriorityFieldId = PointSpriteFieldId + 1,
  ShaderOperationFieldId = PriorityFieldId + 1, ShaderInputFieldId = ShaderOperationFieldId + 1, ShaderOffsetMatrixFieldId = ShaderInputFieldId + 1, ShaderOffsetScaleFieldId = ShaderOffsetMatrixFieldId + 1,
  ShaderOffsetBiasFieldId = ShaderOffsetScaleFieldId + 1, ShaderRGBADotProductFieldId = ShaderOffsetBiasFieldId + 1, ShaderCullModesFieldId = ShaderRGBADotProductFieldId + 1, ShaderConstEyeFieldId = ShaderCullModesFieldId + 1,
  LodBiasFieldId = ShaderConstEyeFieldId + 1, TargetFieldId = LodBiasFieldId + 1, DirtyLeftFieldId = TargetFieldId + 1, DirtyMinXFieldId = DirtyLeftFieldId + 1,
  DirtyMaxXFieldId = DirtyMinXFieldId + 1, DirtyMinYFieldId = DirtyMaxXFieldId + 1, DirtyMaxYFieldId = DirtyMinYFieldId + 1, DirtyMinZFieldId = DirtyMaxYFieldId + 1,
  DirtyMaxZFieldId = DirtyMinZFieldId + 1, AnisotropyFieldId = DirtyMaxZFieldId + 1, BorderColorFieldId = AnisotropyFieldId + 1, BorderWidthFieldId = BorderColorFieldId + 1,
  NPOTMatrixScaleFieldId = BorderWidthFieldId + 1, NextFieldId = NPOTMatrixScaleFieldId + 1
}
typedef TextureChunkPtr 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


SFImagePtrgetSFImage (void)
 Get the TextureChunk::_sfImage field.
SFGLenumgetSFInternalFormat (void)
 Get the TextureChunk::_sfInternalFormat field.
SFGLenumgetSFExternalFormat (void)
 Get the TextureChunk::_sfExternalFormat field.
SFBoolgetSFScale (void)
 Get the TextureChunk::_sfScale field.
SFUInt32getSFFrame (void)
 Get the TextureChunk::_sfFrame field.
SFGLenumgetSFMinFilter (void)
 Get the TextureChunk::_sfMinFilter field.
SFGLenumgetSFMagFilter (void)
 Get the TextureChunk::_sfMagFilter field.
SFGLenumgetSFWrapS (void)
 Get the TextureChunk::_sfWrapS field.
SFGLenumgetSFWrapT (void)
 Get the TextureChunk::_sfWrapT field.
SFGLenumgetSFWrapR (void)
 Get the TextureChunk::_sfWrapR field.
SFGLenumgetSFEnvMode (void)
 Get the TextureChunk::_sfEnvMode field.
SFColor4fgetSFEnvColor (void)
 Get the TextureChunk::_sfEnvColor field.
SFGLenumgetSFEnvCombineRGB (void)
 Get the TextureChunk::_sfEnvCombineRGB field.
SFGLenumgetSFEnvCombineAlpha (void)
 Get the TextureChunk::_sfEnvCombineAlpha field.
SFReal32getSFEnvScaleRGB (void)
 Get the TextureChunk::_sfEnvScaleRGB field.
SFReal32getSFEnvScaleAlpha (void)
 Get the TextureChunk::_sfEnvScaleAlpha field.
SFGLenumgetSFEnvSource0RGB (void)
 Get the TextureChunk::_sfEnvSource0RGB field.
SFGLenumgetSFEnvSource1RGB (void)
 Get the TextureChunk::_sfEnvSource1RGB field.
SFGLenumgetSFEnvSource2RGB (void)
 Get the TextureChunk::_sfEnvSource2RGB field.
SFGLenumgetSFEnvSource0Alpha (void)
 Get the TextureChunk::_sfEnvSource0Alpha field.
SFGLenumgetSFEnvSource1Alpha (void)
 Get the TextureChunk::_sfEnvSource1Alpha field.
SFGLenumgetSFEnvSource2Alpha (void)
 Get the TextureChunk::_sfEnvSource2Alpha field.
SFGLenumgetSFEnvOperand0RGB (void)
 Get the TextureChunk::_sfEnvOperand0RGB field.
SFGLenumgetSFEnvOperand1RGB (void)
 Get the TextureChunk::_sfEnvOperand1RGB field.
SFGLenumgetSFEnvOperand2RGB (void)
 Get the TextureChunk::_sfEnvOperand2RGB field.
SFGLenumgetSFEnvOperand0Alpha (void)
 Get the TextureChunk::_sfEnvOperand0Alpha field.
SFGLenumgetSFEnvOperand1Alpha (void)
 Get the TextureChunk::_sfEnvOperand1Alpha field.
SFGLenumgetSFEnvOperand2Alpha (void)
 Get the TextureChunk::_sfEnvOperand2Alpha field.
SFGLenumgetSFGLId (void)
 Get the TextureChunk::_sfGLId field.
SFInt32getSFIgnoreGLForAspect (void)
 Get the TextureChunk::_sfIgnoreGLForAspect field.
SFBoolgetSFPointSprite (void)
 Get the TextureChunk::_sfPointSprite field.
SFReal32getSFPriority (void)
 Get the TextureChunk::_sfPriority field.
SFGLenumgetSFShaderOperation (void)
 Get the TextureChunk::_sfShaderOperation field.
SFGLenumgetSFShaderInput (void)
 Get the TextureChunk::_sfShaderInput field.
MFReal32getMFShaderOffsetMatrix (void)
 Get the TextureChunk::_mfShaderOffsetMatrix field.
SFReal32getSFShaderOffsetScale (void)
 Get the TextureChunk::_sfShaderOffsetScale field.
SFReal32getSFShaderOffsetBias (void)
 Get the TextureChunk::_sfShaderOffsetBias field.
SFGLenumgetSFShaderRGBADotProduct (void)
 Get the TextureChunk::_sfShaderRGBADotProduct field.
SFUInt8getSFShaderCullModes (void)
 Get the TextureChunk::_sfShaderCullModes field.
SFVec3fgetSFShaderConstEye (void)
 Get the TextureChunk::_sfShaderConstEye field.
SFReal32getSFLodBias (void)
 Get the TextureChunk::_sfLodBias field.
SFGLenumgetSFTarget (void)
 Get the TextureChunk::_sfTarget field.
SFInt32getSFDirtyLeft (void)
 Get the TextureChunk::_sfDirtyLeft field.
SFInt32getSFDirtyMinX (void)
 Get the TextureChunk::_sfDirtyMinX field.
SFInt32getSFDirtyMaxX (void)
 Get the TextureChunk::_sfDirtyMaxX field.
SFInt32getSFDirtyMinY (void)
 Get the TextureChunk::_sfDirtyMinY field.
SFInt32getSFDirtyMaxY (void)
 Get the TextureChunk::_sfDirtyMaxY field.
SFInt32getSFDirtyMinZ (void)
 Get the TextureChunk::_sfDirtyMinZ field.
SFInt32getSFDirtyMaxZ (void)
 Get the TextureChunk::_sfDirtyMaxZ field.
SFReal32getSFAnisotropy (void)
 Get the TextureChunk::_sfAnisotropy field.
SFColor4fgetSFBorderColor (void)
 Get the TextureChunk::_sfBorderColor field.
SFUInt32getSFBorderWidth (void)
 Get the TextureChunk::_sfBorderWidth field.
SFUInt32getSFNPOTMatrixScale (void)
 Get the TextureChunk::_sfNPOTMatrixScale field.
ImagePtrgetImage (void)
 Get the value of the TextureChunk::_sfImage field.
const ImagePtrgetImage (void) const
 Get the value of the TextureChunk::_sfImage field.
GLenum & getInternalFormat (void)
 Get the value of the TextureChunk::_sfInternalFormat field.
const GLenum & getInternalFormat (void) const
 Get the value of the TextureChunk::_sfInternalFormat field.
GLenum & getExternalFormat (void)
 Get the value of the TextureChunk::_sfExternalFormat field.
const GLenum & getExternalFormat (void) const
 Get the value of the TextureChunk::_sfExternalFormat field.
bool & getScale (void)
 Get the value of the TextureChunk::_sfScale field.
const bool & getScale (void) const
 Get the value of the TextureChunk::_sfScale field.
UInt32getFrame (void)
 Get the value of the TextureChunk::_sfFrame field.
const UInt32getFrame (void) const
 Get the value of the TextureChunk::_sfFrame field.
GLenum & getMinFilter (void)
 Get the value of the TextureChunk::_sfMinFilter field.
const GLenum & getMinFilter (void) const
 Get the value of the TextureChunk::_sfMinFilter field.
GLenum & getMagFilter (void)
 Get the value of the TextureChunk::_sfMagFilter field.
const GLenum & getMagFilter (void) const
 Get the value of the TextureChunk::_sfMagFilter field.
GLenum & getWrapS (void)
 Get the value of the TextureChunk::_sfWrapS field.
const GLenum & getWrapS (void) const
 Get the value of the TextureChunk::_sfWrapS field.
GLenum & getWrapT (void)
 Get the value of the TextureChunk::_sfWrapT field.
const GLenum & getWrapT (void) const
 Get the value of the TextureChunk::_sfWrapT field.
GLenum & getWrapR (void)
 Get the value of the TextureChunk::_sfWrapR field.
const GLenum & getWrapR (void) const
 Get the value of the TextureChunk::_sfWrapR field.
GLenum & getEnvMode (void)
 Get the value of the TextureChunk::_sfEnvMode field.
const GLenum & getEnvMode (void) const
 Get the value of the TextureChunk::_sfEnvMode field.
Color4fgetEnvColor (void)
 Get the value of the TextureChunk::_sfEnvColor field.
const Color4fgetEnvColor (void) const
 Get the value of the TextureChunk::_sfEnvColor field.
GLenum & getEnvCombineRGB (void)
 Get the value of the TextureChunk::_sfEnvCombineRGB field.
const GLenum & getEnvCombineRGB (void) const
 Get the value of the TextureChunk::_sfEnvCombineRGB field.
GLenum & getEnvCombineAlpha (void)
 Get the value of the TextureChunk::_sfEnvCombineAlpha field.
const GLenum & getEnvCombineAlpha (void) const
 Get the value of the TextureChunk::_sfEnvCombineAlpha field.
Real32getEnvScaleRGB (void)
 Get the value of the TextureChunk::_sfEnvScaleRGB field.
const Real32getEnvScaleRGB (void) const
 Get the value of the TextureChunk::_sfEnvScaleRGB field.
Real32getEnvScaleAlpha (void)
 Get the value of the TextureChunk::_sfEnvScaleAlpha field.
const Real32getEnvScaleAlpha (void) const
 Get the value of the TextureChunk::_sfEnvScaleAlpha field.
GLenum & getEnvSource0RGB (void)
 Get the value of the TextureChunk::_sfEnvSource0RGB field.
const GLenum & getEnvSource0RGB (void) const
 Get the value of the TextureChunk::_sfEnvSource0RGB field.
GLenum & getEnvSource1RGB (void)
 Get the value of the TextureChunk::_sfEnvSource1RGB field.
const GLenum & getEnvSource1RGB (void) const
 Get the value of the TextureChunk::_sfEnvSource1RGB field.
GLenum & getEnvSource2RGB (void)
 Get the value of the TextureChunk::_sfEnvSource2RGB field.
const GLenum & getEnvSource2RGB (void) const
 Get the value of the TextureChunk::_sfEnvSource2RGB field.
GLenum & getEnvSource0Alpha (void)
 Get the value of the TextureChunk::_sfEnvSource0Alpha field.
const GLenum & getEnvSource0Alpha (void) const
 Get the value of the TextureChunk::_sfEnvSource0Alpha field.
GLenum & getEnvSource1Alpha (void)
 Get the value of the TextureChunk::_sfEnvSource1Alpha field.
const GLenum & getEnvSource1Alpha (void) const
 Get the value of the TextureChunk::_sfEnvSource1Alpha field.
GLenum & getEnvSource2Alpha (void)
 Get the value of the TextureChunk::_sfEnvSource2Alpha field.
const GLenum & getEnvSource2Alpha (void) const
 Get the value of the TextureChunk::_sfEnvSource2Alpha field.
GLenum & getEnvOperand0RGB (void)
 Get the value of the TextureChunk::_sfEnvOperand0RGB field.
const GLenum & getEnvOperand0RGB (void) const
 Get the value of the TextureChunk::_sfEnvOperand0RGB field.
GLenum & getEnvOperand1RGB (void)
 Get the value of the TextureChunk::_sfEnvOperand1RGB field.
const GLenum & getEnvOperand1RGB (void) const
 Get the value of the TextureChunk::_sfEnvOperand1RGB field.
GLenum & getEnvOperand2RGB (void)
 Get the value of the TextureChunk::_sfEnvOperand2RGB field.
const GLenum & getEnvOperand2RGB (void) const
 Get the value of the TextureChunk::_sfEnvOperand2RGB field.
GLenum & getEnvOperand0Alpha (void)
 Get the value of the TextureChunk::_sfEnvOperand0Alpha field.
const GLenum & getEnvOperand0Alpha (void) const
 Get the value of the TextureChunk::_sfEnvOperand0Alpha field.
GLenum & getEnvOperand1Alpha (void)
 Get the value of the TextureChunk::_sfEnvOperand1Alpha field.
const GLenum & getEnvOperand1Alpha (void) const
 Get the value of the TextureChunk::_sfEnvOperand1Alpha field.
GLenum & getEnvOperand2Alpha (void)
 Get the value of the TextureChunk::_sfEnvOperand2Alpha field.
const GLenum & getEnvOperand2Alpha (void) const
 Get the value of the TextureChunk::_sfEnvOperand2Alpha field.
GLenum & getGLId (void)
 Get the value of the TextureChunk::_sfGLId field.
const GLenum & getGLId (void) const
 Get the value of the TextureChunk::_sfGLId field.
Int32getIgnoreGLForAspect (void)
 Get the value of the TextureChunk::_sfIgnoreGLForAspect field.
const Int32getIgnoreGLForAspect (void) const
 Get the value of the TextureChunk::_sfIgnoreGLForAspect field.
bool & getPointSprite (void)
 Get the value of the TextureChunk::_sfPointSprite field.
const bool & getPointSprite (void) const
 Get the value of the TextureChunk::_sfPointSprite field.
Real32getPriority (void)
 Get the value of the TextureChunk::_sfPriority field.
const Real32getPriority (void) const
 Get the value of the TextureChunk::_sfPriority field.
GLenum & getShaderOperation (void)
 Get the value of the TextureChunk::_sfShaderOperation field.
const GLenum & getShaderOperation (void) const
 Get the value of the TextureChunk::_sfShaderOperation field.
GLenum & getShaderInput (void)
 Get the value of the TextureChunk::_sfShaderInput field.
const GLenum & getShaderInput (void) const
 Get the value of the TextureChunk::_sfShaderInput field.
Real32getShaderOffsetScale (void)
 Get the value of the TextureChunk::_sfShaderOffsetScale field.
const Real32getShaderOffsetScale (void) const
 Get the value of the TextureChunk::_sfShaderOffsetScale field.
Real32getShaderOffsetBias (void)
 Get the value of the TextureChunk::_sfShaderOffsetBias field.
const Real32getShaderOffsetBias (void) const
 Get the value of the TextureChunk::_sfShaderOffsetBias field.
GLenum & getShaderRGBADotProduct (void)
 Get the value of the TextureChunk::_sfShaderRGBADotProduct field.
const GLenum & getShaderRGBADotProduct (void) const
 Get the value of the TextureChunk::_sfShaderRGBADotProduct field.
UInt8getShaderCullModes (void)
 Get the value of the TextureChunk::_sfShaderCullModes field.
const UInt8getShaderCullModes (void) const
 Get the value of the TextureChunk::_sfShaderCullModes field.
Vec3fgetShaderConstEye (void)
 Get the value of the TextureChunk::_sfShaderConstEye field.
const Vec3fgetShaderConstEye (void) const
 Get the value of the TextureChunk::_sfShaderConstEye field.
Real32getLodBias (void)
 Get the value of the TextureChunk::_sfLodBias field.
const Real32getLodBias (void) const
 Get the value of the TextureChunk::_sfLodBias field.
GLenum & getTarget (void)
 Get the value of the TextureChunk::_sfTarget field.
const GLenum & getTarget (void) const
 Get the value of the TextureChunk::_sfTarget field.
Int32getDirtyLeft (void)
 Get the value of the TextureChunk::_sfDirtyLeft field.
const Int32getDirtyLeft (void) const
 Get the value of the TextureChunk::_sfDirtyLeft field.
Int32getDirtyMinX (void)
 Get the value of the TextureChunk::_sfDirtyMinX field.
const Int32getDirtyMinX (void) const
 Get the value of the TextureChunk::_sfDirtyMinX field.
Int32getDirtyMaxX (void)
 Get the value of the TextureChunk::_sfDirtyMaxX field.
const Int32getDirtyMaxX (void) const
 Get the value of the TextureChunk::_sfDirtyMaxX field.
Int32getDirtyMinY (void)
 Get the value of the TextureChunk::_sfDirtyMinY field.
const Int32getDirtyMinY (void) const
 Get the value of the TextureChunk::_sfDirtyMinY field.
Int32getDirtyMaxY (void)
 Get the value of the TextureChunk::_sfDirtyMaxY field.
const Int32getDirtyMaxY (void) const
 Get the value of the TextureChunk::_sfDirtyMaxY field.
Int32getDirtyMinZ (void)
 Get the value of the TextureChunk::_sfDirtyMinZ field.
const Int32getDirtyMinZ (void) const
 Get the value of the TextureChunk::_sfDirtyMinZ field.
Int32getDirtyMaxZ (void)
 Get the value of the TextureChunk::_sfDirtyMaxZ field.
const Int32getDirtyMaxZ (void) const
 Get the value of the TextureChunk::_sfDirtyMaxZ field.
Real32getAnisotropy (void)
 Get the value of the TextureChunk::_sfAnisotropy field.
const Real32getAnisotropy (void) const
 Get the value of the TextureChunk::_sfAnisotropy field.
Color4fgetBorderColor (void)
 Get the value of the TextureChunk::_sfBorderColor field.
const Color4fgetBorderColor (void) const
 Get the value of the TextureChunk::_sfBorderColor field.
UInt32getBorderWidth (void)
 Get the value of the TextureChunk::_sfBorderWidth field.
const UInt32getBorderWidth (void) const
 Get the value of the TextureChunk::_sfBorderWidth field.
UInt32getNPOTMatrixScale (void)
 Get the value of the TextureChunk::_sfNPOTMatrixScale field.
const UInt32getNPOTMatrixScale (void) const
 Get the value of the TextureChunk::_sfNPOTMatrixScale field.
Real32getShaderOffsetMatrix (const UInt32 index)
 Get the value of the index element the TextureChunk::_mfShaderOffsetMatrix field.
MFReal32getShaderOffsetMatrix (void)
 Get the TextureChunk::_mfShaderOffsetMatrix field.
const MFReal32getShaderOffsetMatrix (void) const
 Get the TextureChunk::_mfShaderOffsetMatrix field.
Field Set


void setImage (const ImagePtr &value)
 Set the value of the TextureChunk::_sfImage field.
void setInternalFormat (const GLenum &value)
 Set the value of the TextureChunk::_sfInternalFormat field.
void setExternalFormat (const GLenum &value)
 Set the value of the TextureChunk::_sfExternalFormat field.
void setScale (const bool &value)
 Set the value of the TextureChunk::_sfScale field.
void setFrame (const UInt32 &value)
 Set the value of the TextureChunk::_sfFrame field.
void setMinFilter (const GLenum &value)
 Set the value of the TextureChunk::_sfMinFilter field.
void setMagFilter (const GLenum &value)
 Set the value of the TextureChunk::_sfMagFilter field.
void setWrapS (const GLenum &value)
 Set the value of the TextureChunk::_sfWrapS field.
void setWrapT (const GLenum &value)
 Set the value of the TextureChunk::_sfWrapT field.
void setWrapR (const GLenum &value)
 Set the value of the TextureChunk::_sfWrapR field.
void setEnvMode (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvMode field.
void setEnvColor (const Color4f &value)
 Set the value of the TextureChunk::_sfEnvColor field.
void setEnvCombineRGB (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvCombineRGB field.
void setEnvCombineAlpha (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvCombineAlpha field.
void setEnvScaleRGB (const Real32 &value)
 Set the value of the TextureChunk::_sfEnvScaleRGB field.
void setEnvScaleAlpha (const Real32 &value)
 Set the value of the TextureChunk::_sfEnvScaleAlpha field.
void setEnvSource0RGB (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvSource0RGB field.
void setEnvSource1RGB (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvSource1RGB field.
void setEnvSource2RGB (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvSource2RGB field.
void setEnvSource0Alpha (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvSource0Alpha field.
void setEnvSource1Alpha (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvSource1Alpha field.
void setEnvSource2Alpha (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvSource2Alpha field.
void setEnvOperand0RGB (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvOperand0RGB field.
void setEnvOperand1RGB (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvOperand1RGB field.
void setEnvOperand2RGB (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvOperand2RGB field.
void setEnvOperand0Alpha (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvOperand0Alpha field.
void setEnvOperand1Alpha (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvOperand1Alpha field.
void setEnvOperand2Alpha (const GLenum &value)
 Set the value of the TextureChunk::_sfEnvOperand2Alpha field.
void setGLId (const GLenum &value)
 Set the value of the TextureChunk::_sfGLId field.
void setIgnoreGLForAspect (const Int32 &value)
 Set the value of the TextureChunk::_sfIgnoreGLForAspect field.
void setPointSprite (const bool &value)
 Set the value of the TextureChunk::_sfPointSprite field.
void setPriority (const Real32 &value)
 Set the value of the TextureChunk::_sfPriority field.
void setShaderOperation (const GLenum &value)
 Set the value of the TextureChunk::_sfShaderOperation field.
void setShaderInput (const GLenum &value)
 Set the value of the TextureChunk::_sfShaderInput field.
void setShaderOffsetScale (const Real32 &value)
 Set the value of the TextureChunk::_sfShaderOffsetScale field.
void setShaderOffsetBias (const Real32 &value)
 Set the value of the TextureChunk::_sfShaderOffsetBias field.
void setShaderRGBADotProduct (const GLenum &value)
 Set the value of the TextureChunk::_sfShaderRGBADotProduct field.
void setShaderCullModes (const UInt8 &value)
 Set the value of the TextureChunk::_sfShaderCullModes field.
void setShaderConstEye (const Vec3f &value)
 Set the value of the TextureChunk::_sfShaderConstEye field.
void setLodBias (const Real32 &value)
 Set the value of the TextureChunk::_sfLodBias field.
void setTarget (const GLenum &value)
 Set the value of the TextureChunk::_sfTarget field.
void setDirtyLeft (const Int32 &value)
 Set the value of the TextureChunk::_sfDirtyLeft field.
void setDirtyMinX (const Int32 &value)
 Set the value of the TextureChunk::_sfDirtyMinX field.
void setDirtyMaxX (const Int32 &value)
 Set the value of the TextureChunk::_sfDirtyMaxX field.
void setDirtyMinY (const Int32 &value)
 Set the value of the TextureChunk::_sfDirtyMinY field.
void setDirtyMaxY (const Int32 &value)
 Set the value of the TextureChunk::_sfDirtyMaxY field.
void setDirtyMinZ (const Int32 &value)
 Set the value of the TextureChunk::_sfDirtyMinZ field.
void setDirtyMaxZ (const Int32 &value)
 Set the value of the TextureChunk::_sfDirtyMaxZ field.
void setAnisotropy (const Real32 &value)
 Set the value of the TextureChunk::_sfAnisotropy field.
void setBorderColor (const Color4f &value)
 Set the value of the TextureChunk::_sfBorderColor field.
void setBorderWidth (const UInt32 &value)
 Set the value of the TextureChunk::_sfBorderWidth field.
void setNPOTMatrixScale (const UInt32 &value)
 Set the value of the TextureChunk::_sfNPOTMatrixScale 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 TextureChunkPtr create (void)
 create a new instance of the class
static TextureChunkPtr 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 ImageFieldMask
static const osg::BitVector InternalFormatFieldMask
static const osg::BitVector ExternalFormatFieldMask
static const osg::BitVector ScaleFieldMask
static const osg::BitVector FrameFieldMask
static const osg::BitVector MinFilterFieldMask
static const osg::BitVector MagFilterFieldMask
static const osg::BitVector WrapSFieldMask
static const osg::BitVector WrapTFieldMask
static const osg::BitVector WrapRFieldMask
static const osg::BitVector EnvModeFieldMask
static const osg::BitVector EnvColorFieldMask
static const osg::BitVector EnvCombineRGBFieldMask
static const osg::BitVector EnvCombineAlphaFieldMask
static const osg::BitVector EnvScaleRGBFieldMask
static const osg::BitVector EnvScaleAlphaFieldMask
static const osg::BitVector EnvSource0RGBFieldMask
static const osg::BitVector EnvSource1RGBFieldMask
static const osg::BitVector EnvSource2RGBFieldMask
static const osg::BitVector EnvSource0AlphaFieldMask
static const osg::BitVector EnvSource1AlphaFieldMask
static const osg::BitVector EnvSource2AlphaFieldMask
static const osg::BitVector EnvOperand0RGBFieldMask
static const osg::BitVector EnvOperand1RGBFieldMask
static const osg::BitVector EnvOperand2RGBFieldMask
static const osg::BitVector EnvOperand0AlphaFieldMask
static const osg::BitVector EnvOperand1AlphaFieldMask
static const osg::BitVector EnvOperand2AlphaFieldMask
static const osg::BitVector GLIdFieldMask
static const osg::BitVector IgnoreGLForAspectFieldMask
static const osg::BitVector PointSpriteFieldMask
static const osg::BitVector PriorityFieldMask
static const osg::BitVector ShaderOperationFieldMask
static const osg::BitVector ShaderInputFieldMask
static const osg::BitVector ShaderOffsetMatrixFieldMask
static const osg::BitVector ShaderOffsetScaleFieldMask
static const osg::BitVector ShaderOffsetBiasFieldMask
static const osg::BitVector ShaderRGBADotProductFieldMask
static const osg::BitVector ShaderCullModesFieldMask
static const osg::BitVector ShaderConstEyeFieldMask
static const osg::BitVector LodBiasFieldMask
static const osg::BitVector TargetFieldMask
static const osg::BitVector DirtyLeftFieldMask
static const osg::BitVector DirtyMinXFieldMask
static const osg::BitVector DirtyMaxXFieldMask
static const osg::BitVector DirtyMinYFieldMask
static const osg::BitVector DirtyMaxYFieldMask
static const osg::BitVector DirtyMinZFieldMask
static const osg::BitVector DirtyMaxZFieldMask
static const osg::BitVector AnisotropyFieldMask
static const osg::BitVector BorderColorFieldMask
static const osg::BitVector BorderWidthFieldMask
static const osg::BitVector NPOTMatrixScaleFieldMask
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


 TextureChunkBase (void)
 TextureChunkBase (const TextureChunkBase &source)
Destructors


virtual ~TextureChunkBase (void)
Sync


void executeSyncImpl (TextureChunkBase *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


SFImagePtr _sfImage
SFGLenum _sfInternalFormat
SFGLenum _sfExternalFormat
SFBool _sfScale
SFUInt32 _sfFrame
SFGLenum _sfMinFilter
SFGLenum _sfMagFilter
SFGLenum _sfWrapS
SFGLenum _sfWrapT
SFGLenum _sfWrapR
SFGLenum _sfEnvMode
SFColor4f _sfEnvColor
SFGLenum _sfEnvCombineRGB
SFGLenum _sfEnvCombineAlpha
SFReal32 _sfEnvScaleRGB
SFReal32 _sfEnvScaleAlpha
SFGLenum _sfEnvSource0RGB
SFGLenum _sfEnvSource1RGB
SFGLenum _sfEnvSource2RGB
SFGLenum _sfEnvSource0Alpha
SFGLenum _sfEnvSource1Alpha
SFGLenum _sfEnvSource2Alpha
SFGLenum _sfEnvOperand0RGB
SFGLenum _sfEnvOperand1RGB
SFGLenum _sfEnvOperand2RGB
SFGLenum _sfEnvOperand0Alpha
SFGLenum _sfEnvOperand1Alpha
SFGLenum _sfEnvOperand2Alpha
SFGLenum _sfGLId
SFInt32 _sfIgnoreGLForAspect
SFBool _sfPointSprite
SFReal32 _sfPriority
SFGLenum _sfShaderOperation
SFGLenum _sfShaderInput
MFReal32 _mfShaderOffsetMatrix
SFReal32 _sfShaderOffsetScale
SFReal32 _sfShaderOffsetBias
SFGLenum _sfShaderRGBADotProduct
SFUInt8 _sfShaderCullModes
SFVec3f _sfShaderConstEye
SFReal32 _sfLodBias
SFGLenum _sfTarget
SFInt32 _sfDirtyLeft
SFInt32 _sfDirtyMinX
SFInt32 _sfDirtyMaxX
SFInt32 _sfDirtyMinY
SFInt32 _sfDirtyMaxY
SFInt32 _sfDirtyMinZ
SFInt32 _sfDirtyMaxZ
SFReal32 _sfAnisotropy
SFColor4f _sfBorderColor
SFUInt32 _sfBorderWidth
SFUInt32 _sfNPOTMatrixScale
Fields


SFBool _sfIgnore
Fields


SFBool _sfInternal
MFFieldContainerPtr _parents
Member


UInt32 _shares

Private Types

typedef StateChunk Inherited

Private Member Functions

void operator= (const TextureChunkBase &source)

Static Private Attributes

static FieldDescription_desc []
 TextureChunk description.
static FieldContainerType _type

Friends

class FieldContainer


Detailed Description

Definition at line 133 of file OSGTextureChunkBase.h.


Member Typedef Documentation

Reimplemented from osg::StateChunk.

Reimplemented in osg::CubeTextureChunk, osg::CubeTextureChunkBase, and osg::TextureChunk.

Definition at line 137 of file OSGTextureChunkBase.h.

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 142 of file OSGTextureChunkBase.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
ImageFieldId 
InternalFormatFieldId 
ExternalFormatFieldId 
ScaleFieldId 
FrameFieldId 
MinFilterFieldId 
MagFilterFieldId 
WrapSFieldId 
WrapTFieldId 
WrapRFieldId 
EnvModeFieldId 
EnvColorFieldId 
EnvCombineRGBFieldId 
EnvCombineAlphaFieldId 
EnvScaleRGBFieldId 
EnvScaleAlphaFieldId 
EnvSource0RGBFieldId 
EnvSource1RGBFieldId 
EnvSource2RGBFieldId 
EnvSource0AlphaFieldId 
EnvSource1AlphaFieldId 
EnvSource2AlphaFieldId 
EnvOperand0RGBFieldId 
EnvOperand1RGBFieldId 
EnvOperand2RGBFieldId 
EnvOperand0AlphaFieldId 
EnvOperand1AlphaFieldId 
EnvOperand2AlphaFieldId 
GLIdFieldId 
IgnoreGLForAspectFieldId 
PointSpriteFieldId 
PriorityFieldId 
ShaderOperationFieldId 
ShaderInputFieldId 
ShaderOffsetMatrixFieldId 
ShaderOffsetScaleFieldId 
ShaderOffsetBiasFieldId 
ShaderRGBADotProductFieldId 
ShaderCullModesFieldId 
ShaderConstEyeFieldId 
LodBiasFieldId 
TargetFieldId 
DirtyLeftFieldId 
DirtyMinXFieldId 
DirtyMaxXFieldId 
DirtyMinYFieldId 
DirtyMaxYFieldId 
DirtyMinZFieldId 
DirtyMaxZFieldId 
AnisotropyFieldId 
BorderColorFieldId 
BorderWidthFieldId 
NPOTMatrixScaleFieldId 
NextFieldId 

Definition at line 144 of file OSGTextureChunkBase.h.

00145     {
00146         ImageFieldId                = Inherited::NextFieldId,
00147         InternalFormatFieldId       = ImageFieldId                + 1,
00148         ExternalFormatFieldId       = InternalFormatFieldId       + 1,
00149         ScaleFieldId                = ExternalFormatFieldId       + 1,
00150         FrameFieldId                = ScaleFieldId                + 1,
00151         MinFilterFieldId            = FrameFieldId                + 1,
00152         MagFilterFieldId            = MinFilterFieldId            + 1,
00153         WrapSFieldId                = MagFilterFieldId            + 1,
00154         WrapTFieldId                = WrapSFieldId                + 1,
00155         WrapRFieldId                = WrapTFieldId                + 1,
00156         EnvModeFieldId              = WrapRFieldId                + 1,
00157         EnvColorFieldId             = EnvModeFieldId              + 1,
00158         EnvCombineRGBFieldId        = EnvColorFieldId             + 1,
00159         EnvCombineAlphaFieldId      = EnvCombineRGBFieldId        + 1,
00160         EnvScaleRGBFieldId          = EnvCombineAlphaFieldId      + 1,
00161         EnvScaleAlphaFieldId        = EnvScaleRGBFieldId          + 1,
00162         EnvSource0RGBFieldId        = EnvScaleAlphaFieldId        + 1,
00163         EnvSource1RGBFieldId        = EnvSource0RGBFieldId        + 1,
00164         EnvSource2RGBFieldId        = EnvSource1RGBFieldId        + 1,
00165         EnvSource0AlphaFieldId      = EnvSource2RGBFieldId        + 1,
00166         EnvSource1AlphaFieldId      = EnvSource0AlphaFieldId      + 1,
00167         EnvSource2AlphaFieldId      = EnvSource1AlphaFieldId      + 1,
00168         EnvOperand0RGBFieldId       = EnvSource2AlphaFieldId      + 1,
00169         EnvOperand1RGBFieldId       = EnvOperand0RGBFieldId       + 1,
00170         EnvOperand2RGBFieldId       = EnvOperand1RGBFieldId       + 1,
00171         EnvOperand0AlphaFieldId     = EnvOperand2RGBFieldId       + 1,
00172         EnvOperand1AlphaFieldId     = EnvOperand0AlphaFieldId     + 1,
00173         EnvOperand2AlphaFieldId     = EnvOperand1AlphaFieldId     + 1,
00174         GLIdFieldId                 = EnvOperand2AlphaFieldId     + 1,
00175         IgnoreGLForAspectFieldId    = GLIdFieldId                 + 1,
00176         PointSpriteFieldId          = IgnoreGLForAspectFieldId    + 1,
00177         PriorityFieldId             = PointSpriteFieldId          + 1,
00178         ShaderOperationFieldId      = PriorityFieldId             + 1,
00179         ShaderInputFieldId          = ShaderOperationFieldId      + 1,
00180         ShaderOffsetMatrixFieldId   = ShaderInputFieldId          + 1,
00181         ShaderOffsetScaleFieldId    = ShaderOffsetMatrixFieldId   + 1,
00182         ShaderOffsetBiasFieldId     = ShaderOffsetScaleFieldId    + 1,
00183         ShaderRGBADotProductFieldId = ShaderOffsetBiasFieldId     + 1,
00184         ShaderCullModesFieldId      = ShaderRGBADotProductFieldId + 1,
00185         ShaderConstEyeFieldId       = ShaderCullModesFieldId      + 1,
00186         LodBiasFieldId              = ShaderConstEyeFieldId       + 1,
00187         TargetFieldId               = LodBiasFieldId              + 1,
00188         DirtyLeftFieldId            = TargetFieldId               + 1,
00189         DirtyMinXFieldId            = DirtyLeftFieldId            + 1,
00190         DirtyMaxXFieldId            = DirtyMinXFieldId            + 1,
00191         DirtyMinYFieldId            = DirtyMaxXFieldId            + 1,
00192         DirtyMaxYFieldId            = DirtyMinYFieldId            + 1,
00193         DirtyMinZFieldId            = DirtyMaxYFieldId            + 1,
00194         DirtyMaxZFieldId            = DirtyMinZFieldId            + 1,
00195         AnisotropyFieldId           = DirtyMaxZFieldId            + 1,
00196         BorderColorFieldId          = AnisotropyFieldId           + 1,
00197         BorderWidthFieldId          = BorderColorFieldId          + 1,
00198         NPOTMatrixScaleFieldId      = BorderWidthFieldId          + 1,
00199         NextFieldId                 = NPOTMatrixScaleFieldId      + 1
00200     };

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

osg::TextureChunkBase::TextureChunkBase ( void   )  [protected]

Definition at line 764 of file OSGTextureChunkBase.cpp.

00764                                        :
00765     _sfImage                  (), 
00766     _sfInternalFormat         (GLenum(GL_NONE)), 
00767     _sfExternalFormat         (GLenum(GL_NONE)), 
00768     _sfScale                  (bool(true)), 
00769     _sfFrame                  (UInt32(0)), 
00770     _sfMinFilter              (GLenum(GL_LINEAR_MIPMAP_LINEAR)), 
00771     _sfMagFilter              (GLenum(GL_LINEAR)), 
00772     _sfWrapS                  (GLenum(GL_REPEAT)), 
00773     _sfWrapT                  (GLenum(GL_REPEAT)), 
00774     _sfWrapR                  (GLenum(GL_REPEAT)), 
00775     _sfEnvMode                (GLenum(GL_REPLACE)), 
00776     _sfEnvColor               (Color4f(0,0,0,0)), 
00777     _sfEnvCombineRGB          (GLenum(GL_MODULATE)), 
00778     _sfEnvCombineAlpha        (GLenum(GL_MODULATE)), 
00779     _sfEnvScaleRGB            (Real32(1.0f)), 
00780     _sfEnvScaleAlpha          (Real32(1.0f)), 
00781     _sfEnvSource0RGB          (GLenum(GL_TEXTURE)), 
00782     _sfEnvSource1RGB          (GLenum(GL_PREVIOUS_EXT)), 
00783     _sfEnvSource2RGB          (GLenum(GL_CONSTANT_EXT)), 
00784     _sfEnvSource0Alpha        (GLenum(GL_TEXTURE)), 
00785     _sfEnvSource1Alpha        (GLenum(GL_PREVIOUS_EXT)), 
00786     _sfEnvSource2Alpha        (GLenum(GL_CONSTANT_EXT)), 
00787     _sfEnvOperand0RGB         (GLenum(GL_SRC_COLOR)), 
00788     _sfEnvOperand1RGB         (GLenum(GL_SRC_COLOR)), 
00789     _sfEnvOperand2RGB         (GLenum(GL_SRC_ALPHA)), 
00790     _sfEnvOperand0Alpha       (GLenum(GL_SRC_ALPHA)), 
00791     _sfEnvOperand1Alpha       (GLenum(GL_SRC_ALPHA)), 
00792     _sfEnvOperand2Alpha       (GLenum(GL_SRC_ALPHA)), 
00793     _sfGLId                   (GLenum(0)), 
00794     _sfIgnoreGLForAspect      (Int32(-1)), 
00795     _sfPointSprite            (bool(GL_FALSE)), 
00796     _sfPriority               (Real32(1.f)), 
00797     _sfShaderOperation        (GLenum(GL_NONE)), 
00798     _sfShaderInput            (GLenum(GL_NONE)), 
00799     _mfShaderOffsetMatrix     (), 
00800     _sfShaderOffsetScale      (), 
00801     _sfShaderOffsetBias       (), 
00802     _sfShaderRGBADotProduct   (GLenum(GL_NONE)), 
00803     _sfShaderCullModes        (UInt8(0)), 
00804     _sfShaderConstEye         (), 
00805     _sfLodBias                (Real32(0.0)), 
00806     _sfTarget                 (GLenum(GL_NONE)), 
00807     _sfDirtyLeft              (Int32(-1)), 
00808     _sfDirtyMinX              (Int32(-1)), 
00809     _sfDirtyMaxX              (Int32(-1)), 
00810     _sfDirtyMinY              (Int32(-1)), 
00811     _sfDirtyMaxY              (Int32(-1)), 
00812     _sfDirtyMinZ              (Int32(-1)), 
00813     _sfDirtyMaxZ              (Int32(-1)), 
00814     _sfAnisotropy             (Real32(1.0f)), 
00815     _sfBorderColor            (Color4f(0,0,0,0)), 
00816     _sfBorderWidth            (UInt32(0)), 
00817     _sfNPOTMatrixScale        (UInt32(0)), 
00818     Inherited() 
00819 {
00820 }

osg::TextureChunkBase::TextureChunkBase ( const TextureChunkBase source  )  [protected]

Definition at line 826 of file OSGTextureChunkBase.cpp.

00826                                                                  :
00827     _sfImage                  (source._sfImage                  ), 
00828     _sfInternalFormat         (source._sfInternalFormat         ), 
00829     _sfExternalFormat         (source._sfExternalFormat         ), 
00830     _sfScale                  (source._sfScale                  ), 
00831     _sfFrame                  (source._sfFrame                  ), 
00832     _sfMinFilter              (source._sfMinFilter              ), 
00833     _sfMagFilter              (source._sfMagFilter              ), 
00834     _sfWrapS                  (source._sfWrapS                  ), 
00835     _sfWrapT                  (source._sfWrapT                  ), 
00836     _sfWrapR                  (source._sfWrapR                  ), 
00837     _sfEnvMode                (source._sfEnvMode                ), 
00838     _sfEnvColor               (source._sfEnvColor               ), 
00839     _sfEnvCombineRGB          (source._sfEnvCombineRGB          ), 
00840     _sfEnvCombineAlpha        (source._sfEnvCombineAlpha        ), 
00841     _sfEnvScaleRGB            (source._sfEnvScaleRGB            ), 
00842     _sfEnvScaleAlpha          (source._sfEnvScaleAlpha          ), 
00843     _sfEnvSource0RGB          (source._sfEnvSource0RGB          ), 
00844     _sfEnvSource1RGB          (source._sfEnvSource1RGB          ), 
00845     _sfEnvSource2RGB          (source._sfEnvSource2RGB          ), 
00846     _sfEnvSource0Alpha        (source._sfEnvSource0Alpha        ), 
00847     _sfEnvSource1Alpha        (source._sfEnvSource1Alpha        ), 
00848     _sfEnvSource2Alpha        (source._sfEnvSource2Alpha        ), 
00849     _sfEnvOperand0RGB         (source._sfEnvOperand0RGB         ), 
00850     _sfEnvOperand1RGB         (source._sfEnvOperand1RGB         ), 
00851     _sfEnvOperand2RGB         (source._sfEnvOperand2RGB         ), 
00852     _sfEnvOperand0Alpha       (source._sfEnvOperand0Alpha       ), 
00853     _sfEnvOperand1Alpha       (source._sfEnvOperand1Alpha       ), 
00854     _sfEnvOperand2Alpha       (source._sfEnvOperand2Alpha       ), 
00855     _sfGLId                   (source._sfGLId                   ), 
00856     _sfIgnoreGLForAspect      (source._sfIgnoreGLForAspect      ), 
00857     _sfPointSprite            (source._sfPointSprite            ), 
00858     _sfPriority               (source._sfPriority               ), 
00859     _sfShaderOperation        (source._sfShaderOperation        ), 
00860     _sfShaderInput            (source._sfShaderInput            ), 
00861     _mfShaderOffsetMatrix     (source._mfShaderOffsetMatrix     ), 
00862     _sfShaderOffsetScale      (source._sfShaderOffsetScale      ), 
00863     _sfShaderOffsetBias       (source._sfShaderOffsetBias       ), 
00864     _sfShaderRGBADotProduct   (source._sfShaderRGBADotProduct   ), 
00865     _sfShaderCullModes        (source._sfShaderCullModes        ), 
00866     _sfShaderConstEye         (source._sfShaderConstEye         ), 
00867     _sfLodBias                (source._sfLodBias                ), 
00868     _sfTarget                 (source._sfTarget                 ), 
00869     _sfDirtyLeft              (source._sfDirtyLeft              ), 
00870     _sfDirtyMinX              (source._sfDirtyMinX              ), 
00871     _sfDirtyMaxX              (source._sfDirtyMaxX              ), 
00872     _sfDirtyMinY              (source._sfDirtyMinY              ), 
00873     _sfDirtyMaxY              (source._sfDirtyMaxY              ), 
00874     _sfDirtyMinZ              (source._sfDirtyMinZ              ), 
00875     _sfDirtyMaxZ              (source._sfDirtyMaxZ              ), 
00876     _sfAnisotropy             (source._sfAnisotropy             ), 
00877     _sfBorderColor            (source._sfBorderColor            ), 
00878     _sfBorderWidth            (source._sfBorderWidth            ), 
00879     _sfNPOTMatrixScale        (source._sfNPOTMatrixScale        ), 
00880     Inherited                 (source)
00881 {
00882 }

osg::TextureChunkBase::~TextureChunkBase ( void   )  [protected, virtual]

Definition at line 886 of file OSGTextureChunkBase.cpp.

00887 {
00888 }


Member Function Documentation

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

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 58 of file OSGTextureChunkBase.inl.

References _type.

Referenced by create(), osg::VRMLAppearanceDesc::endNode(), modifyMaterial(), and osg::RemoteAspect::RemoteAspect().

00059 {
00060     return _type; 
00061 } 

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

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 65 of file OSGTextureChunkBase.inl.

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

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

FieldContainerType & osg::TextureChunkBase::getType ( void   )  [virtual]

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 705 of file OSGTextureChunkBase.cpp.

References _type.

00706 {
00707     return _type; 
00708 } 

const FieldContainerType & osg::TextureChunkBase::getType ( void   )  const [virtual]

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 710 of file OSGTextureChunkBase.cpp.

References _type.

00711 {
00712     return _type;
00713 } 

UInt32 osg::TextureChunkBase::getContainerSize ( void   )  const [virtual]

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 725 of file OSGTextureChunkBase.cpp.

00726 { 
00727     return sizeof(TextureChunk); 
00728 }

SFImagePtr * osg::TextureChunkBase::getSFImage ( void   )  [inline]

Definition at line 101 of file OSGTextureChunkBase.inl.

References _sfImage.

00102 {
00103     return &_sfImage;
00104 }

SFGLenum * osg::TextureChunkBase::getSFInternalFormat ( void   )  [inline]

Definition at line 108 of file OSGTextureChunkBase.inl.

References _sfInternalFormat.

00109 {
00110     return &_sfInternalFormat;
00111 }

SFGLenum * osg::TextureChunkBase::getSFExternalFormat ( void   )  [inline]

Definition at line 115 of file OSGTextureChunkBase.inl.

References _sfExternalFormat.

00116 {
00117     return &_sfExternalFormat;
00118 }

SFBool * osg::TextureChunkBase::getSFScale ( void   )  [inline]

Definition at line 122 of file OSGTextureChunkBase.inl.

References _sfScale.

00123 {
00124     return &_sfScale;
00125 }

SFUInt32 * osg::TextureChunkBase::getSFFrame ( void   )  [inline]

Definition at line 129 of file OSGTextureChunkBase.inl.

References _sfFrame.

00130 {
00131     return &_sfFrame;
00132 }

SFGLenum * osg::TextureChunkBase::getSFMinFilter ( void   )  [inline]

Definition at line 136 of file OSGTextureChunkBase.inl.

References _sfMinFilter.

00137 {
00138     return &_sfMinFilter;
00139 }

SFGLenum * osg::TextureChunkBase::getSFMagFilter ( void   )  [inline]

Definition at line 143 of file OSGTextureChunkBase.inl.

References _sfMagFilter.

00144 {
00145     return &_sfMagFilter;
00146 }

SFGLenum * osg::TextureChunkBase::getSFWrapS ( void   )  [inline]

Definition at line 150 of file OSGTextureChunkBase.inl.

References _sfWrapS.

00151 {
00152     return &_sfWrapS;
00153 }

SFGLenum * osg::TextureChunkBase::getSFWrapT ( void   )  [inline]

Definition at line 157 of file OSGTextureChunkBase.inl.

References _sfWrapT.

00158 {
00159     return &_sfWrapT;
00160 }

SFGLenum * osg::TextureChunkBase::getSFWrapR ( void   )  [inline]

Definition at line 164 of file OSGTextureChunkBase.inl.

References _sfWrapR.

00165 {
00166     return &_sfWrapR;
00167 }

SFGLenum * osg::TextureChunkBase::getSFEnvMode ( void   )  [inline]

Definition at line 171 of file OSGTextureChunkBase.inl.

References _sfEnvMode.

00172 {
00173     return &_sfEnvMode;
00174 }

SFColor4f * osg::TextureChunkBase::getSFEnvColor ( void   )  [inline]

Definition at line 178 of file OSGTextureChunkBase.inl.

References _sfEnvColor.

00179 {
00180     return &_sfEnvColor;
00181 }

SFGLenum * osg::TextureChunkBase::getSFEnvCombineRGB ( void   )  [inline]

Definition at line 185 of file OSGTextureChunkBase.inl.

References _sfEnvCombineRGB.

00186 {
00187     return &_sfEnvCombineRGB;
00188 }

SFGLenum * osg::TextureChunkBase::getSFEnvCombineAlpha ( void   )  [inline]

Definition at line 192 of file OSGTextureChunkBase.inl.

References _sfEnvCombineAlpha.

00193 {
00194     return &_sfEnvCombineAlpha;
00195 }

SFReal32 * osg::TextureChunkBase::getSFEnvScaleRGB ( void   )  [inline]

Definition at line 199 of file OSGTextureChunkBase.inl.

References _sfEnvScaleRGB.

00200 {
00201     return &_sfEnvScaleRGB;
00202 }

SFReal32 * osg::TextureChunkBase::getSFEnvScaleAlpha ( void   )  [inline]

Definition at line 206 of file OSGTextureChunkBase.inl.

References _sfEnvScaleAlpha.

00207 {
00208     return &_sfEnvScaleAlpha;
00209 }

SFGLenum * osg::TextureChunkBase::getSFEnvSource0RGB ( void   )  [inline]

Definition at line 213 of file OSGTextureChunkBase.inl.

References _sfEnvSource0RGB.

00214 {
00215     return &_sfEnvSource0RGB;
00216 }

SFGLenum * osg::TextureChunkBase::getSFEnvSource1RGB ( void   )  [inline]

Definition at line 220 of file OSGTextureChunkBase.inl.

References _sfEnvSource1RGB.

00221 {
00222     return &_sfEnvSource1RGB;
00223 }

SFGLenum * osg::TextureChunkBase::getSFEnvSource2RGB ( void   )  [inline]

Definition at line 227 of file OSGTextureChunkBase.inl.

References _sfEnvSource2RGB.

00228 {
00229     return &_sfEnvSource2RGB;
00230 }

SFGLenum * osg::TextureChunkBase::getSFEnvSource0Alpha ( void   )  [inline]

Definition at line 234 of file OSGTextureChunkBase.inl.

References _sfEnvSource0Alpha.

00235 {
00236     return &_sfEnvSource0Alpha;
00237 }

SFGLenum * osg::TextureChunkBase::getSFEnvSource1Alpha ( void   )  [inline]

Definition at line 241 of file OSGTextureChunkBase.inl.

References _sfEnvSource1Alpha.

00242 {
00243     return &_sfEnvSource1Alpha;
00244 }

SFGLenum * osg::TextureChunkBase::getSFEnvSource2Alpha ( void   )  [inline]

Definition at line 248 of file OSGTextureChunkBase.inl.

References _sfEnvSource2Alpha.

00249 {
00250     return &_sfEnvSource2Alpha;
00251 }

SFGLenum * osg::TextureChunkBase::getSFEnvOperand0RGB ( void   )  [inline]

Definition at line 255 of file OSGTextureChunkBase.inl.

References _sfEnvOperand0RGB.

00256 {
00257     return &_sfEnvOperand0RGB;
00258 }

SFGLenum * osg::TextureChunkBase::getSFEnvOperand1RGB ( void   )  [inline]

Definition at line 262 of file OSGTextureChunkBase.inl.

References _sfEnvOperand1RGB.

00263 {
00264     return &_sfEnvOperand1RGB;
00265 }

SFGLenum * osg::TextureChunkBase::getSFEnvOperand2RGB ( void   )  [inline]

Definition at line 269 of file OSGTextureChunkBase.inl.

References _sfEnvOperand2RGB.

00270 {
00271     return &_sfEnvOperand2RGB;
00272 }

SFGLenum * osg::TextureChunkBase::getSFEnvOperand0Alpha ( void   )  [inline]

Definition at line 276 of file OSGTextureChunkBase.inl.

References _sfEnvOperand0Alpha.

00277 {
00278     return &_sfEnvOperand0Alpha;
00279 }

SFGLenum * osg::TextureChunkBase::getSFEnvOperand1Alpha ( void   )  [inline]

Definition at line 283 of file OSGTextureChunkBase.inl.

References _sfEnvOperand1Alpha.

00284 {
00285     return &_sfEnvOperand1Alpha;
00286 }

SFGLenum * osg::TextureChunkBase::getSFEnvOperand2Alpha ( void   )  [inline]

Definition at line 290 of file OSGTextureChunkBase.inl.

References _sfEnvOperand2Alpha.

00291 {
00292     return &_sfEnvOperand2Alpha;
00293 }

SFGLenum * osg::TextureChunkBase::getSFGLId ( void   )  [inline]

Definition at line 297 of file OSGTextureChunkBase.inl.

References _sfGLId.

00298 {
00299     return &_sfGLId;
00300 }

SFInt32 * osg::TextureChunkBase::getSFIgnoreGLForAspect ( void   )  [inline]

Definition at line 304 of file OSGTextureChunkBase.inl.

References _sfIgnoreGLForAspect.

00305 {
00306     return &_sfIgnoreGLForAspect;
00307 }

SFBool * osg::TextureChunkBase::getSFPointSprite ( void   )  [inline]

Definition at line 311 of file OSGTextureChunkBase.inl.

References _sfPointSprite.

00312 {
00313     return &_sfPointSprite;
00314 }

SFReal32 * osg::TextureChunkBase::getSFPriority ( void   )  [inline]

Definition at line 318 of file OSGTextureChunkBase.inl.

References _sfPriority.

00319 {
00320     return &_sfPriority;
00321 }

SFGLenum * osg::TextureChunkBase::getSFShaderOperation ( void   )  [inline]

Definition at line 325 of file OSGTextureChunkBase.inl.

References _sfShaderOperation.

00326 {
00327     return &_sfShaderOperation;
00328 }

SFGLenum * osg::TextureChunkBase::getSFShaderInput ( void   )  [inline]

Definition at line 332 of file OSGTextureChunkBase.inl.

References _sfShaderInput.

00333 {
00334     return &_sfShaderInput;
00335 }

MFReal32 * osg::TextureChunkBase::getMFShaderOffsetMatrix ( void   )  [inline]

Definition at line 339 of file OSGTextureChunkBase.inl.

References _mfShaderOffsetMatrix.

00340 {
00341     return &_mfShaderOffsetMatrix;
00342 }

SFReal32 * osg::TextureChunkBase::getSFShaderOffsetScale ( void   )  [inline]

Definition at line 346 of file OSGTextureChunkBase.inl.

References _sfShaderOffsetScale.

00347 {
00348     return &_sfShaderOffsetScale;
00349 }

SFReal32 * osg::TextureChunkBase::getSFShaderOffsetBias ( void   )  [inline]

Definition at line 353 of file OSGTextureChunkBase.inl.

References _sfShaderOffsetBias.

00354 {
00355     return &_sfShaderOffsetBias;
00356 }

SFGLenum * osg::TextureChunkBase::getSFShaderRGBADotProduct ( void   )  [inline]

Definition at line 360 of file OSGTextureChunkBase.inl.

References _sfShaderRGBADotProduct.

00361 {
00362     return &_sfShaderRGBADotProduct;
00363 }

SFUInt8 * osg::TextureChunkBase::getSFShaderCullModes ( void   )  [inline]

Definition at line 367 of file OSGTextureChunkBase.inl.

References _sfShaderCullModes.

00368 {
00369     return &_sfShaderCullModes;
00370 }

SFVec3f * osg::TextureChunkBase::getSFShaderConstEye ( void   )  [inline]

Definition at line 374 of file OSGTextureChunkBase.inl.

References _sfShaderConstEye.

00375 {
00376     return &_sfShaderConstEye;
00377 }

SFReal32 * osg::TextureChunkBase::getSFLodBias ( void   )  [inline]

Definition at line 381 of file OSGTextureChunkBase.inl.

References _sfLodBias.

00382 {
00383     return &_sfLodBias;
00384 }

SFGLenum * osg::TextureChunkBase::getSFTarget ( void   )  [inline]

Definition at line 388 of file OSGTextureChunkBase.inl.

References _sfTarget.

00389 {
00390     return &_sfTarget;
00391 }

SFInt32 * osg::TextureChunkBase::getSFDirtyLeft ( void   )  [inline]

Definition at line 395 of file OSGTextureChunkBase.inl.

References _sfDirtyLeft.

00396 {
00397     return &_sfDirtyLeft;
00398 }

SFInt32 * osg::TextureChunkBase::getSFDirtyMinX ( void   )  [inline]

Definition at line 402 of file OSGTextureChunkBase.inl.

References _sfDirtyMinX.

00403 {
00404     return &_sfDirtyMinX;
00405 }

SFInt32 * osg::TextureChunkBase::getSFDirtyMaxX ( void   )  [inline]

Definition at line 409 of file OSGTextureChunkBase.inl.

References _sfDirtyMaxX.

00410 {
00411     return &_sfDirtyMaxX;
00412 }

SFInt32 * osg::TextureChunkBase::getSFDirtyMinY ( void   )  [inline]

Definition at line 416 of file OSGTextureChunkBase.inl.

References _sfDirtyMinY.

00417 {
00418     return &_sfDirtyMinY;
00419 }

SFInt32 * osg::TextureChunkBase::getSFDirtyMaxY ( void   )  [inline]

Definition at line 423 of file OSGTextureChunkBase.inl.

References _sfDirtyMaxY.

00424 {
00425     return &_sfDirtyMaxY;
00426 }

SFInt32 * osg::TextureChunkBase::getSFDirtyMinZ ( void   )  [inline]

Definition at line 430 of file OSGTextureChunkBase.inl.

References _sfDirtyMinZ.

00431 {
00432     return &_sfDirtyMinZ;
00433 }

SFInt32 * osg::TextureChunkBase::getSFDirtyMaxZ ( void   )  [inline]

Definition at line 437 of file OSGTextureChunkBase.inl.

References _sfDirtyMaxZ.

00438 {
00439     return &_sfDirtyMaxZ;
00440 }

SFReal32 * osg::TextureChunkBase::getSFAnisotropy ( void   )  [inline]

Definition at line 444 of file OSGTextureChunkBase.inl.

References _sfAnisotropy.

00445 {
00446     return &_sfAnisotropy;
00447 }

SFColor4f * osg::TextureChunkBase::getSFBorderColor ( void   )  [inline]

Definition at line 451 of file OSGTextureChunkBase.inl.

References _sfBorderColor.

00452 {
00453     return &_sfBorderColor;
00454 }

SFUInt32 * osg::TextureChunkBase::getSFBorderWidth ( void   )  [inline]

Definition at line 458 of file OSGTextureChunkBase.inl.

References _sfBorderWidth.

00459 {
00460     return &_sfBorderWidth;
00461 }

SFUInt32 * osg::TextureChunkBase::getSFNPOTMatrixScale ( void   )  [inline]

Definition at line 465 of file OSGTextureChunkBase.inl.

References _sfNPOTMatrixScale.

00466 {
00467     return &_sfNPOTMatrixScale;
00468 }

ImagePtr & osg::TextureChunkBase::getImage ( void   )  [inline]

const ImagePtr & osg::TextureChunkBase::getImage ( void   )  const [inline]

Definition at line 480 of file OSGTextureChunkBase.inl.

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

00481 {
00482     return _sfImage.getValue();
00483 }

GLenum & osg::TextureChunkBase::getInternalFormat ( void   )  [inline]

Definition at line 494 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture().

00495 {
00496     return _sfInternalFormat.getValue();
00497 }

const GLenum & osg::TextureChunkBase::getInternalFormat ( void   )  const [inline]

Definition at line 501 of file OSGTextureChunkBase.inl.

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

00502 {
00503     return _sfInternalFormat.getValue();
00504 }

GLenum & osg::TextureChunkBase::getExternalFormat ( void   )  [inline]

Definition at line 515 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture().

00516 {
00517     return _sfExternalFormat.getValue();
00518 }

const GLenum & osg::TextureChunkBase::getExternalFormat ( void   )  const [inline]

Definition at line 522 of file OSGTextureChunkBase.inl.

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

00523 {
00524     return _sfExternalFormat.getValue();
00525 }

bool & osg::TextureChunkBase::getScale ( void   )  [inline]

const bool & osg::TextureChunkBase::getScale ( void   )  const [inline]

Definition at line 543 of file OSGTextureChunkBase.inl.

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

00544 {
00545     return _sfScale.getValue();
00546 }

UInt32 & osg::TextureChunkBase::getFrame ( void   )  [inline]

Definition at line 557 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture().

00558 {
00559     return _sfFrame.getValue();
00560 }

const UInt32 & osg::TextureChunkBase::getFrame ( void   )  const [inline]

Definition at line 564 of file OSGTextureChunkBase.inl.

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

00565 {
00566     return _sfFrame.getValue();
00567 }

GLenum & osg::TextureChunkBase::getMinFilter ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getMinFilter ( void   )  const [inline]

Definition at line 585 of file OSGTextureChunkBase.inl.

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

00586 {
00587     return _sfMinFilter.getValue();
00588 }

GLenum & osg::TextureChunkBase::getMagFilter ( void   )  [inline]

Definition at line 599 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture(), and osg::TextureChunk::operator==().

00600 {
00601     return _sfMagFilter.getValue();
00602 }

const GLenum & osg::TextureChunkBase::getMagFilter ( void   )  const [inline]

Definition at line 606 of file OSGTextureChunkBase.inl.

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

00607 {
00608     return _sfMagFilter.getValue();
00609 }

GLenum & osg::TextureChunkBase::getWrapS ( void   )  [inline]

Definition at line 620 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture(), and osg::TextureChunk::operator==().

00621 {
00622     return _sfWrapS.getValue();
00623 }

const GLenum & osg::TextureChunkBase::getWrapS ( void   )  const [inline]

Definition at line 627 of file OSGTextureChunkBase.inl.

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

00628 {
00629     return _sfWrapS.getValue();
00630 }

GLenum & osg::TextureChunkBase::getWrapT ( void   )  [inline]

Definition at line 641 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture(), and osg::TextureChunk::operator==().

00642 {
00643     return _sfWrapT.getValue();
00644 }

const GLenum & osg::TextureChunkBase::getWrapT ( void   )  const [inline]

Definition at line 648 of file OSGTextureChunkBase.inl.

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

00649 {
00650     return _sfWrapT.getValue();
00651 }

GLenum & osg::TextureChunkBase::getWrapR ( void   )  [inline]

Definition at line 662 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture(), and osg::TextureChunk::operator==().

00663 {
00664     return _sfWrapR.getValue();
00665 }

const GLenum & osg::TextureChunkBase::getWrapR ( void   )  const [inline]

Definition at line 669 of file OSGTextureChunkBase.inl.

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

00670 {
00671     return _sfWrapR.getValue();
00672 }

GLenum & osg::TextureChunkBase::getEnvMode ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvMode ( void   )  const [inline]

Definition at line 690 of file OSGTextureChunkBase.inl.

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

00691 {
00692     return _sfEnvMode.getValue();
00693 }

Color4f & osg::TextureChunkBase::getEnvColor ( void   )  [inline]

const Color4f & osg::TextureChunkBase::getEnvColor ( void   )  const [inline]

Definition at line 711 of file OSGTextureChunkBase.inl.

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

00712 {
00713     return _sfEnvColor.getValue();
00714 }

GLenum & osg::TextureChunkBase::getEnvCombineRGB ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvCombineRGB ( void   )  const [inline]

Definition at line 732 of file OSGTextureChunkBase.inl.

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

00733 {
00734     return _sfEnvCombineRGB.getValue();
00735 }

GLenum & osg::TextureChunkBase::getEnvCombineAlpha ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvCombineAlpha ( void   )  const [inline]

Definition at line 753 of file OSGTextureChunkBase.inl.

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

00754 {
00755     return _sfEnvCombineAlpha.getValue();
00756 }

Real32 & osg::TextureChunkBase::getEnvScaleRGB ( void   )  [inline]

const Real32 & osg::TextureChunkBase::getEnvScaleRGB ( void   )  const [inline]

Definition at line 774 of file OSGTextureChunkBase.inl.

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

00775 {
00776     return _sfEnvScaleRGB.getValue();
00777 }

Real32 & osg::TextureChunkBase::getEnvScaleAlpha ( void   )  [inline]

const Real32 & osg::TextureChunkBase::getEnvScaleAlpha ( void   )  const [inline]

Definition at line 795 of file OSGTextureChunkBase.inl.

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

00796 {
00797     return _sfEnvScaleAlpha.getValue();
00798 }

GLenum & osg::TextureChunkBase::getEnvSource0RGB ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvSource0RGB ( void   )  const [inline]

Definition at line 816 of file OSGTextureChunkBase.inl.

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

00817 {
00818     return _sfEnvSource0RGB.getValue();
00819 }

GLenum & osg::TextureChunkBase::getEnvSource1RGB ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvSource1RGB ( void   )  const [inline]

Definition at line 837 of file OSGTextureChunkBase.inl.

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

00838 {
00839     return _sfEnvSource1RGB.getValue();
00840 }

GLenum & osg::TextureChunkBase::getEnvSource2RGB ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvSource2RGB ( void   )  const [inline]

Definition at line 858 of file OSGTextureChunkBase.inl.

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

00859 {
00860     return _sfEnvSource2RGB.getValue();
00861 }

GLenum & osg::TextureChunkBase::getEnvSource0Alpha ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvSource0Alpha ( void   )  const [inline]

Definition at line 879 of file OSGTextureChunkBase.inl.

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

00880 {
00881     return _sfEnvSource0Alpha.getValue();
00882 }

GLenum & osg::TextureChunkBase::getEnvSource1Alpha ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvSource1Alpha ( void   )  const [inline]

Definition at line 900 of file OSGTextureChunkBase.inl.

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

00901 {
00902     return _sfEnvSource1Alpha.getValue();
00903 }

GLenum & osg::TextureChunkBase::getEnvSource2Alpha ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvSource2Alpha ( void   )  const [inline]

Definition at line 921 of file OSGTextureChunkBase.inl.

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

00922 {
00923     return _sfEnvSource2Alpha.getValue();
00924 }

GLenum & osg::TextureChunkBase::getEnvOperand0RGB ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvOperand0RGB ( void   )  const [inline]

Definition at line 942 of file OSGTextureChunkBase.inl.

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

00943 {
00944     return _sfEnvOperand0RGB.getValue();
00945 }

GLenum & osg::TextureChunkBase::getEnvOperand1RGB ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvOperand1RGB ( void   )  const [inline]

Definition at line 963 of file OSGTextureChunkBase.inl.

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

00964 {
00965     return _sfEnvOperand1RGB.getValue();
00966 }

GLenum & osg::TextureChunkBase::getEnvOperand2RGB ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvOperand2RGB ( void   )  const [inline]

Definition at line 984 of file OSGTextureChunkBase.inl.

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

00985 {
00986     return _sfEnvOperand2RGB.getValue();
00987 }

GLenum & osg::TextureChunkBase::getEnvOperand0Alpha ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvOperand0Alpha ( void   )  const [inline]

Definition at line 1005 of file OSGTextureChunkBase.inl.

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

01006 {
01007     return _sfEnvOperand0Alpha.getValue();
01008 }

GLenum & osg::TextureChunkBase::getEnvOperand1Alpha ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvOperand1Alpha ( void   )  const [inline]

Definition at line 1026 of file OSGTextureChunkBase.inl.

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

01027 {
01028     return _sfEnvOperand1Alpha.getValue();
01029 }

GLenum & osg::TextureChunkBase::getEnvOperand2Alpha ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getEnvOperand2Alpha ( void   )  const [inline]

Definition at line 1047 of file OSGTextureChunkBase.inl.

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

01048 {
01049     return _sfEnvOperand2Alpha.getValue();
01050 }

GLenum & osg::TextureChunkBase::getGLId ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getGLId ( void   )  const [inline]

Definition at line 1068 of file OSGTextureChunkBase.inl.

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

01069 {
01070     return _sfGLId.getValue();
01071 }

Int32 & osg::TextureChunkBase::getIgnoreGLForAspect ( void   )  [inline]

Definition at line 1082 of file OSGTextureChunkBase.inl.

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

01083 {
01084     return _sfIgnoreGLForAspect.getValue();
01085 }

const Int32 & osg::TextureChunkBase::getIgnoreGLForAspect ( void   )  const [inline]

Definition at line 1089 of file OSGTextureChunkBase.inl.

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

01090 {
01091     return _sfIgnoreGLForAspect.getValue();
01092 }

bool & osg::TextureChunkBase::getPointSprite ( void   )  [inline]

const bool & osg::TextureChunkBase::getPointSprite ( void   )  const [inline]

Definition at line 1110 of file OSGTextureChunkBase.inl.

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

01111 {
01112     return _sfPointSprite.getValue();
01113 }

Real32 & osg::TextureChunkBase::getPriority ( void   )  [inline]

Definition at line 1124 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture(), and osg::TextureChunk::operator==().

01125 {
01126     return _sfPriority.getValue();
01127 }

const Real32 & osg::TextureChunkBase::getPriority ( void   )  const [inline]

Definition at line 1131 of file OSGTextureChunkBase.inl.

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

01132 {
01133     return _sfPriority.getValue();
01134 }

GLenum & osg::TextureChunkBase::getShaderOperation ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getShaderOperation ( void   )  const [inline]

Definition at line 1152 of file OSGTextureChunkBase.inl.

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

01153 {
01154     return _sfShaderOperation.getValue();
01155 }

GLenum & osg::TextureChunkBase::getShaderInput ( void   )  [inline]

Definition at line 1166 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTextureShader().

01167 {
01168     return _sfShaderInput.getValue();
01169 }

const GLenum & osg::TextureChunkBase::getShaderInput ( void   )  const [inline]

Definition at line 1173 of file OSGTextureChunkBase.inl.

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

01174 {
01175     return _sfShaderInput.getValue();
01176 }

Real32 & osg::TextureChunkBase::getShaderOffsetScale ( void   )  [inline]

Definition at line 1187 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTextureShader().

01188 {
01189     return _sfShaderOffsetScale.getValue();
01190 }

const Real32 & osg::TextureChunkBase::getShaderOffsetScale ( void   )  const [inline]

Definition at line 1194 of file OSGTextureChunkBase.inl.

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

01195 {
01196     return _sfShaderOffsetScale.getValue();
01197 }

Real32 & osg::TextureChunkBase::getShaderOffsetBias ( void   )  [inline]

Definition at line 1208 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTextureShader().

01209 {
01210     return _sfShaderOffsetBias.getValue();
01211 }

const Real32 & osg::TextureChunkBase::getShaderOffsetBias ( void   )  const [inline]

Definition at line 1215 of file OSGTextureChunkBase.inl.

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

01216 {
01217     return _sfShaderOffsetBias.getValue();
01218 }

GLenum & osg::TextureChunkBase::getShaderRGBADotProduct ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getShaderRGBADotProduct ( void   )  const [inline]

Definition at line 1236 of file OSGTextureChunkBase.inl.

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

01237 {
01238     return _sfShaderRGBADotProduct.getValue();
01239 }

UInt8 & osg::TextureChunkBase::getShaderCullModes ( void   )  [inline]

Definition at line 1250 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTextureShader().

01251 {
01252     return _sfShaderCullModes.getValue();
01253 }

const UInt8 & osg::TextureChunkBase::getShaderCullModes ( void   )  const [inline]

Definition at line 1257 of file OSGTextureChunkBase.inl.

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

01258 {
01259     return _sfShaderCullModes.getValue();
01260 }

Vec3f & osg::TextureChunkBase::getShaderConstEye ( void   )  [inline]

Definition at line 1271 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTextureShader().

01272 {
01273     return _sfShaderConstEye.getValue();
01274 }

const Vec3f & osg::TextureChunkBase::getShaderConstEye ( void   )  const [inline]

Definition at line 1278 of file OSGTextureChunkBase.inl.

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

01279 {
01280     return _sfShaderConstEye.getValue();
01281 }

Real32 & osg::TextureChunkBase::getLodBias ( void   )  [inline]

const Real32 & osg::TextureChunkBase::getLodBias ( void   )  const [inline]

Definition at line 1299 of file OSGTextureChunkBase.inl.

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

01300 {
01301     return _sfLodBias.getValue();
01302 }

GLenum & osg::TextureChunkBase::getTarget ( void   )  [inline]

const GLenum & osg::TextureChunkBase::getTarget ( void   )  const [inline]

Definition at line 1320 of file OSGTextureChunkBase.inl.

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

01321 {
01322     return _sfTarget.getValue();
01323 }

Int32 & osg::TextureChunkBase::getDirtyLeft ( void   )  [inline]

Definition at line 1334 of file OSGTextureChunkBase.inl.

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

01335 {
01336     return _sfDirtyLeft.getValue();
01337 }

const Int32 & osg::TextureChunkBase::getDirtyLeft ( void   )  const [inline]

Definition at line 1341 of file OSGTextureChunkBase.inl.

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

01342 {
01343     return _sfDirtyLeft.getValue();
01344 }

Int32 & osg::TextureChunkBase::getDirtyMinX ( void   )  [inline]

Definition at line 1355 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture().

01356 {
01357     return _sfDirtyMinX.getValue();
01358 }

const Int32 & osg::TextureChunkBase::getDirtyMinX ( void   )  const [inline]

Definition at line 1362 of file OSGTextureChunkBase.inl.

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

01363 {
01364     return _sfDirtyMinX.getValue();
01365 }

Int32 & osg::TextureChunkBase::getDirtyMaxX ( void   )  [inline]

Definition at line 1376 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture().

01377 {
01378     return _sfDirtyMaxX.getValue();
01379 }

const Int32 & osg::TextureChunkBase::getDirtyMaxX ( void   )  const [inline]

Definition at line 1383 of file OSGTextureChunkBase.inl.

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

01384 {
01385     return _sfDirtyMaxX.getValue();
01386 }

Int32 & osg::TextureChunkBase::getDirtyMinY ( void   )  [inline]

Definition at line 1397 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture().

01398 {
01399     return _sfDirtyMinY.getValue();
01400 }

const Int32 & osg::TextureChunkBase::getDirtyMinY ( void   )  const [inline]

Definition at line 1404 of file OSGTextureChunkBase.inl.

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

01405 {
01406     return _sfDirtyMinY.getValue();
01407 }

Int32 & osg::TextureChunkBase::getDirtyMaxY ( void   )  [inline]

Definition at line 1418 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture().

01419 {
01420     return _sfDirtyMaxY.getValue();
01421 }

const Int32 & osg::TextureChunkBase::getDirtyMaxY ( void   )  const [inline]

Definition at line 1425 of file OSGTextureChunkBase.inl.

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

01426 {
01427     return _sfDirtyMaxY.getValue();
01428 }

Int32 & osg::TextureChunkBase::getDirtyMinZ ( void   )  [inline]

Definition at line 1439 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture().

01440 {
01441     return _sfDirtyMinZ.getValue();
01442 }

const Int32 & osg::TextureChunkBase::getDirtyMinZ ( void   )  const [inline]

Definition at line 1446 of file OSGTextureChunkBase.inl.

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

01447 {
01448     return _sfDirtyMinZ.getValue();
01449 }

Int32 & osg::TextureChunkBase::getDirtyMaxZ ( void   )  [inline]

Definition at line 1460 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture().

01461 {
01462     return _sfDirtyMaxZ.getValue();
01463 }

const Int32 & osg::TextureChunkBase::getDirtyMaxZ ( void   )  const [inline]

Definition at line 1467 of file OSGTextureChunkBase.inl.

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

01468 {
01469     return _sfDirtyMaxZ.getValue();
01470 }

Real32 & osg::TextureChunkBase::getAnisotropy ( void   )  [inline]

Definition at line 1481 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture().

01482 {
01483     return _sfAnisotropy.getValue();
01484 }

const Real32 & osg::TextureChunkBase::getAnisotropy ( void   )  const [inline]

Definition at line 1488 of file OSGTextureChunkBase.inl.

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

01489 {
01490     return _sfAnisotropy.getValue();
01491 }

Color4f & osg::TextureChunkBase::getBorderColor ( void   )  [inline]

Definition at line 1502 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture().

01503 {
01504     return _sfBorderColor.getValue();
01505 }

const Color4f & osg::TextureChunkBase::getBorderColor ( void   )  const [inline]

Definition at line 1509 of file OSGTextureChunkBase.inl.

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

01510 {
01511     return _sfBorderColor.getValue();
01512 }

UInt32 & osg::TextureChunkBase::getBorderWidth ( void   )  [inline]

Definition at line 1523 of file OSGTextureChunkBase.inl.

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

Referenced by osg::TextureChunk::handleTexture().

01524 {
01525     return _sfBorderWidth.getValue();
01526 }

const UInt32 & osg::TextureChunkBase::getBorderWidth ( void   )  const [inline]

Definition at line 1530 of file OSGTextureChunkBase.inl.

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

01531 {
01532     return _sfBorderWidth.getValue();
01533 }

UInt32 & osg::TextureChunkBase::getNPOTMatrixScale ( void   )  [inline]

const UInt32 & osg::TextureChunkBase::getNPOTMatrixScale ( void   )  const [inline]

Definition at line 1551 of file OSGTextureChunkBase.inl.

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

01552 {
01553     return _sfNPOTMatrixScale.getValue();
01554 }

Real32 & osg::TextureChunkBase::getShaderOffsetMatrix ( const UInt32  index  )  [inline]

Definition at line 1566 of file OSGTextureChunkBase.inl.

References _mfShaderOffsetMatrix.

01567 {
01568     return _mfShaderOffsetMatrix[index];
01569 }

MFReal32 & osg::TextureChunkBase::getShaderOffsetMatrix ( void   )  [inline]

const MFReal32 & osg::TextureChunkBase::getShaderOffsetMatrix ( void   )  const [inline]

Definition at line 1580 of file OSGTextureChunkBase.inl.

References _mfShaderOffsetMatrix.

01581 {
01582     return _mfShaderOffsetMatrix;
01583 }

void osg::TextureChunkBase::setImage ( const ImagePtr value  )  [inline]

Definition at line 487 of file OSGTextureChunkBase.inl.

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

00488 {
00489     _sfImage.setValue(value);
00490 }

void osg::TextureChunkBase::setInternalFormat ( const GLenum &  value  )  [inline]

Definition at line 508 of file OSGTextureChunkBase.inl.

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

00509 {
00510     _sfInternalFormat.setValue(value);
00511 }

void osg::TextureChunkBase::setExternalFormat ( const GLenum &  value  )  [inline]

Definition at line 529 of file OSGTextureChunkBase.inl.

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

00530 {
00531     _sfExternalFormat.setValue(value);
00532 }

void osg::TextureChunkBase::setScale ( const bool &  value  )  [inline]

Definition at line 550 of file OSGTextureChunkBase.inl.

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

00551 {
00552     _sfScale.setValue(value);
00553 }

void osg::TextureChunkBase::setFrame ( const UInt32 value  )  [inline]

Definition at line 571 of file OSGTextureChunkBase.inl.

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

00572 {
00573     _sfFrame.setValue(value);
00574 }

void osg::TextureChunkBase::setMinFilter ( const GLenum &  value  )  [inline]

Definition at line 592 of file OSGTextureChunkBase.inl.

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

00593 {
00594     _sfMinFilter.setValue(value);
00595 }

void osg::TextureChunkBase::setMagFilter ( const GLenum &  value  )  [inline]

Definition at line 613 of file OSGTextureChunkBase.inl.

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

00614 {
00615     _sfMagFilter.setValue(value);
00616 }

void osg::TextureChunkBase::setWrapS ( const GLenum &  value  )  [inline]

Definition at line 634 of file OSGTextureChunkBase.inl.

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

00635 {
00636     _sfWrapS.setValue(value);
00637 }

void osg::TextureChunkBase::setWrapT ( const GLenum &  value  )  [inline]

Definition at line 655 of file OSGTextureChunkBase.inl.

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

00656 {
00657     _sfWrapT.setValue(value);
00658 }

void osg::TextureChunkBase::setWrapR ( const GLenum &  value  )  [inline]

Definition at line 676 of file OSGTextureChunkBase.inl.

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

00677 {
00678     _sfWrapR.setValue(value);
00679 }

void osg::TextureChunkBase::setEnvMode ( const GLenum &  value  )  [inline]

Definition at line 697 of file OSGTextureChunkBase.inl.

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

00698 {
00699     _sfEnvMode.setValue(value);
00700 }

void osg::TextureChunkBase::setEnvColor ( const Color4f value  )  [inline]

Definition at line 718 of file OSGTextureChunkBase.inl.

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

00719 {
00720     _sfEnvColor.setValue(value);
00721 }

void osg::TextureChunkBase::setEnvCombineRGB ( const GLenum &  value  )  [inline]

Definition at line 739 of file OSGTextureChunkBase.inl.

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

00740 {
00741     _sfEnvCombineRGB.setValue(value);
00742 }

void osg::TextureChunkBase::setEnvCombineAlpha ( const GLenum &  value  )  [inline]

Definition at line 760 of file OSGTextureChunkBase.inl.

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

00761 {
00762     _sfEnvCombineAlpha.setValue(value);
00763 }

void osg::TextureChunkBase::setEnvScaleRGB ( const Real32 value  )  [inline]

Definition at line 781 of file OSGTextureChunkBase.inl.

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

00782 {
00783     _sfEnvScaleRGB.setValue(value);
00784 }

void osg::TextureChunkBase::setEnvScaleAlpha ( const Real32 value  )  [inline]

Definition at line 802 of file OSGTextureChunkBase.inl.

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

00803 {
00804     _sfEnvScaleAlpha.setValue(value);
00805 }

void osg::TextureChunkBase::setEnvSource0RGB ( const GLenum &  value  )  [inline]

Definition at line 823 of file OSGTextureChunkBase.inl.

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

00824 {
00825     _sfEnvSource0RGB.setValue(value);
00826 }

void osg::TextureChunkBase::setEnvSource1RGB ( const GLenum &  value  )  [inline]

Definition at line 844 of file OSGTextureChunkBase.inl.

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

00845 {
00846     _sfEnvSource1RGB.setValue(value);
00847 }

void osg::TextureChunkBase::setEnvSource2RGB ( const GLenum &  value  )  [inline]

Definition at line 865 of file OSGTextureChunkBase.inl.

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

00866 {
00867     _sfEnvSource2RGB.setValue(value);
00868 }

void osg::TextureChunkBase::setEnvSource0Alpha ( const GLenum &  value  )  [inline]

Definition at line 886 of file OSGTextureChunkBase.inl.

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

00887 {
00888     _sfEnvSource0Alpha.setValue(value);
00889 }

void osg::TextureChunkBase::setEnvSource1Alpha ( const GLenum &  value  )  [inline]

Definition at line 907 of file OSGTextureChunkBase.inl.

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

00908 {
00909     _sfEnvSource1Alpha.setValue(value);
00910 }

void osg::TextureChunkBase::setEnvSource2Alpha ( const GLenum &  value  )  [inline]

Definition at line 928 of file OSGTextureChunkBase.inl.

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

00929 {
00930     _sfEnvSource2Alpha.setValue(value);
00931 }

void osg::TextureChunkBase::setEnvOperand0RGB ( const GLenum &  value  )  [inline]

Definition at line 949 of file OSGTextureChunkBase.inl.

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

00950 {
00951     _sfEnvOperand0RGB.setValue(value);
00952 }

void osg::TextureChunkBase::setEnvOperand1RGB ( const GLenum &  value  )  [inline]

Definition at line 970 of file OSGTextureChunkBase.inl.

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

00971 {
00972     _sfEnvOperand1RGB.setValue(value);
00973 }

void osg::TextureChunkBase::setEnvOperand2RGB ( const GLenum &  value  )  [inline]

Definition at line 991 of file OSGTextureChunkBase.inl.

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

00992 {
00993     _sfEnvOperand2RGB.setValue(value);
00994 }

void osg::TextureChunkBase::setEnvOperand0Alpha ( const GLenum &  value  )  [inline]

Definition at line 1012 of file OSGTextureChunkBase.inl.

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

01013 {
01014     _sfEnvOperand0Alpha.setValue(value);
01015 }

void osg::TextureChunkBase::setEnvOperand1Alpha ( const GLenum &  value  )  [inline]

Definition at line 1033 of file OSGTextureChunkBase.inl.

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

01034 {
01035     _sfEnvOperand1Alpha.setValue(value);
01036 }

void osg::TextureChunkBase::setEnvOperand2Alpha ( const GLenum &  value  )  [inline]

Definition at line 1054 of file OSGTextureChunkBase.inl.

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

01055 {
01056     _sfEnvOperand2Alpha.setValue(value);
01057 }

void osg::TextureChunkBase::setGLId ( const GLenum &  value  )  [inline]

void osg::TextureChunkBase::setIgnoreGLForAspect ( const Int32 value  )  [inline]

Definition at line 1096 of file OSGTextureChunkBase.inl.

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

01097 {
01098     _sfIgnoreGLForAspect.setValue(value);
01099 }

void osg::TextureChunkBase::setPointSprite ( const bool &  value  )  [inline]

Definition at line 1117 of file OSGTextureChunkBase.inl.

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

01118 {
01119     _sfPointSprite.setValue(value);
01120 }

void osg::TextureChunkBase::setPriority ( const Real32 value  )  [inline]

Definition at line 1138 of file OSGTextureChunkBase.inl.

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

01139 {
01140     _sfPriority.setValue(value);
01141 }

void osg::TextureChunkBase::setShaderOperation ( const GLenum &  value  )  [inline]

Definition at line 1159 of file OSGTextureChunkBase.inl.

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

01160 {
01161     _sfShaderOperation.setValue(value);
01162 }

void osg::TextureChunkBase::setShaderInput ( const GLenum &  value  )  [inline]

Definition at line 1180 of file OSGTextureChunkBase.inl.

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

01181 {
01182     _sfShaderInput.setValue(value);
01183 }

void osg::TextureChunkBase::setShaderOffsetScale ( const Real32 value  )  [inline]

Definition at line 1201 of file OSGTextureChunkBase.inl.

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

01202 {
01203     _sfShaderOffsetScale.setValue(value);
01204 }

void osg::TextureChunkBase::setShaderOffsetBias ( const Real32 value  )  [inline]

Definition at line 1222 of file OSGTextureChunkBase.inl.

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

01223 {
01224     _sfShaderOffsetBias.setValue(value);
01225 }

void osg::TextureChunkBase::setShaderRGBADotProduct ( const GLenum &  value  )  [inline]

void osg::TextureChunkBase::setShaderCullModes ( const UInt8 value  )  [inline]

Definition at line 1264 of file OSGTextureChunkBase.inl.

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

01265 {
01266     _sfShaderCullModes.setValue(value);
01267 }

void osg::TextureChunkBase::setShaderConstEye ( const Vec3f value  )  [inline]

Definition at line 1285 of file OSGTextureChunkBase.inl.

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

01286 {
01287     _sfShaderConstEye.setValue(value);
01288 }

void osg::TextureChunkBase::setLodBias ( const Real32 value  )  [inline]

Definition at line 1306 of file OSGTextureChunkBase.inl.

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

01307 {
01308     _sfLodBias.setValue(value);
01309 }

void osg::TextureChunkBase::setTarget ( const GLenum &  value  )  [inline]

Definition at line 1327 of file OSGTextureChunkBase.inl.

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

01328 {
01329     _sfTarget.setValue(value);
01330 }

void osg::TextureChunkBase::setDirtyLeft ( const Int32 value  )  [inline]

Definition at line 1348 of file OSGTextureChunkBase.inl.

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

01349 {
01350     _sfDirtyLeft.setValue(value);
01351 }

void osg::TextureChunkBase::setDirtyMinX ( const Int32 value  )  [inline]

Definition at line 1369 of file OSGTextureChunkBase.inl.

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

01370 {
01371     _sfDirtyMinX.setValue(value);
01372 }

void osg::TextureChunkBase::setDirtyMaxX ( const Int32 value  )  [inline]

Definition at line 1390 of file OSGTextureChunkBase.inl.

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

01391 {
01392     _sfDirtyMaxX.setValue(value);
01393 }

void osg::TextureChunkBase::setDirtyMinY ( const Int32 value  )  [inline]

Definition at line 1411 of file OSGTextureChunkBase.inl.

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

01412 {
01413     _sfDirtyMinY.setValue(value);
01414 }

void osg::TextureChunkBase::setDirtyMaxY ( const Int32 value  )  [inline]

Definition at line 1432 of file OSGTextureChunkBase.inl.

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

01433 {
01434     _sfDirtyMaxY.setValue(value);
01435 }

void osg::TextureChunkBase::setDirtyMinZ ( const Int32 value  )  [inline]

Definition at line 1453 of file OSGTextureChunkBase.inl.

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

01454 {
01455     _sfDirtyMinZ.setValue(value);
01456 }

void osg::TextureChunkBase::setDirtyMaxZ ( const Int32 value  )  [inline]

Definition at line 1474 of file OSGTextureChunkBase.inl.

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

01475 {
01476     _sfDirtyMaxZ.setValue(value);
01477 }

void osg::TextureChunkBase::setAnisotropy ( const Real32 value  )  [inline]

Definition at line 1495 of file OSGTextureChunkBase.inl.

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

01496 {
01497     _sfAnisotropy.setValue(value);
01498 }

void osg::TextureChunkBase::setBorderColor ( const Color4f value  )  [inline]

Definition at line 1516 of file OSGTextureChunkBase.inl.

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

01517 {
01518     _sfBorderColor.setValue(value);
01519 }

void osg::TextureChunkBase::setBorderWidth ( const UInt32 value  )  [inline]

Definition at line 1537 of file OSGTextureChunkBase.inl.

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

01538 {
01539     _sfBorderWidth.setValue(value);
01540 }

void osg::TextureChunkBase::setNPOTMatrixScale ( const UInt32 value  )  [inline]

Definition at line 1558 of file OSGTextureChunkBase.inl.

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

01559 {
01560     _sfNPOTMatrixScale.setValue(value);
01561 }

UInt32 osg::TextureChunkBase::getBinSize ( const BitVector whichField  )  [virtual]

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 892 of file OSGTextureChunkBase.cpp.

References _mfShaderOffsetMatrix, _sfAnisotropy, _sfBorderColor, _sfBorderWidth, _sfDirtyLeft, _sfDirtyMaxX, _sfDirtyMaxY, _sfDirtyMaxZ, _sfDirtyMinX, _sfDirtyMinY, _sfDirtyMinZ, _sfEnvColor, _sfEnvCombineAlpha, _sfEnvCombineRGB, _sfEnvMode, _sfEnvOperand0Alpha, _sfEnvOperand0RGB, _sfEnvOperand1Alpha, _sfEnvOperand1RGB, _sfEnvOperand2Alpha, _sfEnvOperand2RGB, _sfEnvScaleAlpha, _sfEnvScaleRGB, _sfEnvSource0Alpha, _sfEnvSource0RGB, _sfEnvSource1Alpha, _sfEnvSource1RGB, _sfEnvSource2Alpha, _sfEnvSource2RGB, _sfExternalFormat, _sfFrame, _sfGLId, _sfIgnoreGLForAspect, _sfImage, _sfInternalFormat, _sfLodBias, _sfMagFilter, _sfMinFilter, _sfNPOTMatrixScale, _sfPointSprite, _sfPriority, _sfScale, _sfShaderConstEye, _sfShaderCullModes, _sfShaderInput, _sfShaderOffsetBias, _sfShaderOffsetScale, _sfShaderOperation, _sfShaderRGBADotProduct, _sfTarget, _sfWrapR, _sfWrapS, _sfWrapT, AnisotropyFieldMask, BorderColorFieldMask, BorderWidthFieldMask, DirtyLeftFieldMask, DirtyMaxXFieldMask, DirtyMaxYFieldMask, DirtyMaxZFieldMask, DirtyMinXFieldMask, DirtyMinYFieldMask, DirtyMinZFieldMask, EnvColorFieldMask, EnvCombineAlphaFieldMask, EnvCombineRGBFieldMask, EnvModeFieldMask, EnvOperand0AlphaFieldMask, EnvOperand0RGBFieldMask, EnvOperand1AlphaFieldMask, EnvOperand1RGBFieldMask, EnvOperand2AlphaFieldMask, EnvOperand2RGBFieldMask, EnvScaleAlphaFieldMask, EnvScaleRGBFieldMask, EnvSource0AlphaFieldMask, EnvSource0RGBFieldMask, EnvSource1AlphaFieldMask, EnvSource1RGBFieldMask, EnvSource2AlphaFieldMask, EnvSource2RGBFieldMask, ExternalFormatFieldMask, FrameFieldMask, osg::MField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::SField< FieldTypeT, fieldNameSpace >::getBinSize(), osg::StateChunkBase::getBinSize(), GLIdFieldMask, IgnoreGLForAspectFieldMask, ImageFieldMask, InternalFormatFieldMask, LodBiasFieldMask, MagFilterFieldMask, MinFilterFieldMask, osg::FieldBits::NoField, NPOTMatrixScaleFieldMask, PointSpriteFieldMask, PriorityFieldMask, ScaleFieldMask, ShaderConstEyeFieldMask, ShaderCullModesFieldMask, ShaderInputFieldMask, ShaderOffsetBiasFieldMask, ShaderOffsetMatrixFieldMask, ShaderOffsetScaleFieldMask, ShaderOperationFieldMask, ShaderRGBADotProductFieldMask, TargetFieldMask, WrapRFieldMask, WrapSFieldMask, and WrapTFieldMask.

Referenced by osg::CubeTextureChunkBase::getBinSize().

00893 {
00894     UInt32 returnValue = Inherited::getBinSize(whichField);
00895 
00896     if(FieldBits::NoField != (ImageFieldMask & whichField))
00897     {
00898         returnValue += _sfImage.getBinSize();
00899     }
00900 
00901     if(FieldBits::NoField != (InternalFormatFieldMask & whichField))
00902     {
00903         returnValue += _sfInternalFormat.getBinSize();
00904     }
00905 
00906     if(FieldBits::NoField != (ExternalFormatFieldMask & whichField))
00907     {
00908         returnValue += _sfExternalFormat.getBinSize();
00909     }
00910 
00911     if(FieldBits::NoField != (ScaleFieldMask & whichField))
00912     {
00913         returnValue += _sfScale.getBinSize();
00914     }
00915 
00916     if(FieldBits::NoField != (FrameFieldMask & whichField))
00917     {
00918         returnValue += _sfFrame.getBinSize();
00919     }
00920 
00921     if(FieldBits::NoField != (MinFilterFieldMask & whichField))
00922     {
00923         returnValue += _sfMinFilter.getBinSize();
00924     }
00925 
00926     if(FieldBits::NoField != (MagFilterFieldMask & whichField))
00927     {
00928         returnValue += _sfMagFilter.getBinSize();
00929     }
00930 
00931     if(FieldBits::NoField != (WrapSFieldMask & whichField))
00932     {
00933         returnValue += _sfWrapS.getBinSize();
00934     }
00935 
00936     if(FieldBits::NoField != (WrapTFieldMask & whichField))
00937     {
00938         returnValue += _sfWrapT.getBinSize();
00939     }
00940 
00941     if(FieldBits::NoField != (WrapRFieldMask & whichField))
00942     {
00943         returnValue += _sfWrapR.getBinSize();
00944     }
00945 
00946     if(FieldBits::NoField != (EnvModeFieldMask & whichField))
00947     {
00948         returnValue += _sfEnvMode.getBinSize();
00949     }
00950 
00951     if(FieldBits::NoField != (EnvColorFieldMask & whichField))
00952     {
00953         returnValue += _sfEnvColor.getBinSize();
00954     }
00955 
00956     if(FieldBits::NoField != (EnvCombineRGBFieldMask & whichField))
00957     {
00958         returnValue += _sfEnvCombineRGB.getBinSize();
00959     }
00960 
00961     if(FieldBits::NoField != (EnvCombineAlphaFieldMask & whichField))
00962     {
00963         returnValue += _sfEnvCombineAlpha.getBinSize();
00964     }
00965 
00966     if(FieldBits::NoField != (EnvScaleRGBFieldMask & whichField))
00967     {
00968         returnValue += _sfEnvScaleRGB.getBinSize();
00969     }
00970 
00971     if(FieldBits::NoField != (EnvScaleAlphaFieldMask & whichField))
00972     {
00973         returnValue += _sfEnvScaleAlpha.getBinSize();
00974     }
00975 
00976     if(FieldBits::NoField != (EnvSource0RGBFieldMask & whichField))
00977     {
00978         returnValue += _sfEnvSource0RGB.getBinSize();
00979     }
00980 
00981     if(FieldBits::NoField != (EnvSource1RGBFieldMask & whichField))
00982     {
00983         returnValue += _sfEnvSource1RGB.getBinSize();
00984     }
00985 
00986     if(FieldBits::NoField != (EnvSource2RGBFieldMask & whichField))
00987     {
00988         returnValue += _sfEnvSource2RGB.getBinSize();
00989     }
00990 
00991     if(FieldBits::NoField != (EnvSource0AlphaFieldMask & whichField))
00992     {
00993         returnValue += _sfEnvSource0Alpha.getBinSize();
00994     }
00995 
00996     if(FieldBits::NoField != (EnvSource1AlphaFieldMask & whichField))
00997     {
00998         returnValue += _sfEnvSource1Alpha.getBinSize();
00999     }
01000 
01001     if(FieldBits::NoField != (EnvSource2AlphaFieldMask & whichField))
01002     {
01003         returnValue += _sfEnvSource2Alpha.getBinSize();
01004     }
01005 
01006     if(FieldBits::NoField != (EnvOperand0RGBFieldMask & whichField))
01007     {
01008         returnValue += _sfEnvOperand0RGB.getBinSize();
01009     }
01010 
01011     if(FieldBits::NoField != (EnvOperand1RGBFieldMask & whichField))
01012     {
01013         returnValue += _sfEnvOperand1RGB.getBinSize();
01014     }
01015 
01016     if(FieldBits::NoField != (EnvOperand2RGBFieldMask & whichField))
01017     {
01018         returnValue += _sfEnvOperand2RGB.getBinSize();
01019     }
01020 
01021     if(FieldBits::NoField != (EnvOperand0AlphaFieldMask & whichField))
01022     {
01023         returnValue += _sfEnvOperand0Alpha.getBinSize();
01024     }
01025 
01026     if(FieldBits::NoField != (EnvOperand1AlphaFieldMask & whichField))
01027     {
01028         returnValue += _sfEnvOperand1Alpha.getBinSize();
01029     }
01030 
01031     if(FieldBits::NoField != (EnvOperand2AlphaFieldMask & whichField))
01032     {
01033         returnValue += _sfEnvOperand2Alpha.getBinSize();
01034     }
01035 
01036     if(FieldBits::NoField != (GLIdFieldMask & whichField))
01037     {
01038         returnValue += _sfGLId.getBinSize();
01039     }
01040 
01041     if(FieldBits::NoField != (IgnoreGLForAspectFieldMask & whichField))
01042     {
01043         returnValue += _sfIgnoreGLForAspect.getBinSize();
01044     }
01045 
01046     if(FieldBits::NoField != (PointSpriteFieldMask & whichField))
01047     {
01048         returnValue += _sfPointSprite.getBinSize();
01049     }
01050 
01051     if(FieldBits::NoField != (PriorityFieldMask & whichField))
01052     {
01053         returnValue += _sfPriority.getBinSize();
01054     }
01055 
01056     if(FieldBits::NoField != (ShaderOperationFieldMask & whichField))
01057     {
01058         returnValue += _sfShaderOperation.getBinSize();
01059     }
01060 
01061     if(FieldBits::NoField != (ShaderInputFieldMask & whichField))
01062     {
01063         returnValue += _sfShaderInput.getBinSize();
01064     }
01065 
01066     if(FieldBits::NoField != (ShaderOffsetMatrixFieldMask & whichField))
01067     {
01068         returnValue += _mfShaderOffsetMatrix.getBinSize();
01069     }
01070 
01071     if(FieldBits::NoField != (ShaderOffsetScaleFieldMask & whichField))
01072     {
01073         returnValue += _sfShaderOffsetScale.getBinSize();
01074     }
01075 
01076     if(FieldBits::NoField != (ShaderOffsetBiasFieldMask & whichField))
01077     {
01078         returnValue += _sfShaderOffsetBias.getBinSize();
01079     }
01080 
01081     if(FieldBits::NoField != (ShaderRGBADotProductFieldMask & whichField))
01082     {
01083         returnValue += _sfShaderRGBADotProduct.getBinSize();
01084     }
01085 
01086     if(FieldBits::NoField != (ShaderCullModesFieldMask & whichField))
01087     {
01088         returnValue += _sfShaderCullModes.getBinSize();
01089     }
01090 
01091     if(FieldBits::NoField != (ShaderConstEyeFieldMask & whichField))
01092     {
01093         returnValue += _sfShaderConstEye.getBinSize();
01094     }
01095 
01096     if(FieldBits::NoField != (LodBiasFieldMask & whichField))
01097     {
01098         returnValue += _sfLodBias.getBinSize();
01099     }
01100 
01101     if(FieldBits::NoField != (TargetFieldMask & whichField))
01102     {
01103         returnValue += _sfTarget.getBinSize();
01104     }
01105 
01106     if(FieldBits::NoField != (DirtyLeftFieldMask & whichField))
01107     {
01108         returnValue += _sfDirtyLeft.getBinSize();
01109     }
01110 
01111     if(FieldBits::NoField != (DirtyMinXFieldMask & whichField))
01112     {
01113         returnValue += _sfDirtyMinX.getBinSize();
01114     }
01115 
01116     if(FieldBits::NoField != (DirtyMaxXFieldMask & whichField))
01117     {
01118         returnValue += _sfDirtyMaxX.getBinSize();
01119     }
01120 
01121     if(FieldBits::NoField != (DirtyMinYFieldMask & whichField))
01122     {
01123         returnValue += _sfDirtyMinY.getBinSize();
01124     }
01125 
01126     if(FieldBits::NoField != (DirtyMaxYFieldMask & whichField))
01127     {
01128         returnValue += _sfDirtyMaxY.getBinSize();
01129     }
01130 
01131     if(FieldBits::NoField != (DirtyMinZFieldMask & whichField))
01132     {
01133         returnValue += _sfDirtyMinZ.getBinSize();
01134     }
01135 
01136     if(FieldBits::NoField != (DirtyMaxZFieldMask & whichField))
01137     {
01138         returnValue += _sfDirtyMaxZ.getBinSize();
01139     }
01140 
01141     if(FieldBits::NoField != (AnisotropyFieldMask & whichField))
01142     {
01143         returnValue += _sfAnisotropy.getBinSize();
01144     }
01145 
01146     if(FieldBits::NoField != (BorderColorFieldMask & whichField))
01147     {
01148         returnValue += _sfBorderColor.getBinSize();
01149     }
01150 
01151     if(FieldBits::NoField != (BorderWidthFieldMask & whichField))
01152     {
01153         returnValue += _sfBorderWidth.getBinSize();
01154     }
01155 
01156     if(FieldBits::NoField != (NPOTMatrixScaleFieldMask & whichField))
01157     {
01158         returnValue += _sfNPOTMatrixScale.getBinSize();
01159     }
01160 
01161 
01162     return returnValue;
01163 }

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

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 1165 of file OSGTextureChunkBase.cpp.

References _mfShaderOffsetMatrix, _sfAnisotropy, _sfBorderColor, _sfBorderWidth, _sfDirtyLeft, _sfDirtyMaxX, _sfDirtyMaxY, _sfDirtyMaxZ, _sfDirtyMinX, _sfDirtyMinY, _sfDirtyMinZ, _sfEnvColor, _sfEnvCombineAlpha, _sfEnvCombineRGB, _sfEnvMode, _sfEnvOperand0Alpha, _sfEnvOperand0RGB, _sfEnvOperand1Alpha, _sfEnvOperand1RGB, _sfEnvOperand2Alpha, _sfEnvOperand2RGB, _sfEnvScaleAlpha, _sfEnvScaleRGB, _sfEnvSource0Alpha, _sfEnvSource0RGB, _sfEnvSource1Alpha, _sfEnvSource1RGB, _sfEnvSource2Alpha, _sfEnvSource2RGB, _sfExternalFormat, _sfFrame, _sfGLId, _sfIgnoreGLForAspect, _sfImage, _sfInternalFormat, _sfLodBias, _sfMagFilter, _sfMinFilter, _sfNPOTMatrixScale, _sfPointSprite, _sfPriority, _sfScale, _sfShaderConstEye, _sfShaderCullModes, _sfShaderInput, _sfShaderOffsetBias, _sfShaderOffsetScale, _sfShaderOperation, _sfShaderRGBADotProduct, _sfTarget, _sfWrapR, _sfWrapS, _sfWrapT, AnisotropyFieldMask, BorderColorFieldMask, BorderWidthFieldMask, osg::MField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::SField< FieldTypeT, fieldNameSpace >::copyToBin(), osg::StateChunkBase::copyToBin(), DirtyLeftFieldMask, DirtyMaxXFieldMask, DirtyMaxYFieldMask, DirtyMaxZFieldMask, DirtyMinXFieldMask, DirtyMinYFieldMask, DirtyMinZFieldMask, EnvColorFieldMask, EnvCombineAlphaFieldMask, EnvCombineRGBFieldMask, EnvModeFieldMask, EnvOperand0AlphaFieldMask, EnvOperand0RGBFieldMask, EnvOperand1AlphaFieldMask, EnvOperand1RGBFieldMask, EnvOperand2AlphaFieldMask, EnvOperand2RGBFieldMask, EnvScaleAlphaFieldMask, EnvScaleRGBFieldMask, EnvSource0AlphaFieldMask, EnvSource0RGBFieldMask, EnvSource1AlphaFieldMask, EnvSource1RGBFieldMask, EnvSource2AlphaFieldMask, EnvSource2RGBFieldMask, ExternalFormatFieldMask, FrameFieldMask, GLIdFieldMask, IgnoreGLForAspectFieldMask, ImageFieldMask, InternalFormatFieldMask, LodBiasFieldMask, MagFilterFieldMask, MinFilterFieldMask, osg::FieldBits::NoField, NPOTMatrixScaleFieldMask, PointSpriteFieldMask, PriorityFieldMask, ScaleFieldMask, ShaderConstEyeFieldMask, ShaderCullModesFieldMask, ShaderInputFieldMask, ShaderOffsetBiasFieldMask, ShaderOffsetMatrixFieldMask, ShaderOffsetScaleFieldMask, ShaderOperationFieldMask, ShaderRGBADotProductFieldMask, TargetFieldMask, WrapRFieldMask, WrapSFieldMask, and WrapTFieldMask.

Referenced by osg::CubeTextureChunkBase::copyToBin().

01167 {
01168     Inherited::copyToBin(pMem, whichField);
01169 
01170     if(FieldBits::NoField != (ImageFieldMask & whichField))
01171     {
01172         _sfImage.copyToBin(pMem);
01173     }
01174 
01175     if(FieldBits::NoField != (InternalFormatFieldMask & whichField))
01176     {
01177         _sfInternalFormat.copyToBin(pMem);
01178     }
01179 
01180     if(FieldBits::NoField != (ExternalFormatFieldMask & whichField))
01181     {
01182         _sfExternalFormat.copyToBin(pMem);
01183     }
01184 
01185     if(FieldBits::NoField != (ScaleFieldMask & whichField))
01186     {
01187         _sfScale.copyToBin(pMem);
01188     }
01189 
01190     if(FieldBits::NoField != (FrameFieldMask & whichField))
01191     {
01192         _sfFrame.copyToBin(pMem);
01193     }
01194 
01195     if(FieldBits::NoField != (MinFilterFieldMask & whichField))
01196     {
01197         _sfMinFilter.copyToBin(pMem);
01198     }
01199 
01200     if(FieldBits::NoField != (MagFilterFieldMask & whichField))
01201     {
01202         _sfMagFilter.copyToBin(pMem);
01203     }
01204 
01205     if(FieldBits::NoField != (WrapSFieldMask & whichField))
01206     {
01207         _sfWrapS.copyToBin(pMem);
01208     }
01209 
01210     if(FieldBits::NoField != (WrapTFieldMask & whichField))
01211     {
01212         _sfWrapT.copyToBin(pMem);
01213     }
01214 
01215     if(FieldBits::NoField != (WrapRFieldMask & whichField))
01216     {
01217         _sfWrapR.copyToBin(pMem);
01218     }
01219 
01220     if(FieldBits::NoField != (EnvModeFieldMask & whichField))
01221     {
01222         _sfEnvMode.copyToBin(pMem);
01223     }
01224 
01225     if(FieldBits::NoField != (EnvColorFieldMask & whichField))
01226     {
01227         _sfEnvColor.copyToBin(pMem);
01228     }
01229 
01230     if(FieldBits::NoField != (EnvCombineRGBFieldMask & whichField))
01231     {
01232         _sfEnvCombineRGB.copyToBin(pMem);
01233     }
01234 
01235     if(FieldBits::NoField != (EnvCombineAlphaFieldMask & whichField))
01236     {
01237         _sfEnvCombineAlpha.copyToBin(pMem);
01238     }
01239 
01240     if(FieldBits::NoField != (EnvScaleRGBFieldMask & whichField))
01241     {
01242         _sfEnvScaleRGB.copyToBin(pMem);
01243     }
01244 
01245     if(FieldBits::NoField != (EnvScaleAlphaFieldMask & whichField))
01246     {
01247         _sfEnvScaleAlpha.copyToBin(pMem);
01248     }
01249 
01250     if(FieldBits::NoField != (EnvSource0RGBFieldMask & whichField))
01251     {
01252         _sfEnvSource0RGB.copyToBin(pMem);
01253     }
01254 
01255     if(FieldBits::NoField != (EnvSource1RGBFieldMask & whichField))
01256     {
01257         _sfEnvSource1RGB.copyToBin(pMem);
01258     }
01259 
01260     if(FieldBits::NoField != (EnvSource2RGBFieldMask & whichField))
01261     {
01262         _sfEnvSource2RGB.copyToBin(pMem);
01263     }
01264 
01265     if(FieldBits::NoField != (EnvSource0AlphaFieldMask & whichField))
01266     {
01267         _sfEnvSource0Alpha.copyToBin(pMem);
01268     }
01269 
01270     if(FieldBits::NoField != (EnvSource1AlphaFieldMask & whichField))
01271     {
01272         _sfEnvSource1Alpha.copyToBin(pMem);
01273     }
01274 
01275     if(FieldBits::NoField != (EnvSource2AlphaFieldMask & whichField))
01276     {
01277         _sfEnvSource2Alpha.copyToBin(pMem);
01278     }
01279 
01280     if(FieldBits::NoField != (EnvOperand0RGBFieldMask & whichField))
01281     {
01282         _sfEnvOperand0RGB.copyToBin(pMem);
01283     }
01284 
01285     if(FieldBits::NoField != (EnvOperand1RGBFieldMask & whichField))
01286     {
01287         _sfEnvOperand1RGB.copyToBin(pMem);
01288     }
01289 
01290     if(FieldBits::NoField != (EnvOperand2RGBFieldMask & whichField))
01291     {
01292         _sfEnvOperand2RGB.copyToBin(pMem);
01293     }
01294 
01295     if(FieldBits::NoField != (EnvOperand0AlphaFieldMask & whichField))
01296     {
01297         _sfEnvOperand0Alpha.copyToBin(pMem);
01298     }
01299 
01300     if(FieldBits::NoField != (EnvOperand1AlphaFieldMask & whichField))
01301     {
01302         _sfEnvOperand1Alpha.copyToBin(pMem);
01303     }
01304 
01305     if(FieldBits::NoField != (EnvOperand2AlphaFieldMask & whichField))
01306     {
01307         _sfEnvOperand2Alpha.copyToBin(pMem);
01308     }
01309 
01310     if(FieldBits::NoField != (GLIdFieldMask & whichField))
01311     {
01312         _sfGLId.copyToBin(pMem);
01313     }
01314 
01315     if(FieldBits::NoField != (IgnoreGLForAspectFieldMask & whichField))
01316     {
01317         _sfIgnoreGLForAspect.copyToBin(pMem);
01318     }
01319 
01320     if(FieldBits::NoField != (PointSpriteFieldMask & whichField))
01321     {
01322         _sfPointSprite.copyToBin(pMem);
01323     }
01324 
01325     if(FieldBits::NoField != (PriorityFieldMask & whichField))
01326     {
01327         _sfPriority.copyToBin(pMem);
01328     }
01329 
01330     if(FieldBits::NoField != (ShaderOperationFieldMask & whichField))
01331     {
01332         _sfShaderOperation.copyToBin(pMem);
01333     }
01334 
01335     if(FieldBits::NoField != (ShaderInputFieldMask & whichField))
01336     {
01337         _sfShaderInput.copyToBin(pMem);
01338     }
01339 
01340     if(FieldBits::NoField != (ShaderOffsetMatrixFieldMask & whichField))
01341     {
01342         _mfShaderOffsetMatrix.copyToBin(pMem);
01343     }
01344 
01345     if(FieldBits::NoField != (ShaderOffsetScaleFieldMask & whichField))
01346     {
01347         _sfShaderOffsetScale.copyToBin(pMem);
01348     }
01349 
01350     if(FieldBits::NoField != (ShaderOffsetBiasFieldMask & whichField))
01351     {
01352         _sfShaderOffsetBias.copyToBin(pMem);
01353     }
01354 
01355     if(FieldBits::NoField != (ShaderRGBADotProductFieldMask & whichField))
01356     {
01357         _sfShaderRGBADotProduct.copyToBin(pMem);
01358     }
01359 
01360     if(FieldBits::NoField != (ShaderCullModesFieldMask & whichField))
01361     {
01362         _sfShaderCullModes.copyToBin(pMem);
01363     }
01364 
01365     if(FieldBits::NoField != (ShaderConstEyeFieldMask & whichField))
01366     {
01367         _sfShaderConstEye.copyToBin(pMem);
01368     }
01369 
01370     if(FieldBits::NoField != (LodBiasFieldMask & whichField))
01371     {
01372         _sfLodBias.copyToBin(pMem);
01373     }
01374 
01375     if(FieldBits::NoField != (TargetFieldMask & whichField))
01376     {
01377         _sfTarget.copyToBin(pMem);
01378     }
01379 
01380     if(FieldBits::NoField != (DirtyLeftFieldMask & whichField))
01381     {
01382         _sfDirtyLeft.copyToBin(pMem);
01383     }
01384 
01385     if(FieldBits::NoField != (DirtyMinXFieldMask & whichField))
01386     {
01387         _sfDirtyMinX.copyToBin(pMem);
01388     }
01389 
01390     if(FieldBits::NoField != (DirtyMaxXFieldMask & whichField))
01391     {
01392         _sfDirtyMaxX.copyToBin(pMem);
01393     }
01394 
01395     if(FieldBits::NoField != (DirtyMinYFieldMask & whichField))
01396     {
01397         _sfDirtyMinY.copyToBin(pMem);
01398     }
01399 
01400     if(FieldBits::NoField != (DirtyMaxYFieldMask & whichField))
01401     {
01402         _sfDirtyMaxY.copyToBin(pMem);
01403     }
01404 
01405     if(FieldBits::NoField != (DirtyMinZFieldMask & whichField))
01406     {
01407         _sfDirtyMinZ.copyToBin(pMem);
01408     }
01409 
01410     if(FieldBits::NoField != (DirtyMaxZFieldMask & whichField))
01411     {
01412         _sfDirtyMaxZ.copyToBin(pMem);
01413     }
01414 
01415     if(FieldBits::NoField != (AnisotropyFieldMask & whichField))
01416     {
01417         _sfAnisotropy.copyToBin(pMem);
01418     }
01419 
01420     if(FieldBits::NoField != (BorderColorFieldMask & whichField))
01421     {
01422         _sfBorderColor.copyToBin(pMem);
01423     }
01424 
01425     if(FieldBits::NoField != (BorderWidthFieldMask & whichField))
01426     {
01427         _sfBorderWidth.copyToBin(pMem);
01428     }
01429 
01430     if(FieldBits::NoField != (NPOTMatrixScaleFieldMask & whichField))
01431     {
01432         _sfNPOTMatrixScale.copyToBin(pMem);
01433     }
01434 
01435 
01436 }

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

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 1438 of file OSGTextureChunkBase.cpp.

References _mfShaderOffsetMatrix, _sfAnisotropy, _sfBorderColor, _sfBorderWidth, _sfDirtyLeft, _sfDirtyMaxX, _sfDirtyMaxY, _sfDirtyMaxZ, _sfDirtyMinX, _sfDirtyMinY, _sfDirtyMinZ, _sfEnvColor, _sfEnvCombineAlpha, _sfEnvCombineRGB, _sfEnvMode, _sfEnvOperand0Alpha, _sfEnvOperand0RGB, _sfEnvOperand1Alpha, _sfEnvOperand1RGB, _sfEnvOperand2Alpha, _sfEnvOperand2RGB, _sfEnvScaleAlpha, _sfEnvScaleRGB, _sfEnvSource0Alpha, _sfEnvSource0RGB, _sfEnvSource1Alpha, _sfEnvSource1RGB, _sfEnvSource2Alpha, _sfEnvSource2RGB, _sfExternalFormat, _sfFrame, _sfGLId, _sfIgnoreGLForAspect, _sfImage, _sfInternalFormat, _sfLodBias, _sfMagFilter, _sfMinFilter, _sfNPOTMatrixScale, _sfPointSprite, _sfPriority, _sfScale, _sfShaderConstEye, _sfShaderCullModes, _sfShaderInput, _sfShaderOffsetBias, _sfShaderOffsetScale, _sfShaderOperation, _sfShaderRGBADotProduct, _sfTarget, _sfWrapR, _sfWrapS, _sfWrapT, AnisotropyFieldMask, BorderColorFieldMask, BorderWidthFieldMask, osg::MField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::SField< FieldTypeT, fieldNameSpace >::copyFromBin(), osg::StateChunkBase::copyFromBin(), DirtyLeftFieldMask, DirtyMaxXFieldMask, DirtyMaxYFieldMask, DirtyMaxZFieldMask, DirtyMinXFieldMask, DirtyMinYFieldMask, DirtyMinZFieldMask, EnvColorFieldMask, EnvCombineAlphaFieldMask, EnvCombineRGBFieldMask, EnvModeFieldMask, EnvOperand0AlphaFieldMask, EnvOperand0RGBFieldMask, EnvOperand1AlphaFieldMask, EnvOperand1RGBFieldMask, EnvOperand2AlphaFieldMask, EnvOperand2RGBFieldMask, EnvScaleAlphaFieldMask, EnvScaleRGBFieldMask, EnvSource0AlphaFieldMask, EnvSource0RGBFieldMask, EnvSource1AlphaFieldMask, EnvSource1RGBFieldMask, EnvSource2AlphaFieldMask, EnvSource2RGBFieldMask, ExternalFormatFieldMask, FrameFieldMask, GLIdFieldMask, IgnoreGLForAspectFieldMask, ImageFieldMask, InternalFormatFieldMask, LodBiasFieldMask, MagFilterFieldMask, MinFilterFieldMask, osg::FieldBits::NoField, NPOTMatrixScaleFieldMask, PointSpriteFieldMask, PriorityFieldMask, ScaleFieldMask, ShaderConstEyeFieldMask, ShaderCullModesFieldMask, ShaderInputFieldMask, ShaderOffsetBiasFieldMask, ShaderOffsetMatrixFieldMask, ShaderOffsetScaleFieldMask, ShaderOperationFieldMask, ShaderRGBADotProductFieldMask, TargetFieldMask, WrapRFieldMask, WrapSFieldMask, and WrapTFieldMask.

Referenced by osg::CubeTextureChunkBase::copyFromBin().

01440 {
01441     Inherited::copyFromBin(pMem, whichField);
01442 
01443     if(FieldBits::NoField != (ImageFieldMask & whichField))
01444     {
01445         _sfImage.copyFromBin(pMem);
01446     }
01447 
01448     if(FieldBits::NoField != (InternalFormatFieldMask & whichField))
01449     {
01450         _sfInternalFormat.copyFromBin(pMem);
01451     }
01452 
01453     if(FieldBits::NoField != (ExternalFormatFieldMask & whichField))
01454     {
01455         _sfExternalFormat.copyFromBin(pMem);
01456     }
01457 
01458     if(FieldBits::NoField != (ScaleFieldMask & whichField))
01459     {
01460         _sfScale.copyFromBin(pMem);
01461     }
01462 
01463     if(FieldBits::NoField != (FrameFieldMask & whichField))
01464     {
01465         _sfFrame.copyFromBin(pMem);
01466     }
01467 
01468     if(FieldBits::NoField != (MinFilterFieldMask & whichField))
01469     {
01470         _sfMinFilter.copyFromBin(pMem);
01471     }
01472 
01473     if(FieldBits::NoField != (MagFilterFieldMask & whichField))
01474     {
01475         _sfMagFilter.copyFromBin(pMem);
01476     }
01477 
01478     if(FieldBits::NoField != (WrapSFieldMask & whichField))
01479     {
01480         _sfWrapS.copyFromBin(pMem);
01481     }
01482 
01483     if(FieldBits::NoField != (WrapTFieldMask & whichField))
01484     {
01485         _sfWrapT.copyFromBin(pMem);
01486     }
01487 
01488     if(FieldBits::NoField != (WrapRFieldMask & whichField))
01489     {
01490         _sfWrapR.copyFromBin(pMem);
01491     }
01492 
01493     if(FieldBits::NoField != (EnvModeFieldMask & whichField))
01494     {
01495         _sfEnvMode.copyFromBin(pMem);
01496     }
01497 
01498     if(FieldBits::NoField != (EnvColorFieldMask & whichField))
01499     {
01500         _sfEnvColor.copyFromBin(pMem);
01501     }
01502 
01503     if(FieldBits::NoField != (EnvCombineRGBFieldMask & whichField))
01504     {
01505         _sfEnvCombineRGB.copyFromBin(pMem);
01506     }
01507 
01508     if(FieldBits::NoField != (EnvCombineAlphaFieldMask & whichField))
01509     {
01510         _sfEnvCombineAlpha.copyFromBin(pMem);
01511     }
01512 
01513     if(FieldBits::NoField != (EnvScaleRGBFieldMask & whichField))
01514     {
01515         _sfEnvScaleRGB.copyFromBin(pMem);
01516     }
01517 
01518     if(FieldBits::NoField != (EnvScaleAlphaFieldMask & whichField))
01519     {
01520         _sfEnvScaleAlpha.copyFromBin(pMem);
01521     }
01522 
01523     if(FieldBits::NoField != (EnvSource0RGBFieldMask & whichField))
01524     {
01525         _sfEnvSource0RGB.copyFromBin(pMem);
01526     }
01527 
01528     if(FieldBits::NoField != (EnvSource1RGBFieldMask & whichField))
01529     {
01530         _sfEnvSource1RGB.copyFromBin(pMem);
01531     }
01532 
01533     if(FieldBits::NoField != (EnvSource2RGBFieldMask & whichField))
01534     {
01535         _sfEnvSource2RGB.copyFromBin(pMem);
01536     }
01537 
01538     if(FieldBits::NoField != (EnvSource0AlphaFieldMask & whichField))
01539     {
01540         _sfEnvSource0Alpha.copyFromBin(pMem);
01541     }
01542 
01543     if(FieldBits::NoField != (EnvSource1AlphaFieldMask & whichField))
01544     {
01545         _sfEnvSource1Alpha.copyFromBin(pMem);
01546     }
01547 
01548     if(FieldBits::NoField != (EnvSource2AlphaFieldMask & whichField))
01549     {
01550         _sfEnvSource2Alpha.copyFromBin(pMem);
01551     }
01552 
01553     if(FieldBits::NoField != (EnvOperand0RGBFieldMask & whichField))
01554     {
01555         _sfEnvOperand0RGB.copyFromBin(pMem);
01556     }
01557 
01558     if(FieldBits::NoField != (EnvOperand1RGBFieldMask & whichField))
01559     {
01560         _sfEnvOperand1RGB.copyFromBin(pMem);
01561     }
01562 
01563     if(FieldBits::NoField != (EnvOperand2RGBFieldMask & whichField))
01564     {
01565         _sfEnvOperand2RGB.copyFromBin(pMem);
01566     }
01567 
01568     if(FieldBits::NoField != (EnvOperand0AlphaFieldMask & whichField))
01569     {
01570         _sfEnvOperand0Alpha.copyFromBin(pMem);
01571     }
01572 
01573     if(FieldBits::NoField != (EnvOperand1AlphaFieldMask & whichField))
01574     {
01575         _sfEnvOperand1Alpha.copyFromBin(pMem);
01576     }
01577 
01578     if(FieldBits::NoField != (EnvOperand2AlphaFieldMask & whichField))
01579     {
01580         _sfEnvOperand2Alpha.copyFromBin(pMem);
01581     }
01582 
01583     if(FieldBits::NoField != (GLIdFieldMask & whichField))
01584     {
01585         _sfGLId.copyFromBin(pMem);
01586     }
01587 
01588     if(FieldBits::NoField != (IgnoreGLForAspectFieldMask & whichField))
01589     {
01590         _sfIgnoreGLForAspect.copyFromBin(pMem);
01591     }
01592 
01593     if(FieldBits::NoField != (PointSpriteFieldMask & whichField))
01594     {
01595         _sfPointSprite.copyFromBin(pMem);
01596     }
01597 
01598     if(FieldBits::NoField != (PriorityFieldMask & whichField))
01599     {
01600         _sfPriority.copyFromBin(pMem);
01601     }
01602 
01603     if(FieldBits::NoField != (ShaderOperationFieldMask & whichField))
01604     {
01605         _sfShaderOperation.copyFromBin(pMem);
01606     }
01607 
01608     if(FieldBits::NoField != (ShaderInputFieldMask & whichField))
01609     {
01610         _sfShaderInput.copyFromBin(pMem);
01611     }
01612 
01613     if(FieldBits::NoField != (ShaderOffsetMatrixFieldMask & whichField))
01614     {
01615         _mfShaderOffsetMatrix.copyFromBin(pMem);
01616     }
01617 
01618     if(FieldBits::NoField != (ShaderOffsetScaleFieldMask & whichField))
01619     {
01620         _sfShaderOffsetScale.copyFromBin(pMem);
01621     }
01622 
01623     if(FieldBits::NoField != (ShaderOffsetBiasFieldMask & whichField))
01624     {
01625         _sfShaderOffsetBias.copyFromBin(pMem);
01626     }
01627 
01628     if(FieldBits::NoField != (ShaderRGBADotProductFieldMask & whichField))
01629     {
01630         _sfShaderRGBADotProduct.copyFromBin(pMem);
01631     }
01632 
01633     if(FieldBits::NoField != (ShaderCullModesFieldMask & whichField))
01634     {
01635         _sfShaderCullModes.copyFromBin(pMem);
01636     }
01637 
01638     if(FieldBits::NoField != (ShaderConstEyeFieldMask & whichField))
01639     {
01640         _sfShaderConstEye.copyFromBin(pMem);
01641     }
01642 
01643     if(FieldBits::NoField != (LodBiasFieldMask & whichField))
01644     {
01645         _sfLodBias.copyFromBin(pMem);
01646     }
01647 
01648     if(FieldBits::NoField != (TargetFieldMask & whichField))
01649     {
01650         _sfTarget.copyFromBin(pMem);
01651     }
01652 
01653     if(FieldBits::NoField != (DirtyLeftFieldMask & whichField))
01654     {
01655         _sfDirtyLeft.copyFromBin(pMem);
01656     }
01657 
01658     if(FieldBits::NoField != (DirtyMinXFieldMask & whichField))
01659     {
01660         _sfDirtyMinX.copyFromBin(pMem);
01661     }
01662 
01663     if(FieldBits::NoField != (DirtyMaxXFieldMask & whichField))
01664     {
01665         _sfDirtyMaxX.copyFromBin(pMem);
01666     }
01667 
01668     if(FieldBits::NoField != (DirtyMinYFieldMask & whichField))
01669     {
01670         _sfDirtyMinY.copyFromBin(pMem);
01671     }
01672 
01673     if(FieldBits::NoField != (DirtyMaxYFieldMask & whichField))
01674     {
01675         _sfDirtyMaxY.copyFromBin(pMem);
01676     }
01677 
01678     if(FieldBits::NoField != (DirtyMinZFieldMask & whichField))
01679     {
01680         _sfDirtyMinZ.copyFromBin(pMem);
01681     }
01682 
01683     if(FieldBits::NoField != (DirtyMaxZFieldMask & whichField))
01684     {
01685         _sfDirtyMaxZ.copyFromBin(pMem);
01686     }
01687 
01688     if(FieldBits::NoField != (AnisotropyFieldMask & whichField))
01689     {
01690         _sfAnisotropy.copyFromBin(pMem);
01691     }
01692 
01693     if(FieldBits::NoField != (BorderColorFieldMask & whichField))
01694     {
01695         _sfBorderColor.copyFromBin(pMem);
01696     }
01697 
01698     if(FieldBits::NoField != (BorderWidthFieldMask & whichField))
01699     {
01700         _sfBorderWidth.copyFromBin(pMem);
01701     }
01702 
01703     if(FieldBits::NoField != (NPOTMatrixScaleFieldMask & whichField))
01704     {
01705         _sfNPOTMatrixScale.copyFromBin(pMem);
01706     }
01707 
01708 
01709 }

TextureChunkPtr osg::TextureChunkBase::create ( void   )  [inline, static]

TextureChunkPtr osg::TextureChunkBase::createEmpty ( void   )  [inline, static]

Reimplemented from osg::Attachment.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 87 of file OSGTextureChunkBase.inl.

References osg::FieldContainer::newPtr().

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

FieldContainerPtr osg::TextureChunkBase::shallowCopy ( void   )  const [virtual]

Reimplemented from osg::Attachment.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 716 of file OSGTextureChunkBase.cpp.

References osg::FieldContainer::newPtr().

Referenced by create().

00717 { 
00718     TextureChunkPtr returnValue; 
00719 
00720     newPtr(returnValue, dynamic_cast<const TextureChunk *>(this)); 
00721 
00722     return returnValue; 
00723 }

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

Definition at line 1712 of file OSGTextureChunkBase.cpp.

References _mfShaderOffsetMatrix, _sfAnisotropy, _sfBorderColor, _sfBorderWidth, _sfDirtyLeft, _sfDirtyMaxX, _sfDirtyMaxY, _sfDirtyMaxZ, _sfDirtyMinX, _sfDirtyMinY, _sfDirtyMinZ, _sfEnvColor, _sfEnvCombineAlpha, _sfEnvCombineRGB, _sfEnvMode, _sfEnvOperand0Alpha, _sfEnvOperand0RGB, _sfEnvOperand1Alpha, _sfEnvOperand1RGB, _sfEnvOperand2Alpha, _sfEnvOperand2RGB, _sfEnvScaleAlpha, _sfEnvScaleRGB, _sfEnvSource0Alpha, _sfEnvSource0RGB, _sfEnvSource1Alpha, _sfEnvSource1RGB, _sfEnvSource2Alpha, _sfEnvSource2RGB, _sfExternalFormat, _sfFrame, _sfGLId, _sfIgnoreGLForAspect, _sfImage, _sfInternalFormat, _sfLodBias, _sfMagFilter, _sfMinFilter, _sfNPOTMatrixScale, _sfPointSprite, _sfPriority, _sfScale, _sfShaderConstEye, _sfShaderCullModes, _sfShaderInput, _sfShaderOffsetBias, _sfShaderOffsetScale, _sfShaderOperation, _sfShaderRGBADotProduct, _sfTarget, _sfWrapR, _sfWrapS, _sfWrapT, AnisotropyFieldMask, BorderColorFieldMask, BorderWidthFieldMask, DirtyLeftFieldMask, DirtyMaxXFieldMask, DirtyMaxYFieldMask, DirtyMaxZFieldMask, DirtyMinXFieldMask, DirtyMinYFieldMask, DirtyMinZFieldMask, EnvColorFieldMask, EnvCombineAlphaFieldMask, EnvCombineRGBFieldMask, EnvModeFieldMask, EnvOperand0AlphaFieldMask, EnvOperand0RGBFieldMask, EnvOperand1AlphaFieldMask, EnvOperand1RGBFieldMask, EnvOperand2AlphaFieldMask, EnvOperand2RGBFieldMask, EnvScaleAlphaFieldMask, EnvScaleRGBFieldMask, EnvSource0AlphaFieldMask, EnvSource0RGBFieldMask, EnvSource1AlphaFieldMask, EnvSource1RGBFieldMask, EnvSource2AlphaFieldMask, EnvSource2RGBFieldMask, osg::StateChunkBase::executeSyncImpl(), ExternalFormatFieldMask, FrameFieldMask, GLIdFieldMask, IgnoreGLForAspectFieldMask, ImageFieldMask, InternalFormatFieldMask, LodBiasFieldMask, MagFilterFieldMask, MinFilterFieldMask, osg::FieldBits::NoField, NPOTMatrixScaleFieldMask, PointSpriteFieldMask, PriorityFieldMask, ScaleFieldMask, ShaderConstEyeFieldMask, ShaderCullModesFieldMask, ShaderInputFieldMask, ShaderOffsetBiasFieldMask, ShaderOffsetMatrixFieldMask, ShaderOffsetScaleFieldMask, ShaderOperationFieldMask, ShaderRGBADotProductFieldMask, osg::MField< FieldTypeT, fieldNameSpace >::syncWith(), osg::SField< FieldTypeT, fieldNameSpace >::syncWith(), TargetFieldMask, WrapRFieldMask, WrapSFieldMask, and WrapTFieldMask.

Referenced by executeSync(), and osg::CubeTextureChunkBase::executeSyncImpl().

01714 {
01715 
01716     Inherited::executeSyncImpl(pOther, whichField);
01717 
01718     if(FieldBits::NoField != (ImageFieldMask & whichField))
01719         _sfImage.syncWith(pOther->_sfImage);
01720 
01721     if(FieldBits::NoField != (InternalFormatFieldMask & whichField))
01722         _sfInternalFormat.syncWith(pOther->_sfInternalFormat);
01723 
01724     if(FieldBits::NoField != (ExternalFormatFieldMask & whichField))
01725         _sfExternalFormat.syncWith(pOther->_sfExternalFormat);
01726 
01727     if(FieldBits::NoField != (ScaleFieldMask & whichField))
01728         _sfScale.syncWith(pOther->_sfScale);
01729 
01730     if(FieldBits::NoField != (FrameFieldMask & whichField))
01731         _sfFrame.syncWith(pOther->_sfFrame);
01732 
01733     if(FieldBits::NoField != (MinFilterFieldMask & whichField))
01734         _sfMinFilter.syncWith(pOther->_sfMinFilter);
01735 
01736     if(FieldBits::NoField != (MagFilterFieldMask & whichField))
01737         _sfMagFilter.syncWith(pOther->_sfMagFilter);
01738 
01739     if(FieldBits::NoField != (WrapSFieldMask & whichField))
01740         _sfWrapS.syncWith(pOther->_sfWrapS);
01741 
01742     if(FieldBits::NoField != (WrapTFieldMask & whichField))
01743         _sfWrapT.syncWith(pOther->_sfWrapT);
01744 
01745     if(FieldBits::NoField != (WrapRFieldMask & whichField))
01746         _sfWrapR.syncWith(pOther->_sfWrapR);
01747 
01748     if(FieldBits::NoField != (EnvModeFieldMask & whichField))
01749         _sfEnvMode.syncWith(pOther->_sfEnvMode);
01750 
01751     if(FieldBits::NoField != (EnvColorFieldMask & whichField))
01752         _sfEnvColor.syncWith(pOther->_sfEnvColor);
01753 
01754     if(FieldBits::NoField != (EnvCombineRGBFieldMask & whichField))
01755         _sfEnvCombineRGB.syncWith(pOther->_sfEnvCombineRGB);
01756 
01757     if(FieldBits::NoField != (EnvCombineAlphaFieldMask & whichField))
01758         _sfEnvCombineAlpha.syncWith(pOther->_sfEnvCombineAlpha);
01759 
01760     if(FieldBits::NoField != (EnvScaleRGBFieldMask & whichField))
01761         _sfEnvScaleRGB.syncWith(pOther->_sfEnvScaleRGB);
01762 
01763     if(FieldBits::NoField != (EnvScaleAlphaFieldMask & whichField))
01764         _sfEnvScaleAlpha.syncWith(pOther->_sfEnvScaleAlpha);
01765 
01766     if(FieldBits::NoField != (EnvSource0RGBFieldMask & whichField))
01767         _sfEnvSource0RGB.syncWith(pOther->_sfEnvSource0RGB);
01768 
01769     if(FieldBits::NoField != (EnvSource1RGBFieldMask & whichField))
01770         _sfEnvSource1RGB.syncWith(pOther->_sfEnvSource1RGB);
01771 
01772     if(FieldBits::NoField != (EnvSource2RGBFieldMask & whichField))
01773         _sfEnvSource2RGB.syncWith(pOther->_sfEnvSource2RGB);
01774 
01775     if(FieldBits::NoField != (EnvSource0AlphaFieldMask & whichField))
01776         _sfEnvSource0Alpha.syncWith(pOther->_sfEnvSource0Alpha);
01777 
01778     if(FieldBits::NoField != (EnvSource1AlphaFieldMask & whichField))
01779         _sfEnvSource1Alpha.syncWith(pOther->_sfEnvSource1Alpha);
01780 
01781     if(FieldBits::NoField != (EnvSource2AlphaFieldMask & whichField))
01782         _sfEnvSource2Alpha.syncWith(pOther->_sfEnvSource2Alpha);
01783 
01784     if(FieldBits::NoField != (EnvOperand0RGBFieldMask & whichField))
01785         _sfEnvOperand0RGB.syncWith(pOther->_sfEnvOperand0RGB);
01786 
01787     if(FieldBits::NoField != (EnvOperand1RGBFieldMask & whichField))
01788         _sfEnvOperand1RGB.syncWith(pOther->_sfEnvOperand1RGB);
01789 
01790     if(FieldBits::NoField != (EnvOperand2RGBFieldMask & whichField))
01791         _sfEnvOperand2RGB.syncWith(pOther->_sfEnvOperand2RGB);
01792 
01793     if(FieldBits::NoField != (EnvOperand0AlphaFieldMask & whichField))
01794         _sfEnvOperand0Alpha.syncWith(pOther->_sfEnvOperand0Alpha);
01795 
01796     if(FieldBits::NoField != (EnvOperand1AlphaFieldMask & whichField))
01797         _sfEnvOperand1Alpha.syncWith(pOther->_sfEnvOperand1Alpha);
01798 
01799     if(FieldBits::NoField != (EnvOperand2AlphaFieldMask & whichField))
01800         _sfEnvOperand2Alpha.syncWith(pOther->_sfEnvOperand2Alpha);
01801 
01802     if(FieldBits::NoField != (GLIdFieldMask & whichField))
01803         _sfGLId.syncWith(pOther->_sfGLId);
01804 
01805     if(FieldBits::NoField != (IgnoreGLForAspectFieldMask & whichField))
01806         _sfIgnoreGLForAspect.syncWith(pOther->_sfIgnoreGLForAspect);
01807 
01808     if(FieldBits::NoField != (PointSpriteFieldMask & whichField))
01809         _sfPointSprite.syncWith(pOther->_sfPointSprite);
01810 
01811     if(FieldBits::NoField != (PriorityFieldMask & whichField))
01812         _sfPriority.syncWith(pOther->_sfPriority);
01813 
01814     if(FieldBits::NoField != (ShaderOperationFieldMask & whichField))
01815         _sfShaderOperation.syncWith(pOther->_sfShaderOperation);
01816 
01817     if(FieldBits::NoField != (ShaderInputFieldMask & whichField))
01818         _sfShaderInput.syncWith(pOther->_sfShaderInput);
01819 
01820     if(FieldBits::NoField != (ShaderOffsetMatrixFieldMask & whichField))
01821         _mfShaderOffsetMatrix.syncWith(pOther->_mfShaderOffsetMatrix);
01822 
01823     if(FieldBits::NoField != (ShaderOffsetScaleFieldMask & whichField))
01824         _sfShaderOffsetScale.syncWith(pOther->_sfShaderOffsetScale);
01825 
01826     if(FieldBits::NoField != (ShaderOffsetBiasFieldMask & whichField))
01827         _sfShaderOffsetBias.syncWith(pOther->_sfShaderOffsetBias);
01828 
01829     if(FieldBits::NoField != (ShaderRGBADotProductFieldMask & whichField))
01830         _sfShaderRGBADotProduct.syncWith(pOther->_sfShaderRGBADotProduct);
01831 
01832     if(FieldBits::NoField != (ShaderCullModesFieldMask & whichField))
01833         _sfShaderCullModes.syncWith(pOther->_sfShaderCullModes);
01834 
01835     if(FieldBits::NoField != (ShaderConstEyeFieldMask & whichField))
01836         _sfShaderConstEye.syncWith(pOther->_sfShaderConstEye);
01837 
01838     if(FieldBits::NoField != (LodBiasFieldMask & whichField))
01839         _sfLodBias.syncWith(pOther->_sfLodBias);
01840 
01841     if(FieldBits::NoField != (TargetFieldMask & whichField))
01842         _sfTarget.syncWith(pOther->_sfTarget);
01843 
01844     if(FieldBits::NoField != (DirtyLeftFieldMask & whichField))
01845         _sfDirtyLeft.syncWith(pOther->_sfDirtyLeft);
01846 
01847     if(FieldBits::NoField != (DirtyMinXFieldMask & whichField))
01848         _sfDirtyMinX.syncWith(pOther->_sfDirtyMinX);
01849 
01850     if(FieldBits::NoField != (DirtyMaxXFieldMask & whichField))
01851         _sfDirtyMaxX.syncWith(pOther->_sfDirtyMaxX);
01852 
01853     if(FieldBits::NoField != (DirtyMinYFieldMask & whichField))
01854         _sfDirtyMinY.syncWith(pOther->_sfDirtyMinY);
01855 
01856     if(FieldBits::NoField != (DirtyMaxYFieldMask & whichField))
01857         _sfDirtyMaxY.syncWith(pOther->_sfDirtyMaxY);
01858 
01859     if(FieldBits::NoField != (DirtyMinZFieldMask & whichField))
01860         _sfDirtyMinZ.syncWith(pOther->_sfDirtyMinZ);
01861 
01862     if(FieldBits::NoField != (DirtyMaxZFieldMask & whichField))
01863         _sfDirtyMaxZ.syncWith(pOther->_sfDirtyMaxZ);
01864 
01865     if(FieldBits::NoField != (AnisotropyFieldMask & whichField))
01866         _sfAnisotropy.syncWith(pOther->_sfAnisotropy);
01867 
01868     if(FieldBits::NoField != (BorderColorFieldMask & whichField))
01869         _sfBorderColor.syncWith(pOther->_sfBorderColor);
01870 
01871     if(FieldBits::NoField != (BorderWidthFieldMask & whichField))
01872         _sfBorderWidth.syncWith(pOther->_sfBorderWidth);
01873 
01874     if(FieldBits::NoField != (NPOTMatrixScaleFieldMask & whichField))
01875         _sfNPOTMatrixScale.syncWith(pOther->_sfNPOTMatrixScale);
01876 
01877 
01878 }

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

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 732 of file OSGTextureChunkBase.cpp.

References executeSyncImpl().

00734 {
00735     this->executeSyncImpl((TextureChunkBase *) &other, whichField);
00736 }

void osg::TextureChunkBase::operator= ( const TextureChunkBase 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(), 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(), osg::RegisterCombinersChunkBase::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(), 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(), osg::RegisterCombinersChunkBase::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::CubeTextureChunk, osg::CubeTextureChunkBase, and osg::TextureChunk.

Definition at line 646 of file OSGTextureChunkBase.h.


Member Data Documentation

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::InternalFormatFieldId)

Definition at line 203 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::ExternalFormatFieldId)

Definition at line 204 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::ScaleFieldId)

Definition at line 205 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::FrameFieldId)

Definition at line 206 of file OSGTextureChunkBase.h.

Referenced by osg::TextureChunk::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::WrapSFieldId)

Definition at line 209 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::WrapTFieldId)

Definition at line 210 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::WrapRFieldId)

Definition at line 211 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvModeFieldId)

Definition at line 212 of file OSGTextureChunkBase.h.

Referenced by osg::SimpleTexturedMaterial::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), and modifyMaterial().

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvColorFieldId)

Definition at line 213 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvCombineRGBFieldId)

Definition at line 214 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvCombineAlphaFieldId)

Definition at line 215 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvScaleRGBFieldId)

Definition at line 216 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvScaleAlphaFieldId)

Definition at line 217 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvSource0RGBFieldId)

Definition at line 218 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvSource1RGBFieldId)

Definition at line 219 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvSource2RGBFieldId)

Definition at line 220 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvSource0AlphaFieldId)

Definition at line 221 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvSource1AlphaFieldId)

Definition at line 222 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvSource2AlphaFieldId)

Definition at line 223 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvOperand0RGBFieldId)

Definition at line 224 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvOperand1RGBFieldId)

Definition at line 225 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvOperand2RGBFieldId)

Definition at line 226 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvOperand0AlphaFieldId)

Definition at line 227 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvOperand1AlphaFieldId)

Definition at line 228 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::EnvOperand2AlphaFieldId)

Definition at line 229 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::IgnoreGLForAspectFieldId)

Definition at line 231 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::PointSpriteFieldId)

Definition at line 232 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::PriorityFieldId)

Definition at line 233 of file OSGTextureChunkBase.h.

Referenced by osg::TextureChunk::changed(), copyFromBin(), copyToBin(), executeSyncImpl(), and getBinSize().

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::ShaderOperationFieldId)

Definition at line 234 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::ShaderInputFieldId)

Definition at line 235 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::ShaderOffsetMatrixFieldId)

Definition at line 236 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::ShaderOffsetScaleFieldId)

Definition at line 237 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::ShaderOffsetBiasFieldId)

Definition at line 238 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::ShaderRGBADotProductFieldId)

Definition at line 239 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::ShaderCullModesFieldId)

Definition at line 240 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::ShaderConstEyeFieldId)

Definition at line 241 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::LodBiasFieldId)

Definition at line 242 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::TargetFieldId)

Definition at line 243 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::DirtyLeftFieldId)

Definition at line 244 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::AnisotropyFieldId)

Definition at line 251 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::BorderColorFieldId)

Definition at line 252 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::BorderWidthFieldId)

Definition at line 253 of file OSGTextureChunkBase.h.

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

Initial value:

 
    (TypeTraits<BitVector>::One << TextureChunkBase::NPOTMatrixScaleFieldId)

Definition at line 254 of file OSGTextureChunkBase.h.

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

Initial value:

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

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 257 of file OSGTextureChunkBase.h.

The internal texture format.

Definition at line 543 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getInternalFormat(), getSFInternalFormat(), and setInternalFormat().

The external texture format - overwrites external format of image when set to a value not equal to GL_NONE (which is the default).

Definition at line 544 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getExternalFormat(), getSFExternalFormat(), and setExternalFormat().

Specifies whether the image should be scaled to the next power of two, thus filling the whole texture coordinate range, or if it should be put in the lower left corner, leaving the rest of the texture undefined. This is mainly used for rapidly changing non power of two textures, to get around the scaling overhead. If set to false, NPOTMatrixScale can be used to use the texture matrix to correct the texture coordinates to show the used part of the texture.

Definition at line 545 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getScale(), getSFScale(), and setScale().

Select the frame of the image to be used. See osg::Image about details concerning multi-frame images. Hint! For fast update use GL_LINEAR or GL_NEAREST filters, as mipmap creation is slow right now.

Definition at line 546 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getFrame(), getSFFrame(), and setFrame().

The minimisation filter, default GL_LINEAR_MIPMAP_LINEAR.

Definition at line 547 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getMinFilter(), getSFMinFilter(), and setMinFilter().

The magnification filter, default GL_LINEAR.

Definition at line 548 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getMagFilter(), getSFMagFilter(), and setMagFilter().

GLenum osg::TextureChunkBase::_sfWrapS [protected]

Texture coordinate S wrapping, default GL_REPEAT.

Definition at line 549 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFWrapS(), getWrapS(), and setWrapS().

GLenum osg::TextureChunkBase::_sfWrapT [protected]

Texture coordinate T wrapping, default GL_REPEAT.

Definition at line 550 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFWrapT(), getWrapT(), and setWrapT().

GLenum osg::TextureChunkBase::_sfWrapR [protected]

Texture coordinate R wrapping, default GL_REPEAT.

Definition at line 551 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFWrapR(), getWrapR(), and setWrapR().

Texture environment mode, default GL_REPLACE

Definition at line 552 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvMode(), getSFEnvMode(), and setEnvMode().

Texture environment color default transparent black.

Definition at line 553 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvColor(), getSFEnvColor(), and setEnvColor().

Texture environment rgb combine mode, default GL_MODULATE

Definition at line 554 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvCombineRGB(), getSFEnvCombineRGB(), and setEnvCombineRGB().

Texture environment alpha combine mode, default GL_MODULATE

Definition at line 555 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvCombineAlpha(), getSFEnvCombineAlpha(), and setEnvCombineAlpha().

Texture environment combine rgb scale factor, default 1.f

Definition at line 556 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvScaleRGB(), getSFEnvScaleRGB(), and setEnvScaleRGB().

Texture environment combine alpha scale factor, default 1.f

Definition at line 557 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvScaleAlpha(), getSFEnvScaleAlpha(), and setEnvScaleAlpha().

Texture environment combine source 0 rgb, default GL_TEXTURE

Definition at line 558 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvSource0RGB(), getSFEnvSource0RGB(), and setEnvSource0RGB().

Texture environment combine source 1 rgb, default GL_PREVIOUS_EXT

Definition at line 559 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvSource1RGB(), getSFEnvSource1RGB(), and setEnvSource1RGB().

Texture environment combine source 2 rgb, default GL_CONSTANT_EXT

Definition at line 560 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvSource2RGB(), getSFEnvSource2RGB(), and setEnvSource2RGB().

Texture environment combine source 0 alpha, default GL_TEXTURE

Definition at line 561 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvSource0Alpha(), getSFEnvSource0Alpha(), and setEnvSource0Alpha().

Texture environment combine source 1 alpha, default GL_PREVIOUS_EXT

Definition at line 562 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvSource1Alpha(), getSFEnvSource1Alpha(), and setEnvSource1Alpha().

Texture environment combine source 2 alpha, default GL_CONSTANT_EXT

Definition at line 563 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvSource2Alpha(), getSFEnvSource2Alpha(), and setEnvSource2Alpha().

Texture environment combine operand 0 rgb, default GL_SRC_COLOR

Definition at line 564 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvOperand0RGB(), getSFEnvOperand0RGB(), and setEnvOperand0RGB().

Texture environment combine operand 1 rgb, default GL_SRC_COLOR

Definition at line 565 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvOperand1RGB(), getSFEnvOperand1RGB(), and setEnvOperand1RGB().

Texture environment combine operand 2 rgb, default GL_SRC_ALPHA

Definition at line 566 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvOperand2RGB(), getSFEnvOperand2RGB(), and setEnvOperand2RGB().

Texture environment combine operand 0 alpha, default GL_SRC_ALPHA

Definition at line 567 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvOperand0Alpha(), getSFEnvOperand0Alpha(), and setEnvOperand0Alpha().

Texture environment combine operand 1 alpha, default GL_SRC_ALPHA

Definition at line 568 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvOperand1Alpha(), getSFEnvOperand1Alpha(), and setEnvOperand1Alpha().

Texture environment combine operand 2 alpha, default GL_SRC_ALPHA

Definition at line 569 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getEnvOperand2Alpha(), getSFEnvOperand2Alpha(), and setEnvOperand2Alpha().

GLenum osg::TextureChunkBase::_sfGLId [protected]

The OpenGL texture id for this texture.

Definition at line 570 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getGLId(), getSFGLId(), and setGLId().

Flag to use this texture for Point Sprites.

Definition at line 572 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getPointSprite(), getSFPointSprite(), and setPointSprite().

Priority of this texture, between 0 and 1, the default is 1.

Definition at line 573 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getPriority(), getSFPriority(), and setPriority().

Shader operation of this texture unit, default GL_NONE. If unit 0 uses GL_NONE, shading is switched off.

Definition at line 574 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFShaderOperation(), getShaderOperation(), and setShaderOperation().

Input texture unit for this shader's operation.

Definition at line 575 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFShaderInput(), getShaderInput(), and setShaderInput().

The 2x2 transformation matrix for offset textures.

Definition at line 576 of file OSGTextureChunkBase.h.

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

The scaling factor for scaled offset textures.

Definition at line 577 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFShaderOffsetScale(), getShaderOffsetScale(), and setShaderOffsetScale().

The bias factor for scaled offset textures.

Definition at line 578 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFShaderOffsetBias(), getShaderOffsetBias(), and setShaderOffsetBias().

The RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV value.

Definition at line 579 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFShaderRGBADotProduct(), getShaderRGBADotProduct(), and setShaderRGBADotProduct().

The CULL_MODES_NV value, coded into a single byte. The first 4 bits of the byte are used to indicate the wnated cull modes, a value of 0 signifies GL_LESS, a value of 1 GL_GEQUAL. Bit 0 (mask 1) is used for the S coordinate, bit 1 (mask 2) for T, bit 2 (mask 4) for R and bit 4 (mask 8) for Q.

Definition at line 580 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFShaderCullModes(), getShaderCullModes(), and setShaderCullModes().

The CONST_EYE_NV value, i.e. the constant eye position used by the DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV shader.

Definition at line 581 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFShaderConstEye(), getShaderConstEye(), and setShaderConstEye().

Bias of LOD calculation for texture access.

Definition at line 582 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getLodBias(), getSFLodBias(), and setLodBias().

Texture target. Overwrite automatically determined texture target based on the parameters of the assigned image if set to anything else than GL_NONE. Used for nVidia's rectangle textures. Be careful when using it!

Definition at line 583 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getSFTarget(), getTarget(), and setTarget().

Left coordinate of the dirty rectangle to use for imageContentChanged(). This doesn't make sense to be stored in files, it does make sense on a cluster, though, that's why it's external.

Definition at line 584 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getDirtyLeft(), getSFDirtyLeft(), and setDirtyLeft().

Minimum X coordinate of the dirty rectangle to use for imageContentChanged(). This doesn't make sense to be stored in files, it does make sense on a cluster, though, that's why it's external.

Definition at line 585 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getDirtyMinX(), getSFDirtyMinX(), and setDirtyMinX().

Maximum X coordinate of the dirty rectangle to use for imageContentChanged(). This doesn't make sense to be stored in files, it does make sense on a cluster, though, that's why it's external.

Definition at line 586 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getDirtyMaxX(), getSFDirtyMaxX(), and setDirtyMaxX().

Minimum Y coordinate of the dirty rectangle to use for imageContentChanged(). This doesn't make sense to be stored in files, it does make sense on a cluster, though, that's why it's external.

Definition at line 587 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getDirtyMinY(), getSFDirtyMinY(), and setDirtyMinY().

Maximum Y coordinate of the dirty rectangle to use for imageContentChanged(). This doesn't make sense to be stored in files, it does make sense on a cluster, though, that's why it's external.

Definition at line 588 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getDirtyMaxY(), getSFDirtyMaxY(), and setDirtyMaxY().

Minimum Z coordinate of the dirty rectangle to use for imageContentChanged(). This doesn't make sense to be stored in files, it does make sense on a cluster, though, that's why it's external.

Definition at line 589 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getDirtyMinZ(), getSFDirtyMinZ(), and setDirtyMinZ().

Maximum Z coordinate of the dirty rectangle to use for imageContentChanged(). This doesn't make sense to be stored in files, it does make sense on a cluster, though, that's why it's external.

Definition at line 590 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getDirtyMaxZ(), getSFDirtyMaxZ(), and setDirtyMaxZ().

Texture anisotropy filtering, the default 1.0f means isotropic filtering.

Definition at line 591 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getAnisotropy(), getBinSize(), getSFAnisotropy(), and setAnisotropy().

Texture border color.

Definition at line 592 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getBorderColor(), getSFBorderColor(), and setBorderColor().

Texture border width in pixels.

Definition at line 593 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getBorderWidth(), getSFBorderWidth(), and setBorderWidth().

Use the texture matrix to scale the texture coordinates for NPOT images. Only used if neither rectangular nor NPOT textures are supported. If set to false, the image is scaled to the next power of two before being used as a texture. For convenience xFlip/ yFlip can also be set. Note that this will interfere with other TextureTransform and TexGen chunks. Do not use it if you need to use those chunks!

Definition at line 594 of file OSGTextureChunkBase.h.

Referenced by copyFromBin(), copyToBin(), executeSyncImpl(), getBinSize(), getNPOTMatrixScale(), getSFNPOTMatrixScale(), and setNPOTMatrixScale().

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 648 of file OSGTextureChunkBase.h.

Reimplemented from osg::StateChunkBase.

Reimplemented in osg::CubeTextureChunkBase.

Definition at line 649 of file OSGTextureChunkBase.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:14:12 2008 for OpenSG by  doxygen 1.5.5