Main Page | Modules | 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 #ifndef X3DTK_GL_IMAGETEXTURE_H
00002 #define X3DTK_GL_IMAGETEXTURE_H
00003 
00004 #include "GL_X3DTexture2DNode.h"
00005 
00006 namespace X3DTK {
00007 namespace GL {
00008 
00009 class ImageTexture;
00010 
00016  class ImageTexture : public X3DTexture2DNode
00017 {
00018 public:
00020   ImageTexture();
00022   virtual SFNode clone() const;
00024   virtual ~ImageTexture();
00025   
00027   inline const GLuint &getTexName() const {return _texName;};
00029   const float (&getTextureTransform() const)[16] {return _textureTransform;};
00030 
00032   virtual void update();
00033   
00034 protected:  
00036   ImageTexture(const ImageTexture &I);
00037 
00038 private:  
00040   GLuint _texName;
00042   float _textureTransform[16];
00043 };
00044 
00045 }
00046 }
00047 
00048 #endif

Generated on Wed Apr 7 12:15:19 2004 for X3DToolKit by doxygen 1.3.3