Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions

SoSplitTexture2Part Class Reference

List of all members.

Classes

struct  ImageData

Public Member Functions

 SoSplitTexture2Part ()

Static Public Member Functions

static void initClass ()

Public Attributes

SoSFVec2i32 origin
SoSFVec2i32 size
SoMFUShort textureunits

Protected Member Functions

void GLRender (SoGLRenderAction *)
void callback (SoCallbackAction *)
void rayPick (SoRayPickAction *)
void doAction (SoAction *)
 ~SoSplitTexture2Part ()
void GLRenderUnit (int, SoState *)
void doActionUnit (int, SoState *)
void removeImageData ()

Static Protected Member Functions

static void fieldChangeCB (void *, SoSensor *)

Protected Attributes

SbPList imagedata_
SoFieldSensor * originsensor_
bool needregenration_
SoElement * matchinfo_

Private Member Functions

 SO_NODE_HEADER (SoSplitTexture2Part)

Detailed Description

Fetches a texture that SoSplitTexture2 has put on the state and sends a part of it to OpenGL. Make sure to use the same texture unit as was used when the image was put on the state. If the requested part is outside the source texture, it is clamped to edge.


Constructor & Destructor Documentation

SoSplitTexture2Part::SoSplitTexture2Part (  ) 
SoSplitTexture2Part::~SoSplitTexture2Part (  )  [protected]

Member Function Documentation

void SoSplitTexture2Part::callback ( SoCallbackAction *   )  [protected]
void SoSplitTexture2Part::doAction ( SoAction *   )  [protected]
void SoSplitTexture2Part::doActionUnit ( int  ,
SoState *   
) [protected]
static void SoSplitTexture2Part::fieldChangeCB ( void *  ,
SoSensor *   
) [static, protected]
void SoSplitTexture2Part::GLRender ( SoGLRenderAction *   )  [protected]
void SoSplitTexture2Part::GLRenderUnit ( int  ,
SoState *   
) [protected]
static void SoSplitTexture2Part::initClass (  )  [static]
void SoSplitTexture2Part::rayPick ( SoRayPickAction *   )  [protected]
void SoSplitTexture2Part::removeImageData (  )  [protected]
SoSplitTexture2Part::SO_NODE_HEADER ( SoSplitTexture2Part   )  [private]

Member Data Documentation

SbPList SoSplitTexture2Part::imagedata_ [protected]
SoElement* SoSplitTexture2Part::matchinfo_ [protected]
SoFieldSensor* SoSplitTexture2Part::originsensor_ [protected]