1 #ifndef COIN_SOTEXTURECUBEMAP_H
2 #define COIN_SOTEXTURECUBEMAP_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/SoMFString.h>
32 #include <Inventor/fields/SoSFColor.h>
33 #include <Inventor/elements/SoTextureImageElement.h>
37 class SoTextureCubeMapP;
45 static void initClass(
void);
49 MODULATE = SoTextureImageElement::MODULATE,
50 DECAL = SoTextureImageElement::DECAL,
51 BLEND = SoTextureImageElement::BLEND,
52 REPLACE = SoTextureImageElement::REPLACE
56 REPEAT = SoTextureImageElement::REPEAT,
57 CLAMP = SoTextureImageElement::CLAMP
74 virtual void doAction(
SoAction * action);
79 static SbBool readImage(
const SbString & fname,
int & w,
int & h,
int & nc,
80 unsigned char *& bytes);
84 virtual SbBool readInstance(
SoInput * in,
unsigned short flags);
86 int getReadStatus(
void);
87 void setReadStatus(
int s);
91 static void filenameSensorCB(
void *,
SoSensor *);
94 SoTextureCubeMapP * pimpl;
97 #endif // !COIN_SOTEXTURECUBEMAP_H