#include <AImage.h>
Inheritance diagram for CImage:
Public Member Functions | |
CImage () | |
CImage (int w, int h) | |
CImage (const string &in_file_name, FILE_TYPE ft=PPM) | |
CImage (const CImage &image) | |
CImage (const CImage &i, int p1, int p2, int p3, int p4, bool p5) | |
void | setRedPixel (int i, int j, int v) |
void | setRedPixel (int n, int v) |
void | setBluePixel (int i, int j, int v) |
void | setBluePixel (int n, int v) |
void | setGreenPixel (int i, int j, int v) |
void | setGreenPixel (int n, int v) |
void | setRedPixelCliped (int n, int v) |
void | setRedPixelCliped (int i, int j, int v) |
void | setBluePixelCliped (int n, int v) |
void | setBluePixelCliped (int i, int j, int v) |
void | setGreenPixelCliped (int n, int v) |
void | setGreenPixelCliped (int i, int j, int v) |
virtual unsigned char | getRedPixel (int i, int j) const |
virtual unsigned char | getRedPixel (int n) const |
virtual unsigned char | getBluePixel (int i, int j) const |
virtual unsigned char | getBluePixel (int n) const |
virtual unsigned char | getGreenPixel (int i, int j) const |
virtual unsigned char | getGreenPixel (int n) const |
const GRImage & | getRedImage () const |
const GRImage & | getGreenImage () const |
const GRImage & | getBlueImage () const |
void | saveTo (const string &file_name) |
IMAGE_TYPE | getType () const |
Protected Member Functions | |
CImage & | operator= (const CImage &) |
void | printOnPPM (ostream &out) const |
void | readFromPPM (istream &in) |
Protected Attributes | |
GRImage | redImage |
GRImage | blueImage |
GRImage | greenImage |
Friends | |
class | CLUTImage |
Definition at line 237 of file AImage.h.
|
|
|
|
|
|
|
|
|
|
|
Definition at line 299 of file AImage.h. References blueImage. |
|
Reimplemented in CLUTImage. Definition at line 290 of file AImage.h. References blueImage, and GRImage::getPixel(). |
|
Reimplemented in CLUTImage. Definition at line 289 of file AImage.h. References blueImage, and GRImage::getPixel(). Referenced by CLUTImage::getBluePixel(). |
|
Definition at line 297 of file AImage.h. References greenImage. |
|
Reimplemented in CLUTImage. Definition at line 293 of file AImage.h. References GRImage::getPixel(), and greenImage. |
|
Reimplemented in CLUTImage. Definition at line 292 of file AImage.h. References GRImage::getPixel(), and greenImage. Referenced by CLUTImage::getGreenPixel(). |
|
Definition at line 295 of file AImage.h. References redImage. |
|
Reimplemented in CLUTImage. Definition at line 287 of file AImage.h. References GRImage::getPixel(), and redImage. |
|
Reimplemented in CLUTImage. Definition at line 286 of file AImage.h. References GRImage::getPixel(), and redImage. Referenced by CLUTImage::getRedPixel(). |
|
Implements AImage. Definition at line 305 of file AImage.h. References COLOR. |
|
|
|
|
|
|
|
Implements AImage. |
|
Definition at line 270 of file AImage.h. References blueImage, and GRImage::setPixel(). |
|
Definition at line 269 of file AImage.h. References blueImage, and GRImage::setPixel(). Referenced by WordDraw::WordDraw(). |
|
Definition at line 279 of file AImage.h. References blueImage, and GRImage::setPixelCliped(). |
|
Definition at line 278 of file AImage.h. References blueImage, and GRImage::setPixelCliped(). |
|
Definition at line 273 of file AImage.h. References greenImage, and GRImage::setPixel(). |
|
Definition at line 272 of file AImage.h. References greenImage, and GRImage::setPixel(). Referenced by WordDraw::WordDraw(). |
|
Definition at line 282 of file AImage.h. References greenImage, and GRImage::setPixelCliped(). |
|
Definition at line 281 of file AImage.h. References greenImage, and GRImage::setPixelCliped(). |
|
Definition at line 267 of file AImage.h. References redImage, and GRImage::setPixel(). |
|
Definition at line 266 of file AImage.h. References redImage, and GRImage::setPixel(). Referenced by WordDraw::WordDraw(). |
|
Definition at line 276 of file AImage.h. References redImage, and GRImage::setPixelCliped(). |
|
Definition at line 275 of file AImage.h. References redImage, and GRImage::setPixelCliped(). |
|
|
|
Definition at line 321 of file AImage.h. Referenced by getBlueImage(), getBluePixel(), setBluePixel(), and setBluePixelCliped(). |
|
Definition at line 322 of file AImage.h. Referenced by getGreenImage(), getGreenPixel(), setGreenPixel(), and setGreenPixelCliped(). |
|
Definition at line 320 of file AImage.h. Referenced by getRedImage(), getRedPixel(), setRedPixel(), and setRedPixelCliped(). |