Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

fl::PixelFormatGrayFloat Class Reference

#include <image.h>

Inheritance diagram for fl::PixelFormatGrayFloat:

fl::PixelFormat fl::Filter List of all members.

Public Methods

 PixelFormatGrayFloat ()
virtual Image filter (const Image &image)
 Return an Image in this format.

void fromGrayChar (const Image &image, Image &result) const
void fromGrayDouble (const Image &image, Image &result) const
void fromRGBAChar (const Image &image, Image &result) const
void fromRGBABits (const Image &image, Image &result) const
void fromAny (const Image &image, Image &result) const
virtual unsigned int getRGBA (void *pixel) const
 Return value is always assumed to be non-linear sRGB. Same for other RGB methods below.

virtual void getRGBA (void *pixel, float values[]) const
 "values" must have at least four elements. Each returned value is in [0,1].

virtual void getXYZ (void *pixel, float values[]) const
virtual unsigned char getGray (void *pixel) const
virtual void getGray (void *pixel, float &gray) const
virtual void setRGBA (void *pixel, unsigned int rgba) const
virtual void setRGBA (void *pixel, float values[]) const
 Each value must be in [0,1]. Values outside this range will be clamped and modified directly in the array.

virtual void setXYZ (void *pixel, float values[]) const
virtual void setGray (void *pixel, unsigned char gray) const
virtual void setGray (void *pixel, float gray) const

Constructor & Destructor Documentation

PixelFormatGrayFloat::PixelFormatGrayFloat  
 


Member Function Documentation

Image PixelFormatGrayFloat::filter const Image   image [virtual]
 

Return an Image in this format.

Reimplemented from fl::PixelFormat.

void PixelFormatGrayFloat::fromAny const Image   image,
Image   result
const
 

Reimplemented from fl::PixelFormat.

void PixelFormatGrayFloat::fromGrayChar const Image   image,
Image   result
const
 

void PixelFormatGrayFloat::fromGrayDouble const Image   image,
Image   result
const
 

void PixelFormatGrayFloat::fromRGBABits const Image   image,
Image   result
const
 

void PixelFormatGrayFloat::fromRGBAChar const Image   image,
Image   result
const
 

void PixelFormatGrayFloat::getGray void *    pixel,
float &    gray
const [virtual]
 

Reimplemented from fl::PixelFormat.

unsigned char PixelFormatGrayFloat::getGray void *    pixel const [virtual]
 

Reimplemented from fl::PixelFormat.

void PixelFormatGrayFloat::getRGBA void *    pixel,
float    values[]
const [virtual]
 

"values" must have at least four elements. Each returned value is in [0,1].

Reimplemented from fl::PixelFormat.

unsigned int PixelFormatGrayFloat::getRGBA void *    pixel const [virtual]
 

Return value is always assumed to be non-linear sRGB. Same for other RGB methods below.

Implements fl::PixelFormat.

void PixelFormatGrayFloat::getXYZ void *    pixel,
float    values[]
const [virtual]
 

Reimplemented from fl::PixelFormat.

void PixelFormatGrayFloat::setGray void *    pixel,
float    gray
const [virtual]
 

Reimplemented from fl::PixelFormat.

void PixelFormatGrayFloat::setGray void *    pixel,
unsigned char    gray
const [virtual]
 

Reimplemented from fl::PixelFormat.

void PixelFormatGrayFloat::setRGBA void *    pixel,
float    values[]
const [virtual]
 

Each value must be in [0,1]. Values outside this range will be clamped and modified directly in the array.

Reimplemented from fl::PixelFormat.

void PixelFormatGrayFloat::setRGBA void *    pixel,
unsigned int    rgba
const [virtual]
 

Implements fl::PixelFormat.

void PixelFormatGrayFloat::setXYZ void *    pixel,
float    values[]
const [virtual]
 

Reimplemented from fl::PixelFormat.


The documentation for this class was generated from the following files:
Generated on Thu Dec 9 17:13:26 2004 for fl by doxygen1.2.18