Open CASCADE Technology 6.6.0
Public Member Functions
Image_AlienPixMap Class Reference

Image class that support file reading/writing operations using auxiliary image library. Supported image formats: More...

#include <Image_AlienPixMap.hxx>

Inheritance diagram for Image_AlienPixMap:
Inheritance graph
[legend]

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.

Detailed Description


Constructor & Destructor Documentation

Image_AlienPixMap::Image_AlienPixMap ( )
virtual Image_AlienPixMap::~Image_AlienPixMap ( ) [virtual]

Member Function Documentation

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)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines