#include <rgb.hh>
Inherits mln::value::Vectorial< mln::value::rgb< n > >, and mln::value::internal::value_like_< mln::algebra::vec< 3, mln::value::int_u< n > >, mln::algebra::vec< 3, mln::value::int_u< n > >, mln::algebra::vec< 3, int >, mln::value::rgb< n > >.
Public Member Functions | |
| rgb< n > & | operator= (const rgb< n > &rhs) |
| Assignment. | |
| rgb (const algebra::vec< 3, int > &rhs) | |
| Constructor from a algebra::vec. | |
| rgb (int r, int g, int b) | |
| Constructor from component values. | |
| rgb () | |
| Constructor without argument. | |
| int_u< n > | red () const |
| Acces to red/green/blue component. | |
| rgb (const mln::literal::white_t &) | |
| Constructors with literals. | |
Static Public Attributes | |
| static const rgb< n > | zero |
| Zero value. | |
| mln::value::rgb< n >::rgb | ( | ) | [inline] |
Constructor without argument.
| mln::value::rgb< n >::rgb | ( | int | r, | |
| int | g, | |||
| int | b | |||
| ) | [inline] |
Constructor from component values.
| mln::value::rgb< n >::rgb | ( | const algebra::vec< 3, int > & | rhs | ) | [inline] |
Constructor from a algebra::vec.
| mln::value::rgb< n >::rgb | ( | const mln::literal::white_t & | ) | [inline] |
Constructors with literals.
| rgb< n > & mln::value::rgb< n >::operator= | ( | const rgb< n > & | rhs | ) | [inline] |
Assignment.
| int_u<n> mln::value::rgb< n >::red | ( | ) | const [inline] |
Acces to red/green/blue component.
const rgb< n > mln::value::rgb< n >::zero [inline, static] |
Zero value.
1.5.6