Public Types | Public Member Functions | 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 algebra::vec< dim, float > sum

Public Member Functions

typedef mln_value_quant_from_ (card) quant

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

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


Member Typedef Documentation

template<unsigned n>
typedef void mln::trait::value_< mln::value::rgb< n > >::comp
template<unsigned n>
typedef mln::value::int_u<n> mln::trait::value_< mln::value::rgb< n > >::comp_0
template<unsigned n>
typedef mln::value::int_u<n> mln::trait::value_< mln::value::rgb< n > >::comp_1
template<unsigned n>
typedef mln::value::int_u<n> mln::trait::value_< mln::value::rgb< n > >::comp_2
template<unsigned n>
typedef trait::value::kind::color mln::trait::value_< mln::value::rgb< n > >::kind
template<unsigned n>
typedef algebra::vec<dim, float> mln::trait::value_< mln::value::rgb< n > >::sum

Member Enumeration Documentation

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

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]
template<unsigned n>
template<typename V >
static comp_1 mln::trait::value_< mln::value::rgb< n > >::get_comp_1 ( const V &  v  )  [inline, static]
template<unsigned n>
template<typename V >
static comp_2 mln::trait::value_< mln::value::rgb< n > >::get_comp_2 ( const V &  v  )  [inline, static]
template<unsigned n>
typedef mln::trait::value_< mln::value::rgb< n > >::mln_value_quant_from_ ( card   ) 
template<unsigned n>
static const char* mln::trait::value_< mln::value::rgb< n > >::name (  )  [inline, static]