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

osg::CubeTextureChunk Class Reference
[OpenGL State Handling]

State chunk for cubic textures. See CubeTextureChunk for a description. More...

#include <OSGCubeTextureChunk.h>

Inheritance diagram for osg::CubeTextureChunk:

osg::CubeTextureChunkBase osg::TextureChunk osg::TextureChunkBase osg::StateChunk osg::StateChunkBase osg::Attachment osg::FieldContainer List of all members.

Public Types

typedef CubeTextureChunkPtr Ptr
enum  {
  PosZImageFieldId = Inherited::NextFieldId, PosXImageFieldId = PosZImageFieldId + 1, NegXImageFieldId = PosXImageFieldId + 1, PosYImageFieldId = NegXImageFieldId + 1,
  NegYImageFieldId = PosYImageFieldId + 1, IsReflectionMapFieldId = NegYImageFieldId + 1, NextFieldId = IsReflectionMapFieldId + 1
}

Public Member Functions

Chunk Class Access
*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 activate (DrawActionBase *action, UInt32 index=0)
virtual void changeFrom (DrawActionBase *action, StateChunk *old, UInt32 index=0)
virtual void deactivate (DrawActionBase *action, UInt32 index=0)
Comparison
*virtual Real32 switchCost (StateChunk *chunk)
virtual bool operator< (const StateChunk &other) const
virtual bool operator== (const StateChunk &other) const
virtual bool operator!= (const StateChunk &other) const
Cube Texture specific
*void setPosZImage (ImagePtr &value)
void setPosXImage (ImagePtr &value)
void setNegXImage (ImagePtr &value)
void setPosYImage (ImagePtr &value)
void setNegYImage (ImagePtr &value)
FieldContainer Get
*virtual FieldContainerTypegetType (void)
virtual const FieldContainerTypegetType (void) const
virtual UInt32 getContainerSize (void) const
Field Get
*SFImagePtrgetSFPosZImage (void)
 Get the CubeTextureChunk::_sfPosZImage field.
SFImagePtrgetSFPosXImage (void)
 Get the CubeTextureChunk::_sfPosXImage field.
SFImagePtrgetSFNegXImage (void)
 Get the CubeTextureChunk::_sfNegXImage field.
SFImagePtrgetSFPosYImage (void)
 Get the CubeTextureChunk::_sfPosYImage field.
SFImagePtrgetSFNegYImage (void)
 Get the CubeTextureChunk::_sfNegYImage field.
SFBoolgetSFIsReflectionMap (void)
 Get the CubeTextureChunk::_sfIsReflectionMap field.
ImagePtrgetPosZImage (void)
 Get the value of the CubeTextureChunk::_sfPosZImage field.
const ImagePtrgetPosZImage (void) const
 Get the value of the CubeTextureChunk::_sfPosZImage field.
ImagePtrgetPosXImage (void)
 Get the value of the CubeTextureChunk::_sfPosXImage field.
const ImagePtrgetPosXImage (void) const
 Get the value of the CubeTextureChunk::_sfPosXImage field.
ImagePtrgetNegXImage (void)
 Get the value of the CubeTextureChunk::_sfNegXImage field.
const ImagePtrgetNegXImage (void) const
 Get the value of the CubeTextureChunk::_sfNegXImage field.
ImagePtrgetPosYImage (void)
 Get the value of the CubeTextureChunk::_sfPosYImage field.
const ImagePtrgetPosYImage (void) const
 Get the value of the CubeTextureChunk::_sfPosYImage field.
ImagePtrgetNegYImage (void)
 Get the value of the CubeTextureChunk::_sfNegYImage field.
const ImagePtrgetNegYImage (void) const
 Get the value of the CubeTextureChunk::_sfNegYImage field.
bool & getIsReflectionMap (void)
 Get the value of the CubeTextureChunk::_sfIsReflectionMap field.
const bool & getIsReflectionMap (void) const
 Get the value of the CubeTextureChunk::_sfIsReflectionMap field.
Field Set
*void setPosZImage (const ImagePtr &value)
 Set the value of the CubeTextureChunk::_sfPosZImage field.
void setPosXImage (const ImagePtr &value)
 Set the value of the CubeTextureChunk::_sfPosXImage field.
void setNegXImage (const ImagePtr &value)
 Set the value of the CubeTextureChunk::_sfNegXImage field.
void setPosYImage (const ImagePtr &value)
 Set the value of the CubeTextureChunk::_sfPosYImage field.
void setNegYImage (const ImagePtr &value)
 Set the value of the CubeTextureChunk::_sfNegYImage field.
void setIsReflectionMap (const bool &value)
 Set the value of the CubeTextureChunk::_sfIsReflectionMap 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
State
virtual bool isTransparent (void) const
Texture specific
*void imageContentChanged (Int32 minx=-1, Int32 maxx=-1, Int32 miny=-1, Int32 maxy=-1, Int32 minz=-1, Int32 maxz=-1)
void setImage (ImagePtr &pImage)
void setShaderOffsetMatrix (Real32 m11, Real32 m12, Real32 m21, Real32 m22)
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 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.
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.
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.
ImagePtrgetImage (void)
 Get the value of the TextureChunk::_sfImage field.
const ImagePtrgetImage (void) const
 Get the value of the TextureChunk::_sfImage field.
GLenumgetInternalFormat (void)
 Get the value of the TextureChunk::_sfInternalFormat field.
const GLenumgetInternalFormat (void) const
 Get the value of the TextureChunk::_sfInternalFormat field.
