dlr::computerVision::PixelHSV< TYPE > Struct Template Reference

Collaboration diagram for dlr::computerVision::PixelHSV< TYPE >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PixelHSV ()
 This constructor makes no guarantees about the color of the pixel.
 PixelHSV (const TYPE &hue, const TYPE &saturation, const TYPE &value)
 This constructor explicitly sets the pixel value.
 ~PixelHSV ()
 The destructor deletes cleans up for deletion.
template<class Iter>
Iter & copyFromIterator (Iter &iter)
 This member function copies the pixel component values, in order, from consecutive iterator targets, incrementing the iterator after each copy.
template<class Iter>
Iter & copyToIterator (Iter &iter)
 This member function assigns the pixel component values, in order, to consecutive iterator targets, incrementing the iterator after each assignment.

Static Public Member Functions

static bool isContiguous ()
 This static member function indicates whether or not a pixel instance is memory identical to a contiguous array of Component type.

Public Attributes

TYPE hue
TYPE saturation
TYPE value

Detailed Description

template<class TYPE>
struct dlr::computerVision::PixelHSV< TYPE >

Definition at line 25 of file pixelHSV.h.


Constructor & Destructor Documentation

template<class TYPE>
dlr::computerVision::PixelHSV< TYPE >::PixelHSV (  )  [inline]

This constructor makes no guarantees about the color of the pixel.

Definition at line 33 of file pixelHSV.h.

template<class TYPE>
dlr::computerVision::PixelHSV< TYPE >::PixelHSV ( const TYPE &  hue,
const TYPE &  saturation,
const TYPE &  value 
) [inline]

This constructor explicitly sets the pixel value.

Parameters:
hue This argument specifies the hue value for the new pixel.
saturation This argument specifies the saturation value for the new pixel.
value This argument specifies the value value for the new pixel.

Definition at line 46 of file pixelHSV.h.

template<class TYPE>
dlr::computerVision::PixelHSV< TYPE >::~PixelHSV (  )  [inline]

The destructor deletes cleans up for deletion.

Definition at line 53 of file pixelHSV.h.


Member Function Documentation

template<class TYPE>
template<class Iter>
Iter & dlr::computerVision::PixelHSV< TYPE >::copyFromIterator ( Iter &  iter  )  [inline]

This member function copies the pixel component values, in order, from consecutive iterator targets, incrementing the iterator after each copy.

Parameters:
iter This argument is the iterator from which to copy the pixel components.
Returns:
The return value is a reference to iter after the copying and incrementing is done.

Definition at line 171 of file pixelHSV.h.

References dlr::computerVision::PixelHSV< TYPE >::hue, dlr::computerVision::PixelHSV< TYPE >::saturation, and dlr::computerVision::PixelHSV< TYPE >::value.

template<class TYPE>
template<class Iter>
Iter & dlr::computerVision::PixelHSV< TYPE >::copyToIterator ( Iter &  iter  )  [inline]

This member function assigns the pixel component values, in order, to consecutive iterator targets, incrementing the iterator after each assignment.

Parameters:
iter This argument is the iterator to which to copy the pixel components.
Returns:
The return value is a reference to iter after the copying and incrementing is done.

Definition at line 187 of file pixelHSV.h.

References dlr::computerVision::PixelHSV< TYPE >::hue, dlr::computerVision::PixelHSV< TYPE >::saturation, and dlr::computerVision::PixelHSV< TYPE >::value.

template<class TYPE>
bool dlr::computerVision::PixelHSV< TYPE >::isContiguous (  )  [inline, static]

This static member function indicates whether or not a pixel instance is memory identical to a contiguous array of Component type.

Returns:
The return value is true if the pixel structure is not padded by the compiler.

Definition at line 202 of file pixelHSV.h.

References dlr::computerVision::PixelHSV< TYPE >::hue, dlr::computerVision::PixelHSV< TYPE >::saturation, and dlr::computerVision::PixelHSV< TYPE >::value.


The documentation for this struct was generated from the following file:
Generated on Mon Jul 9 20:34:20 2007 for dlrLibs Utility Libraries by  doxygen 1.5.2