CVD::color< T, 1 > Struct Template Reference
[Computer graphics]
#include <draw.h>
List of all members.
Public Types |
typedef Pixel::Component< T >::type | TComp |
Static Public Member Functions |
static const T & | black () |
| returns pixel value corresponding to minimal saturation
|
static const T & | gray () |
| returns pixel value corresponding to 50% gray
|
static const T & | white () |
| returns pixel value corresponding to maximal saturation
|
Detailed Description
template<class T>
struct CVD::color< T, 1 >
traits type defining colors for pixel types. For pixel types with one component only gray scale color functions are defined.
Definition at line 79 of file draw.h.
Member Typedef Documentation
Member Function Documentation
template<class T >
static const T& CVD::color< T, 1 >::black |
( |
|
) |
[inline, static] |
returns pixel value corresponding to minimal saturation
Definition at line 82 of file draw.h.
template<class T >
static const T& CVD::color< T, 1 >::gray |
( |
|
) |
[inline, static] |
returns pixel value corresponding to 50% gray
Definition at line 84 of file draw.h.
template<class T >
static const T& CVD::color< T, 1 >::white |
( |
|
) |
[inline, static] |
returns pixel value corresponding to maximal saturation
Definition at line 86 of file draw.h.
The documentation for this struct was generated from the following file:
libcvd
Author(s): Edward Rosten, Paul Smith, Tom Drummond, Gerhard Reitmayr, Ethan Eade, Timothy Gan, Chris Kemp, Georg Klein
autogenerated on Fri Jan 11 09:13:50 2013