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   void setTexName(GLuint texName);
00030   
00032   inline const GLuint &getTexName() const {return _texName;};
00034   const float (&getTextureTransform() const)[16] {return _textureTransform;};
00035 
00037   virtual void update();
00039   virtual void render() const;  
00040   
00041 protected:  
00043   ImageTexture(const ImageTexture &I);
00044 
00045 private:  
00047   GLuint _texName;
00049   float _textureTransform[16];
00050 };
00051 
00052 }
00053 }
00054 
00055 #endif

Generated on Thu Oct 9 13:50:53 2003 for X3DToolKit by doxygen1.2.18