|
Hugin trunk 0.1
|
#include <ImageFile.h>

Public Member Functions | |
| ImageFile () | |
| virtual | ~ImageFile () |
| void | SetWidth (int w) |
| int | GetWidth () |
| void | SetHeight (int h) |
| int | GetHeight () |
| void | SetPixel (int x, int y, unsigned char p) |
| unsigned char | GetPixel (int x, int y) |
| int *** | GetRGBPixels (void) |
| void | SetPixels (float **) |
| float ** | GetPixels (void) |
| void | Allocate (int dataset) |
| void | Deallocate () |
| virtual int | Read (char *)=0 |
| virtual void | Write (char *)=0 |
Protected Attributes | |
| int *** | mRGB |
| unsigned char ** | mPixels |
| float ** | mFloats |
| int | mWidth |
| int | mHeight |
| bool | mVerbosity |
Definition at line 47 of file ImageFile.h.
| celeste::ImageFile::ImageFile | ( | ) |
Definition at line 33 of file ImageFile.cpp.
References mFloats, mHeight, mPixels, mRGB, mVerbosity, and mWidth.
|
virtual |
Definition at line 43 of file ImageFile.cpp.
References Deallocate().
Definition at line 50 of file ImageFile.cpp.
References celeste::kChars, celeste::kFloats, celeste::kRGB, mFloats, mHeight, mPixels, mRGB, and mWidth.
Referenced by GetPixels(), celeste::PGMImage::Read(), celeste::PGMImage::Write(), and celeste::PGMImage::WriteScaled().
| void celeste::ImageFile::Deallocate | ( | ) |
Definition at line 92 of file ImageFile.cpp.
References mFloats, mHeight, mPixels, and mRGB.
Referenced by celeste::PGMImage::Write(), celeste::PGMImage::WriteScaled(), and ~ImageFile().
|
inline |
Definition at line 60 of file ImageFile.h.
References mHeight.
Definition at line 120 of file ImageFile.cpp.
References mPixels.
Definition at line 139 of file ImageFile.cpp.
References Allocate(), celeste::kFloats, mFloats, mHeight, mPixels, and mWidth.
Definition at line 67 of file ImageFile.h.
References mRGB.
|
inline |
Definition at line 56 of file ImageFile.h.
References mWidth.
Implemented in celeste::PGMImage.
Definition at line 59 of file ImageFile.h.
References mHeight.
Definition at line 63 of file ImageFile.h.
References mPixels.
Definition at line 130 of file ImageFile.cpp.
Definition at line 55 of file ImageFile.h.
References mWidth.
Implemented in celeste::PGMImage.
|
protected |
Definition at line 83 of file ImageFile.h.
Referenced by Allocate(), Deallocate(), GetPixels(), and ImageFile().
|
protected |
Definition at line 85 of file ImageFile.h.
Referenced by Allocate(), Deallocate(), GetHeight(), GetPixels(), ImageFile(), celeste::PGMImage::Read(), SetHeight(), SetPixels(), celeste::PGMImage::Write(), celeste::PGMImage::Write(), and celeste::PGMImage::WriteScaled().
Definition at line 82 of file ImageFile.h.
Referenced by Allocate(), Deallocate(), GetPixel(), GetPixels(), ImageFile(), celeste::PGMImage::Read(), SetPixel(), SetPixels(), celeste::PGMImage::Write(), celeste::PGMImage::Write(), and celeste::PGMImage::WriteScaled().
|
protected |
Definition at line 81 of file ImageFile.h.
Referenced by Allocate(), Deallocate(), GetRGBPixels(), ImageFile(), and celeste::PGMImage::Read().
|
protected |
Definition at line 86 of file ImageFile.h.
Referenced by ImageFile(), celeste::PGMImage::Read(), and celeste::PGMImage::Write().
|
protected |
Definition at line 84 of file ImageFile.h.
Referenced by Allocate(), GetPixels(), GetWidth(), ImageFile(), celeste::PGMImage::Read(), SetPixels(), SetWidth(), celeste::PGMImage::Write(), celeste::PGMImage::Write(), and celeste::PGMImage::WriteScaled().