1 #ifndef COIN_SOTEXTURE2_H
2 #define COIN_SOTEXTURE2_H
27 #include <Inventor/nodes/SoSubNode.h>
28 #include <Inventor/nodes/SoTexture.h>
29 #include <Inventor/fields/SoSFEnum.h>
30 #include <Inventor/fields/SoSFImage.h>
31 #include <Inventor/fields/SoSFString.h>
32 #include <Inventor/fields/SoSFColor.h>
33 #include <Inventor/fields/SoSFBool.h>
34 #include <Inventor/elements/SoTextureImageElement.h>
46 static void initClass(
void);
50 MODULATE = SoTextureImageElement::MODULATE,
51 DECAL = SoTextureImageElement::DECAL,
52 BLEND = SoTextureImageElement::BLEND,
53 REPLACE = SoTextureImageElement::REPLACE
57 REPEAT = SoTextureImageElement::REPEAT,
58 CLAMP = SoTextureImageElement::CLAMP
69 virtual void doAction(
SoAction * action);
74 static SbBool readImage(
const SbString & fname,
int & w,
int & h,
int & nc,
75 unsigned char *& bytes);
79 virtual SbBool readInstance(
SoInput * in,
unsigned short flags);
81 int getReadStatus(
void);
82 void setReadStatus(
int s);
85 SbBool loadFilename(
void);
86 static void filenameSensorCB(
void *,
SoSensor *);
91 #endif // !COIN_SOTEXTURE2_H