00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef COIN_SOTEXTURECOORDINATEENVIRONMENT_H
00021
#define COIN_SOTEXTURECOORDINATEENVIRONMENT_H
00022
00023
#include <Inventor/nodes/SoSubNode.h>
00024
#include <Inventor/nodes/SoTextureCoordinateFunction.h>
00025
#include <Inventor/SbVec4f.h>
00026
00027
00028 class COIN_DLL_API SoTextureCoordinateEnvironment :
public SoTextureCoordinateFunction {
00029
typedef SoTextureCoordinateFunction inherited;
00030
00031 SO_NODE_HEADER(SoTextureCoordinateEnvironment);
00032
00033
public:
00034
static void initClass(
void);
00035 SoTextureCoordinateEnvironment(
void);
00036
00037
virtual void doAction(
SoAction * action);
00038
virtual void GLRender(
SoGLRenderAction * action);
00039
virtual void pick(
SoPickAction * action);
00040
virtual void callback(
SoCallbackAction * action);
00041
00042
protected:
00043
virtual ~SoTextureCoordinateEnvironment();
00044
00045
private:
00046
static const SbVec4f &generate(
void * userdata,
00047
const SbVec3f & p,
00048
const SbVec3f & n);
00049
static void handleTexgen(
void *data);
00050 };
00051
00052
#endif // !COIN_SOTEXTURECOORDINATEENVIRONMENT_H