00001 #ifndef _COLORMAPLOADER_H_ 00002 #define _COLORMAPLOADER_H_ 00003 00004 #include <GL/gl.h> 00005 00006 #include "SDL.h" 00007 #include "SDL_image.h" 00008 00009 00010 #include "FileLoader.h" 00011 #include "ColorMapObject.h" 00012 00020 class ColorMapLoader : public FileLoader 00021 { 00022 public: 00023 ColorMapLoader(string filename); 00024 virtual ~ColorMapLoader(); 00025 00029 virtual void load(); 00030 vector < ColorMapObject * > getColorMapObjects() { return _colorMapObjects; } 00031 00032 protected: 00033 vector < ColorMapObject * > _colorMapObjects; 00034 }; 00035 00036 #endif