00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef COIN_SOVRMLPIXELTEXTURE_H
00025 #define COIN_SOVRMLPIXELTEXTURE_H
00026
00027 #include <Inventor/nodes/SoSubNode.h>
00028 #include <Inventor/VRMLnodes/SoVRMLTexture.h>
00029 #include <Inventor/fields/SoSFImage.h>
00030
00031 class SoVRMLPixelTextureP;
00032
00033 class COIN_DLL_API SoVRMLPixelTexture : public SoVRMLTexture
00034 {
00035 typedef SoVRMLTexture inherited;
00036 SO_NODE_HEADER(SoVRMLPixelTexture);
00037
00038 public:
00039 static void initClass(void);
00040 SoVRMLPixelTexture(void);
00041
00042 SoSFImage image;
00043
00044 virtual void doAction(SoAction * action);
00045 virtual void GLRender(SoGLRenderAction * action);
00046 virtual void callback(SoCallbackAction * action);
00047 virtual void rayPick(SoRayPickAction * action);
00048
00049 protected:
00050 virtual ~SoVRMLPixelTexture();
00051
00052 virtual SbBool readInstance( SoInput * in, unsigned short flags );
00053 virtual void notify(SoNotList * list);
00054
00055
00056 private:
00057 SoVRMLPixelTextureP * pimpl;
00058 };
00059
00060 #endif // ! COIN_SOVRMLPIXELTEXTURE_H