representation d'un pixel 'hdr' rgba. More...
#include <Image.h>
Public Types | |
enum | { d = 4 } |
typedef float | type |
Public Member Functions | |
HDRPixel () | |
par defaut, pixel noir. | |
HDRPixel (const float v, const float _a=1.f) | |
cree un pixel hdr vvva (gris). | |
HDRPixel (const float _r, const float _g, const float _b, const float _a=1.f) | |
cree un pixel hdr rgba. | |
HDRPixel (const Pixel &color) | |
cree un pixel hdr rgba [0 .. 1] a partir d'un pixel rgba [0 .. 255]. | |
Static Public Member Functions | |
static bool | isColorPixel () |
static bool | isHdrPixel () |
Public Attributes | |
float | r |
composantes publiques. | |
float | g |
float | b |
float | a |
representation d'un pixel 'hdr' rgba.