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

fl::PixelFormatHLSFloat Class Reference

#include <image.h>

Inheritance diagram for fl::PixelFormatHLSFloat:

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

Public Methods

 PixelFormatHLSFloat ()
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 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.

float HLSvalue (const float &n1, const float &n2, float h) const
 Subroutine of getRGBA(floats).


Constructor & Destructor Documentation

PixelFormatHLSFloat::PixelFormatHLSFloat  
 


Member Function Documentation

void PixelFormatHLSFloat::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 PixelFormatHLSFloat::getRGBA void *    pixel const [virtual]
 

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

Implements fl::PixelFormat.

float PixelFormatHLSFloat::HLSvalue const float &    n1,
const float &    n2,
float    h
const [inline]
 

Subroutine of getRGBA(floats).

void PixelFormatHLSFloat::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 PixelFormatHLSFloat::setRGBA void *    pixel,
unsigned int    rgba
const [virtual]
 

Implements 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