GRImage Class Reference
#include <AImage.h>
List of all members.
Public Member Functions |
| GRImage () |
| GRImage (int w, int h) |
| GRImage (const string &in_file_name) |
| GRImage (const GRImage &image) |
| GRImage (const GRImage &, int, int, int, int, bool) |
| ~GRImage () |
void | setPixel (int i, int j, int v) |
virtual int | getPixel (int i, int j) const |
void | setPixel (int n, int v) |
void | setPixelCliped (int n, int v) |
void | setPixelCliped (int i, int j, int v) |
virtual int | getPixel (int n) const |
void | saveTo (const string &file_name) |
IMAGE_TYPE | getType () const |
GRImage & | operator= (const GRImage &) |
Protected Member Functions |
virtual void | printOnPGM (ostream &out) const |
virtual void | printOnBW (ostream &) const |
void | readFromBW (istream &in) |
void | readFromPGM (istream &in) |
Protected Attributes |
unsigned char * | image_string |
Friends |
class | GRLUTImage |
Detailed Description
Definition at line 135 of file AImage.h.
Constructor & Destructor Documentation
GRImage::GRImage |
( |
|
) |
[inline] |
GRImage::GRImage |
( |
int |
w, |
|
|
int |
h | |
|
) |
| | [inline] |
GRImage::GRImage |
( |
const string & |
in_file_name |
) |
|
GRImage::GRImage |
( |
const GRImage & |
image |
) |
|
GRImage::GRImage |
( |
const GRImage & |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
bool |
| |
|
) |
| | |
Member Function Documentation
virtual int GRImage::getPixel |
( |
int |
n |
) |
const [virtual] |
virtual int GRImage::getPixel |
( |
int |
i, |
|
|
int |
j | |
|
) |
| | const [virtual] |
IMAGE_TYPE GRImage::getType |
( |
|
) |
const [inline, virtual] |
virtual void GRImage::printOnBW |
( |
ostream & |
|
) |
const [protected, virtual] |
virtual void GRImage::printOnPGM |
( |
ostream & |
out |
) |
const [protected, virtual] |
void GRImage::readFromBW |
( |
istream & |
in |
) |
[protected] |
void GRImage::readFromPGM |
( |
istream & |
in |
) |
[protected] |
void GRImage::saveTo |
( |
const string & |
file_name |
) |
[virtual] |
void GRImage::setPixel |
( |
int |
n, |
|
|
int |
v | |
|
) |
| | |
void GRImage::setPixel |
( |
int |
i, |
|
|
int |
j, |
|
|
int |
v | |
|
) |
| | |
void GRImage::setPixelCliped |
( |
int |
i, |
|
|
int |
j, |
|
|
int |
v | |
|
) |
| | |
void GRImage::setPixelCliped |
( |
int |
n, |
|
|
int |
v | |
|
) |
| | |
Friends And Related Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: