Open Inventor Reference
SoTextureImageElement Class Reference

Element storing the current texture image.

#include <Inventor/elements/SoTextureImageElement.h>

Inheritance diagram for SoTextureImageElement:
SoReplacedElement SoElement SoGLTextureImageElement

List of all members.

Public Member Functions

virtual void init (SoState *state)
 Initializes element.
virtual void print (FILE *fp) const
 Print info about image for debugging.

Static Public Member Functions

static void set (SoState *state, SoNode *node, const SbVec2s &size, int numComponents, const unsigned char *bytes, int wrapS, int wrapT, int model, const SbColor &blendColor)
 sets the current image, wrap, and model:
static const unsigned char * get (SoState *state, SbVec2s &size, int &numComponents, int &wrapS, int &wrapT, int &model, SbColor &blendColor)
static SbBool containsTransparency (SoState *state)
 Returns TRUE if the texture contains transparency info.
static const unsigned char * getDefault (SbVec2s &s, int &nc)
 Returns the default texture image.
static void initClass ()
 Initializes the class.

Protected Member Functions

virtual void setElt (const SbVec2s &s, int nc, const unsigned char *bytes, int wrapS, int wrapT, int model, const SbColor &blendColor)
virtual ~SoTextureImageElement ()

Protected Attributes

SbVec2s size
int numComponents
const unsigned char * bytes
int wrapS
int wrapT
int model
SbColor blendColor

Detailed Description

Definition at line 70 of file SoTextureImageElement.h.


Constructor & Destructor Documentation

virtual SoTextureImageElement::~SoTextureImageElement ( ) [protected, virtual]

Member Function Documentation

static SbBool SoTextureImageElement::containsTransparency ( SoState state) [static]
static const unsigned char* SoTextureImageElement::get ( SoState state,
SbVec2s size,
int &  numComponents,
int &  wrapS,
int &  wrapT,
int &  model,
SbColor blendColor 
) [static]
static const unsigned char* SoTextureImageElement::getDefault ( SbVec2s s,
int &  nc 
) [static]
virtual void SoTextureImageElement::init ( SoState state) [virtual]

Reimplemented from SoReplacedElement.

Reimplemented in SoGLTextureImageElement.

static void SoTextureImageElement::initClass ( ) [static]

Reimplemented from SoReplacedElement.

Reimplemented in SoGLTextureImageElement.

virtual void SoTextureImageElement::print ( FILE *  fp) const [virtual]

Reimplemented from SoReplacedElement.

static void SoTextureImageElement::set ( SoState state,
SoNode node,
const SbVec2s size,
int  numComponents,
const unsigned char *  bytes,
int  wrapS,
int  wrapT,
int  model,
const SbColor blendColor 
) [static]
virtual void SoTextureImageElement::setElt ( const SbVec2s s,
int  nc,
const unsigned char *  bytes,
int  wrapS,
int  wrapT,
int  model,
const SbColor blendColor 
) [protected, virtual]

Reimplemented in SoGLTextureImageElement.


Member Data Documentation

Definition at line 113 of file SoTextureImageElement.h.

const unsigned char* SoTextureImageElement::bytes [protected]

Definition at line 111 of file SoTextureImageElement.h.

Definition at line 112 of file SoTextureImageElement.h.

Definition at line 110 of file SoTextureImageElement.h.

Definition at line 109 of file SoTextureImageElement.h.

Definition at line 112 of file SoTextureImageElement.h.

Definition at line 112 of file SoTextureImageElement.h.


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