This is the basic XYZ pixel class. More...
#include <Image/PixelsTypes.H>
Public Member Functions | |
PixXYZ (const T val) | |
template<class T2 > | |
PixXYZ (const PixRGB< T2 > &A) | |
template<class T2 > | |
PixXYZ (const PixXYZ< T2 > &A) | |
template<class T2 > | |
PixXYZ (const PixHyper< T2, 3 > &A) | |
PixXYZ (const PixXYZ< T > &pix) | |
construct pixel from another. Defined here for tech reasons | |
PixXYZ (const T Xval, const T Yval, const T Zval) | |
Construct an RGB pixel with given values red, green, blue. | |
template<class T2 , class T3 , class T4 > | |
PixXYZ (const T2 Xval, const T3 Yval, const T4 Zval) | |
Construct from given values, clamping & convertPixing as needed. | |
void | getXYZ (T &x, T &y, T &z) const |
T | X () const |
Access hue channel. | |
T | Y () const |
Access sat channel. | |
T | Z () const |
Access val channel. | |
template<class T2 > | |
void | setX (const T2 X) |
Set hue channel value, clamping & converting as necessary. | |
template<class T2 > | |
void | setY (const T2 Y) |
Set sat channel value, clamping & converting as necessary. | |
template<class T2 > | |
void | setZ (const T2 Z) |
Set val channel value, clamping & converting as necessary. | |
Static Public Attributes | |
static const enum PixType | pType = PixTypeXYZ |
static const size_t | myDim = 3 |
This is the basic XYZ pixel class.
Derived XYZ pixel class from Pixels
Definition at line 998 of file PixelsTypes.H.
construct pixel from another. Defined here for tech reasons
Definition at line 2812 of file PixelsTypes.H.
Construct an RGB pixel with given values red, green, blue.
Definition at line 2827 of file PixelsTypes.H.
PixXYZ< T >::PixXYZ | ( | const T2 | Xval, | |
const T3 | Yval, | |||
const T4 | Zval | |||
) | [inline] |
Construct from given values, clamping & convertPixing as needed.
Definition at line 2834 of file PixelsTypes.H.
Set hue channel value, clamping & converting as necessary.
Definition at line 2864 of file PixelsTypes.H.
Set sat channel value, clamping & converting as necessary.
Definition at line 2871 of file PixelsTypes.H.
Set val channel value, clamping & converting as necessary.
Definition at line 2878 of file PixelsTypes.H.
T PixXYZ< T >::X | ( | ) | const [inline] |
Access hue channel.
Definition at line 2843 of file PixelsTypes.H.
T PixXYZ< T >::Y | ( | ) | const [inline] |
Access sat channel.
Definition at line 2850 of file PixelsTypes.H.
T PixXYZ< T >::Z | ( | ) | const [inline] |
Access val channel.
Definition at line 2857 of file PixelsTypes.H.