#ifndef _IMAGE_H #define _IMAGE_H #include #include // Class definition for an Image.. class Image { public: // The big four Image(); Image(int, int); Image(const Image &); ~Image(); Image & operator =(const Image &); void rect (int, int, int, int); void setPixel (int , int ); void writePPM(char *) const; int getWidth() {return xdim;}; int getHeight() {return ydim;}; private: vector pixels; int xdim; int ydim; }; #endif