#ifndef _IMAGEPGM_ #define _IMAGEPGM_ class imagePGM { public: GLubyte *dataGL; imagePGM (); imagePGM (int, int); imagePGM (char *); ~imagePGM (); void save (); int write (int, int, int); int read (int, int); void init (int); int rockImage (); int readMirror (int, int); int getWidth (); int getHeight (); int getSize (); private: char *name; int width; int height; int *data; imagePGM & operator = (const imagePGM &); }; #endif