gk::HDRPixel Struct Reference

representation d'un pixel 'hdr' rgba. More...

#include <Image.h>

List of all members.

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

Detailed Description

representation d'un pixel 'hdr' rgba.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Friends
Generated on Mon Jan 9 15:57:18 2012 for gKitGL by  doxygen 1.6.3