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

SoRGBATextureChannel2RGBA Class Reference

List of all members.

Public Member Functions

 SoRGBATextureChannel2RGBA ()
const SbImagei32getRGBA (int rgba) const

Static Public Member Functions

static void initClass ()

Public Attributes

SoMFBool enabled

Protected Member Functions

 ~SoRGBATextureChannel2RGBA ()
void sendRGBA (SoState *)
void getTransparencyStatus (const SbImagei32 *channels, long size, int channelidx, char &fullyopaque, char &fullytrans) const
void computeRGBA (const SbImagei32 *channels, int start, int stop, int firstchannel, int lastchannel)
void GLRender (SoGLRenderAction *)

Static Protected Member Functions

static void fieldChangeCB (void *data, SoSensor *)

Protected Attributes

SbImagei32 rgba_ [4]
char ti_
SoElement * matchinfo_
int prevnodeid_

Private Member Functions

 SO_NODE_HEADER (SoRGBATextureChannel2RGBA)

Detailed Description

Reads any number of texture channels from the state, merges them with one colorsequence per channel, and outputs 4 texture channels (RGBA) on the state.


Constructor & Destructor Documentation

SoRGBATextureChannel2RGBA::SoRGBATextureChannel2RGBA (  ) 
SoRGBATextureChannel2RGBA::~SoRGBATextureChannel2RGBA (  )  [protected]

Member Function Documentation

void SoRGBATextureChannel2RGBA::computeRGBA ( const SbImagei32 channels,
int  start,
int  stop,
int  firstchannel,
int  lastchannel 
) [protected]
static void SoRGBATextureChannel2RGBA::fieldChangeCB ( void *  data,
SoSensor *   
) [static, protected]
const SbImagei32& SoRGBATextureChannel2RGBA::getRGBA ( int  rgba  )  const
Parameters:
rgba is 0 for red, 1 for green, 2 for blue and 3 for opacity.
void SoRGBATextureChannel2RGBA::getTransparencyStatus ( const SbImagei32 channels,
long  size,
int  channelidx,
char &  fullyopaque,
char &  fullytrans 
) const [protected]
void SoRGBATextureChannel2RGBA::GLRender ( SoGLRenderAction *   )  [protected]
static void SoRGBATextureChannel2RGBA::initClass (  )  [static]
void SoRGBATextureChannel2RGBA::sendRGBA ( SoState *   )  [protected]
SoRGBATextureChannel2RGBA::SO_NODE_HEADER ( SoRGBATextureChannel2RGBA   )  [private]

Member Data Documentation

SoElement* SoRGBATextureChannel2RGBA::matchinfo_ [protected]