|
Open CASCADE Technology
6.5.4
|
Image class that support file reading/writing operations using auxiliary image library. Notice that supported images format could be limited.
#include <Image_AlienPixMap.hxx>

Public Member Functions | |
| Image_AlienPixMap () | |
| Empty constructor. | |
| virtual | ~Image_AlienPixMap () |
| Destructor. | |
| bool | Load (const TCollection_AsciiString &theFileName) |
| Read image data from file. | |
| bool | Save (const TCollection_AsciiString &theFileName) |
| Write image data to file using file extension to determine compression format. | |
| virtual bool | InitTrash (ImgFormat thePixelFormat, const Standard_Size theSizeX, const Standard_Size theSizeY, const Standard_Size theSizeRowBytes=0) |
| Initialize image plane with required dimensions. thePixelFormat - if specified pixel format doesn't supported by image library than nearest supported will be used instead! theSizeRowBytes - may be ignored by this class and required alignemnt will be used instead! | |
| virtual bool | InitCopy (const Image_PixMap &theCopy) |
| Initialize by copying data. | |
| virtual void | Clear (ImgFormat thePixelFormat=ImgGray) |
| Method correctly deallocate internal buffer. | |
| bool | AdjustGamma (const Standard_Real theGammaCorr) |
| Performs gamma correction on image. theGamma - gamma value to use; a value of 1.0 leaves the image alone. | |
| virtual Image_AlienPixMap::~Image_AlienPixMap | ( | ) | [virtual] |
| bool Image_AlienPixMap::AdjustGamma | ( | const Standard_Real | theGammaCorr | ) |
| virtual void Image_AlienPixMap::Clear | ( | ImgFormat | thePixelFormat = ImgGray | ) | [virtual] |
Reimplemented from Image_PixMap.
| virtual bool Image_AlienPixMap::InitCopy | ( | const Image_PixMap & | theCopy | ) | [virtual] |
Reimplemented from Image_PixMap.
| virtual bool Image_AlienPixMap::InitTrash | ( | ImgFormat | thePixelFormat, |
| const Standard_Size | theSizeX, | ||
| const Standard_Size | theSizeY, | ||
| const Standard_Size | theSizeRowBytes = 0 |
||
| ) | [virtual] |
Reimplemented from Image_PixMap.
| bool Image_AlienPixMap::Load | ( | const TCollection_AsciiString & | theFileName | ) |
| bool Image_AlienPixMap::Save | ( | const TCollection_AsciiString & | theFileName | ) |
1.8.0