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

GLImageTexture.h

Go to the documentation of this file.
00001 
00002 //                            GLImageTexture.h                                //
00004 
00005 #ifndef GLIMAGETEXTURE_H
00006 #define GLIMAGETEXTURE_H
00007 
00008 #include "X3DGLTexture2DNode.h"
00009 
00010 namespace X3DTK {
00011 
00012 class ImageTexture;
00013 
00016 
00017 class GLImageTexture : public X3DGLTexture2DNode
00018 {
00019 public:
00021   GLImageTexture();
00023   virtual SFNode clone() const;
00025   ~GLImageTexture();
00026   
00028   inline GLuint &getTexName() const {return (GLuint &)_texName;};
00030   inline MFFloat &getTextureTransform() const {return (MFFloat &)_textureTransform;};
00031 
00032 protected:  
00034   GLImageTexture(const GLImageTexture &I);
00035   
00036 private:
00037   //GL attributes
00038   GLuint _texName;
00039   MFFloat _textureTransform;
00040 };
00041 
00042 }
00043 
00044 #endif

Generated on Wed May 14 10:38:09 2003 for X3DToolKit by doxygen1.3