ImagePPM Class Reference

#include <imageppm.h>

List of all members.


Detailed Description

Definition at line 42 of file imageppm.h.

Public Member Functions

 ImagePPM ()
 ImagePPM (int width, int height, unsigned char *data)
 data must contain width*height*3 (RGB) values!
 ~ImagePPM ()
int loadImage (char *filename)
int storeImage (char *filename)
int width ()
int height ()
unsigned char * data ()


Constructor & Destructor Documentation

ImagePPM (   ) 
 

Definition at line 70 of file imageppm.cpp.

ImagePPM (  int  width,
int  height,
unsigned char *  data
) 
 

data must contain width*height*3 (RGB) values!

Definition at line 74 of file imageppm.cpp.

~ImagePPM (   ) 
 

Definition at line 154 of file imageppm.cpp.


Member Function Documentation

unsigned char* data (   )  [inline]
 

Definition at line 57 of file imageppm.h.

int height (   )  [inline]
 

Definition at line 56 of file imageppm.h.

int loadImage (  char *  filename  ) 
 

Definition at line 81 of file imageppm.cpp.

int storeImage (  char *  filename  ) 
 

Definition at line 130 of file imageppm.cpp.

int width (   )  [inline]
 

Definition at line 55 of file imageppm.h.


Generated on Tue Apr 4 19:05:05 2006 for Robotsystem from Robot Group Leipzig by  doxygen 1.4.5