GLenumgetExternalFormat (void)
 Get the value of the TextureChunk::_sfExternalFormat field.
const GLenumgetExternalFormat (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.
GLenumgetMinFilter (void)
 Get the value of the TextureChunk::_sfMinFilter field.
const GLenumgetMinFilter (void) const
 Get the value of the TextureChunk::_sfMinFilter field.
GLenumgetMagFilter (void)
 Get the value of the TextureChunk::_sfMagFilter field.
const GLenumgetMagFilter (void) const
 Get the value of the TextureChunk::_sfMagFilter field.
GLenumgetWrapS (void)
 Get the value of the TextureChunk::_sfWrapS field.
const GLenumgetWrapS (void) const
 Get the value of the TextureChunk::_sfWrapS field.
GLenumgetWrapT (void)
 Get the value of the TextureChunk::_sfWrapT field.
const GLenumgetWrapT (void) const
 Get the value of the TextureChunk::_sfWrapT field.
GLenumgetWrapR (void)
 Get the value of the TextureChunk::_sfWrapR field.
const GLenumgetWrapR (void) const
 Get the value of the TextureChunk::_sfWrapR field.
GLenumgetEnvMode (void)
 Get the value of the TextureChunk::_sfEnvMode field.
const GLenumgetEnvMode (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.
GLenumgetEnvCombineRGB (void)
 Get the value of the TextureChunk::_sfEnvCombineRGB field.
const GLenumgetEnvCombineRGB (void) const
 Get the value of the TextureChunk::_sfEnvCombineRGB field.
GLenumgetEnvCombineAlpha (void)
 Get the value of the TextureChunk::_sfEnvCombineAlpha field.
const GLenumgetEnvCombineAlpha (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.
GLenumgetEnvSource0RGB (void)
 Get the value of the TextureChunk::_sfEnvSource0RGB field.
const GLenumgetEnvSource0RGB (void) const
 Get the value of the TextureChunk::_sfEnvSource0RGB field.
GLenumgetEnvSource1RGB (void)
 Get the value of the TextureChunk::_sfEnvSource1RGB field.
const GLenumgetEnvSource1RGB (void) const
 Get the value of the TextureChunk::_sfEnvSource1RGB field.
GLenumgetEnvSource2RGB (void)
 Get the value of the TextureChunk::_sfEnvSource2RGB field.
const GLenumgetEnvSource2RGB (void) const
 Get the value of the TextureChunk::_sfEnvSource2RGB field.
GLenumgetEnvSource0Alpha (void)
 Get the value of the TextureChunk::_sfEnvSource0Alpha field.
const GLenumgetEnvSource0Alpha (void) const
 Get the value of the TextureChunk::_sfEnvSource0Alpha field.
GLenumgetEnvSource1Alpha (void)
 Get the value of the TextureChunk::_sfEnvSource1Alpha field.
const GLenumgetEnvSource1Alpha (void) const
 Get the value of the TextureChunk::_sfEnvSource1Alpha field.
GLenumgetEnvSource2Alpha (void)
 Get the value of the TextureChunk::_sfEnvSource2Alpha field.
const GLenumgetEnvSource2Alpha (void) const
 Get the value of the TextureChunk::_sfEnvSource2Alpha field.
GLenumgetEnvOperand0RGB (void)
 Get the value of the TextureChunk::_sfEnvOperand0RGB field.
const GLenumgetEnvOperand0RGB (void) const
 Get the value of the TextureChunk::_sfEnvOperand0RGB field.
GLenumgetEnvOperand1RGB (void)
 Get the value of the TextureChunk::_sfEnvOperand1RGB field.
const GLenumgetEnvOperand1RGB (void) const
 Get the value of the TextureChunk::_sfEnvOperand1RGB field.
GLenumgetEnvOperand2RGB (void)
 Get the value of the TextureChunk::_sfEnvOperand2RGB field.
const GLenumgetEnvOperand2RGB (void) const
 Get the value of the TextureChunk::_sfEnvOperand2RGB field.
GLenumgetEnvOperand0Alpha (void)
 Get the value of the TextureChunk::_sfEnvOperand0Alpha field.
const GLenumgetEnvOperand0Alpha (void) const
 Get the value of the TextureChunk::_sfEnvOperand0Alpha field.
GLenumgetEnvOperand1Alpha (void)
 Get the value of the TextureChunk::_sfEnvOperand1Alpha field.
const GLenumgetEnvOperand1Alpha (void) const
 Get the value of the TextureChunk::_sfEnvOperand1Alpha field.
GLenumgetEnvOperand2Alpha (void)
 Get the value of the TextureChunk::_sfEnvOperand2Alpha field.
const GLenumgetEnvOperand2Alpha (void) const
 Get the value of the TextureChunk::_sfEnvOperand2Alpha field.
GLenumgetGLId (void)
 Get the value of the TextureChunk::_sfGLId field.
const GLenumgetGLId (void) const
 Get the value of the TextureChunk::_sfGLId 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.
GLenumgetShaderOperation (void)
 Get the value of the TextureChunk::_sfShaderOperation field.
const GLenumgetShaderOperation (void) const
 Get the value of the TextureChunk::_sfShaderOperation field.
GLenumgetShaderInput (void)
 Get the value of the TextureChunk::_sfShaderInput field.
const GLenumgetShaderInput (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.
GLenumgetShaderRGBADotProduct (void)
 Get the value of the TextureChunk::_sfShaderRGBADotProduct field.
const GLenumgetShaderRGBADotProduct (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