Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

GL_ImageTexture.h

Go to the documentation of this file.
00001 
00002 //                            GL_ImageTexture.h                               //
00004 
00005 #ifndef GLIMAGETEXTURE_H
00006 #define GLIMAGETEXTURE_H
00007 
00008 #include "GL_X3DTexture2DNode.h"
00009 
00010 namespace X3DTK {
00011 namespace GL {
00012 
00013 class ImageTexture;
00014 
00017 
00018 class ImageTexture : public X3DTexture2DNode
00019 {
00020 public:
00022   ImageTexture();
00024   virtual SFNode clone() const;
00026   virtual ~ImageTexture();
00027   
00029   inline const GLuint &getTexName() const {return _texName;};
00031   const float (&getTextureTransform() const)[16] {return _textureTransform;};
00032 
00034   virtual void update();
00035   
00036 protected:  
00038   ImageTexture(const ImageTexture &I);
00039 
00040 private:  
00042   GLuint _texName;
00044   float _textureTransform[16];
00045 };
00046 
00047 }
00048 }
00049 
00050 #endif

Generated on Thu Dec 4 13:25:45 2003 for X3DToolKit by doxygen1.2.18