CVD 0.8
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes
CVD::color< T, 3 > Struct Template Reference

traits type defining colors for pixel types. More...

#include <draw.h>

List of all members.

Public Types

typedef Pixel::Component< T >::type TComp

Public Member Functions

const T & shade (const T &c, double b)

Static Public Member Functions

static T make (const TComp &a, const TComp &b, const TComp &c)
static const T & black ()
static const T & white ()
static const T & red ()
static const T & green ()
static const T & blue ()
static const T & cyan ()
static const T & magenta ()
static const T & yellow ()

Static Public Attributes

static const TComp hi = Pixel::traits<TComp>::max_intensity

Detailed Description

template<class T>
struct CVD::color< T, 3 >

traits type defining colors for pixel types.

For pixel types with three component the basic colors generated by combining minimum and maximum intensities for each component are defined. The components are interpreted as R, G, B.

Definition at line 93 of file draw.h.


The documentation for this struct was generated from the following file: