Robotsystem from Robot Group Leipzig: ImagePPM Class Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Alphabetical List
- Class Hierarchy
- Class Members

# 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.