39 #ifndef LVR2_PPMIO_HPP_ 40 #define LVR2_PPMIO_HPP_ 49 using std::stringstream;
66 void write(
string filename );
67 void setDataArray(
unsigned char* array,
int width,
int height );
83 void readLine( ifstream & in,
char* buffer );
An implementation of the PPM file format.
void readLine(ifstream &in, char *buffer)
void write(string filename)
void setDataArray(unsigned char *array, int width, int height)
unsigned char * getPixels() const