Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

PixXYZ< T > Class Template Reference

#include <Image/PixelsTypes.H>

Inheritance diagram for PixXYZ< T >:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T>
class PixXYZ< T >

Derived XYZ pixel class from Pixels.

Definition at line 998 of file PixelsTypes.H.

Public Member Functions

 PixXYZ ()
 ~PixXYZ ()
 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


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.

References Pixels< T, 3 >::p.

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.

References Pixels< T, 3 >::p.


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.

References Pixels< T, 3 >::p.

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.

References Pixels< T, 3 >::p.

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.

References Pixels< T, 3 >::p.

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

Access hue channel.

Definition at line 2843 of file PixelsTypes.H.

References Pixels< T, 3 >::p.

Referenced by PixXYZ< T >::PixXYZ().

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

Access sat channel.

Definition at line 2850 of file PixelsTypes.H.

References Pixels< T, 3 >::p.

Referenced by PixXYZ< T >::PixXYZ().

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

Access val channel.

Definition at line 2857 of file PixelsTypes.H.

References Pixels< T, 3 >::p.

Referenced by PixXYZ< T >::PixXYZ().


The documentation for this class was generated from the following file:
Generated on Sun Nov 22 13:46:11 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4