PixXYZ< T > Class Template Reference

This is the basic XYZ pixel class. More...

#include <Image/PixelsTypes.H>

Inheritance diagram for PixXYZ< T >:
Inheritance graph
[legend]
Collaboration diagram for PixXYZ< T >:
Collaboration graph
[legend]

List of all members.

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
X () const
 Access hue channel.
Y () const
 Access sat channel.
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

Detailed Description

template<class T>
class PixXYZ< T >

This is the basic XYZ pixel class.

Derived XYZ pixel class from Pixels

Definition at line 998 of file PixelsTypes.H.


Constructor & Destructor Documentation

template<class T >
PixXYZ< T >::PixXYZ ( const PixXYZ< T > &  pix  )  [inline]

construct pixel from another. Defined here for tech reasons

Definition at line 2812 of file PixelsTypes.H.

template<class T >
PixXYZ< T >::PixXYZ ( const T  Xval,
const T  Yval,
const T  Zval 
) [inline]

Construct an RGB pixel with given values red, green, blue.

Definition at line 2827 of file PixelsTypes.H.

template<class T >
template<class T2 , class T3 , class T4 >
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.


Member Function Documentation

template<class T >
template<class T2 >
void PixXYZ< T >::setX ( const T2  X  )  [inline]

Set hue channel value, clamping & converting as necessary.

Definition at line 2864 of file PixelsTypes.H.

template<class T >
template<class T2 >
void PixXYZ< T >::setY ( const T2  Y  )  [inline]

Set sat channel value, clamping & converting as necessary.

Definition at line 2871 of file PixelsTypes.H.

template<class T >
template<class T2 >
void PixXYZ< T >::setZ ( const T2  Z  )  [inline]

Set val channel value, clamping & converting as necessary.

Definition at line 2878 of file PixelsTypes.H.

template<class T >
T PixXYZ< T >::X (  )  const [inline]

Access hue channel.

Definition at line 2843 of file PixelsTypes.H.

template<class T >
T PixXYZ< T >::Y (  )  const [inline]

Access sat channel.

Definition at line 2850 of file PixelsTypes.H.

template<class T >
T PixXYZ< T >::Z (  )  const [inline]

Access val channel.

Definition at line 2857 of file PixelsTypes.H.


The documentation for this class was generated from the following file:
Generated on Sun May 8 08:43:38 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3