Public Types | Static Public Member Functions

mln::trait::value_< mln::value::rgb< n > > Struct Template Reference

#include <rgb.hh>

List of all members.

Public Types

enum  { dim = 3, nbits = dim * n, card = mln_value_card_from_(nbits) }
typedef void comp
typedef mln::value::int_u< n > comp_0
typedef mln::value::int_u< n > comp_1
typedef mln::value::int_u< n > comp_2
typedef trait::value::kind::color kind
typedef
trait::value::nature::vectorial 
nature
typedef trait::value::quant::high quant
typedef algebra::vec< dim, float > sum

Static Public Member Functions

template<typename V >
static comp_0 get_comp_0 (const V &v)
template<typename V >
static comp_1 get_comp_1 (const V &v)
template<typename V >
static comp_2 get_comp_2 (const V &v)
static const char * name ()

Detailed Description

template<unsigned n>
struct mln::trait::value_< mln::value::rgb< n > >

Definition at line 206 of file value/rgb.hh.


Member Typedef Documentation

template<unsigned n>
typedef void mln::trait::value_< mln::value::rgb< n > >::comp

Definition at line 218 of file value/rgb.hh.

template<unsigned n>
typedef mln::value::int_u<n> mln::trait::value_< mln::value::rgb< n > >::comp_0

Definition at line 219 of file value/rgb.hh.

template<unsigned n>
typedef mln::value::int_u<n> mln::trait::value_< mln::value::rgb< n > >::comp_1

Definition at line 220 of file value/rgb.hh.

template<unsigned n>
typedef mln::value::int_u<n> mln::trait::value_< mln::value::rgb< n > >::comp_2

Definition at line 221 of file value/rgb.hh.

template<unsigned n>
typedef trait::value::kind::color mln::trait::value_< mln::value::rgb< n > >::kind

Definition at line 215 of file value/rgb.hh.

Definition at line 214 of file value/rgb.hh.

template<unsigned n>
typedef trait::value::quant::high mln::trait::value_< mln::value::rgb< n > >::quant

Definition at line 216 of file value/rgb.hh.

template<unsigned n>
typedef algebra::vec<dim, float> mln::trait::value_< mln::value::rgb< n > >::sum

Definition at line 227 of file value/rgb.hh.


Member Enumeration Documentation

template<unsigned n>
anonymous enum
Enumerator:
dim 
nbits 
card 

Definition at line 208 of file value/rgb.hh.


Member Function Documentation

template<unsigned n>
template<typename V >
static comp_0 mln::trait::value_< mln::value::rgb< n > >::get_comp_0 ( const V &  v  )  [inline, static]

Definition at line 223 of file value/rgb.hh.

template<unsigned n>
template<typename V >
static comp_1 mln::trait::value_< mln::value::rgb< n > >::get_comp_1 ( const V &  v  )  [inline, static]

Definition at line 224 of file value/rgb.hh.

template<unsigned n>
template<typename V >
static comp_2 mln::trait::value_< mln::value::rgb< n > >::get_comp_2 ( const V &  v  )  [inline, static]

Definition at line 225 of file value/rgb.hh.

template<unsigned n>
static const char* mln::trait::value_< mln::value::rgb< n > >::name (  )  [inline, static]

Definition at line 229 of file value/rgb.hh.

References mln::value::internal::make_generic_name().