1 #ifndef COIN_SOTEXTUREIMAGEELEMENT_H 
    2 #define COIN_SOTEXTUREIMAGEELEMENT_H 
   27 #include <Inventor/elements/SoReplacedElement.h> 
   28 #include <Inventor/SbVec2s.h> 
   29 #include <Inventor/SbVec3s.h> 
   30 #include <Inventor/SbColor.h> 
   39   static void initClass(
void);
 
   60     CLAMP_TO_BORDER = 0x812D
 
   65   static void setDefault(
SoState * 
const state, 
SoNode * 
const node);
 
   68                   const SbVec2s & size, 
const int numComponents,
 
   69                   const unsigned char * bytes,
 
   70                   const int wrapS, 
const int wrapT,
 
   71                   const int model, 
const SbColor & blendColor);
 
   73                   const SbVec3s & size, 
const int numComponents,
 
   74                   const unsigned char * bytes,
 
   75                   const int wrapS, 
const int wrapT, 
const int wrapR,
 
   76                   const int model, 
const SbColor & blendColor);
 
   79                   const SbVec2s & size, 
const int numComponents,
 
   80                   const unsigned char * bytes,
 
   81                   const Wrap wrapS, 
const Wrap wrapT,
 
   82                   const Model model, 
const SbColor & blendColor);
 
   84                   const SbVec3s & size, 
const int numComponents,
 
   85                   const unsigned char * bytes,
 
   86                   const Wrap wrapS, 
const Wrap wrapT, 
const Wrap wrapR,
 
   87                   const Model model, 
const SbColor & blendColor);
 
   89   static const unsigned char *
get(
SoState * 
const state,
 
   96   static const unsigned char *
get(
SoState * 
const state,
 
  105   static const unsigned char *
get(
SoState * 
const state,
 
  112   static const unsigned char *
get(
SoState * 
const state,
 
  122   static const unsigned char *getImage(
SoState * 
const state,
 
  125   static const unsigned char *getImage(
SoState * 
const state,
 
  128   static Model getModel(
SoState * 
const state);
 
  129   static Wrap getWrapS(
SoState * 
const state);
 
  130   static Wrap getWrapT(
SoState * 
const state);
 
  131   static Wrap getWrapR(
SoState * 
const state);
 
  133   static SbBool containsTransparency(
SoState * 
const state);
 
  135   static const unsigned char *getDefault(
SbVec2s & size, 
int & numComponents);
 
  136   static const unsigned char *getDefault(
SbVec3s & size, 
int & numComponents);
 
  139   virtual void setElt(
const SbVec2s & size, 
const int numComponents,
 
  140                       const unsigned char * bytes,
 
  141                       const Wrap wrapS, 
const Wrap wrapT,
 
  142                       const Model model, 
const SbColor & blendColor);
 
  143   virtual void setElt(
const SbVec3s & size, 
const int numComponents,
 
  144                       const unsigned char * bytes,
 
  145                       const Wrap wrapS, 
const Wrap wrapT, 
const Wrap wrapR,
 
  146                       const Model model, 
const SbColor & blendColor);
 
  148   virtual SbBool hasTransparency(
void) 
const;
 
  158   void setDefaultValues(
void);
 
  162 #endif // !COIN_SOTEXTUREIMAGEELEMENT_H 
SbVec3s size
Definition: SoTextureImageElement.h:150
The SbColor class contains the red, green and blue components which make up a color value...
Definition: SbColor.h:30
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
SoElement is the abstract base class for all elements. 
Definition: SoElement.h:34
Model model
Definition: SoTextureImageElement.h:154
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:35
virtual void init(SoState *state)
Definition: SoReplacedElement.cpp:79
Wrap
Definition: SoTextureImageElement.h:54
The SbVec3s class is a 3 dimensional vector with short integer coordinates.This vector class provides...
Definition: SbVec3s.h:39
const unsigned char * bytes
Definition: SoTextureImageElement.h:152
The SoReplacedElement class is an abstract element superclass.This is the superclass of all elements ...
Definition: SoReplacedElement.h:30
Wrap wrapT
Definition: SoTextureImageElement.h:153
The SoTextureImageElement class is yet to be documented.FIXME: write doc. 
Definition: SoTextureImageElement.h:34
Model
Definition: SoTextureImageElement.h:44
int numComponents
Definition: SoTextureImageElement.h:151
SbColor blendColor
Definition: SoTextureImageElement.h:155
The SbVec2s class is a 2 dimensional vector with short integer coordinates.This vector class is used ...
Definition: SbVec2s.h:41