basic/geometry/IGS/IGS_Texture.h

Go to the documentation of this file.
00001 #ifndef _IGS_TEXTURE_H_
00002 #define _IGS_TEXTURE_H_
00003 
00004 #include "opengl/glos.h"
00005 #include <gl/gl.h>
00006 #include <gl/glaux.h>
00007 
00008 class IGS_Texture
00009 {
00010 public:
00011         IGS_Texture();
00012         ~IGS_Texture();
00013         void LoadFromDisk();
00014         void MakeActive() const;
00015         void SetFilename( const char* name );
00016 protected:
00017         const unsigned char* GetBuffer() const;
00018         int GetSizeX() const;
00019         int GetSizeY() const;
00020 
00021         char* mFilename;
00022         AUX_RGBImageRec* mImage;
00023         GLuint mTextureNumber;
00024 };
00025 
00026 #endif

Generated on Sat Apr 1 21:30:33 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO