This is the basic DKL pixel class. More...
#include <Image/PixelsTypes.H>
Public Member Functions | |
PixDKL (const T val) | |
template<class T2 > | |
PixDKL (const PixRGB< T2 > &A) | |
template<class T2 > | |
PixDKL (const PixDKL< T2 > &A) | |
PixDKL (const PixDKL< T > &pix) | |
construct pixel from another. Defined here for tech reasons | |
PixDKL (const T Dval, const T Kval, const T Lval) | |
Construct a pixel with given values for D, K, L. | |
template<class T2 , class T3 , class T4 > | |
PixDKL (const T2 Dval, const T3 Kval, const T4 Lval) | |
Construct from given values, clamping & convertPixing as needed. | |
void | getDKL (T &d, T &k, T &l) const |
T | D () const |
Access hue channel. | |
T | K () const |
Access sat channel. | |
T | L () const |
Access val channel. | |
template<class T2 > | |
void | setD (const T2 D) |
Set hue channel value, clamping & converting as necessary. | |
template<class T2 > | |
void | setK (const T2 K) |
Set sat channel value, clamping & converting as necessary. | |
template<class T2 > | |
void | setL (const T2 L) |
Set val channel value, clamping & converting as necessary. | |
Static Public Attributes | |
static const enum PixType | pType = PixTypeDKL |
static const size_t | myDim = 3 |
This is the basic DKL pixel class.
Derived DKL pixel class from Pixels
Definition at line 1299 of file PixelsTypes.H.
construct pixel from another. Defined here for tech reasons
Definition at line 3919 of file PixelsTypes.H.
Construct a pixel with given values for D, K, L.
Definition at line 3944 of file PixelsTypes.H.
PixDKL< T >::PixDKL | ( | const T2 | Dval, | |
const T3 | Kval, | |||
const T4 | Lval | |||
) | [inline] |
Construct from given values, clamping & convertPixing as needed.
Definition at line 3951 of file PixelsTypes.H.
T PixDKL< T >::D | ( | ) | const [inline] |
Access hue channel.
Definition at line 3960 of file PixelsTypes.H.
Referenced by convertToString(), and getDKL().
T PixDKL< T >::K | ( | ) | const [inline] |
Access sat channel.
Definition at line 3967 of file PixelsTypes.H.
Referenced by convertToString(), and getDKL().
T PixDKL< T >::L | ( | ) | const [inline] |
Access val channel.
Definition at line 3974 of file PixelsTypes.H.
Referenced by convertToString(), and getDKL().
Set hue channel value, clamping & converting as necessary.
Definition at line 3981 of file PixelsTypes.H.
Referenced by convertFromString().
Set sat channel value, clamping & converting as necessary.
Definition at line 3988 of file PixelsTypes.H.
Referenced by convertFromString().
Set val channel value, clamping & converting as necessary.
Definition at line 3995 of file PixelsTypes.H.
Referenced by convertFromString().