Milena (Olena)
User documentation 2.0a Id
|
Color class for red-green-blue where every component is n-bit encoded. More...
#include <rgb.hh>
Inherits mln::value::Vectorial< E >, and mln::value::internal::value_like_< V, C, N, E >.
Public Member Functions | |
rgb< n > & | operator= (const rgb< n > &rhs) |
Assignment. | |
rgb () | |
Constructor without argument. | |
rgb (int r, int g, int b) | |
Constructor from component values. | |
rgb (const algebra::vec< 3, int > &rhs) | |
Constructor from a algebra::vec. | |
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. | |
Color class for red-green-blue where every component is n-bit encoded.
Definition at line 248 of file value/rgb.hh.
Constructor without argument.
Definition at line 422 of file value/rgb.hh.
Constructor from component values.
Definition at line 458 of file value/rgb.hh.
Constructor from a algebra::vec.
Definition at line 428 of file value/rgb.hh.
|
inline |
Constructors with literals.
Definition at line 473 of file value/rgb.hh.
Assignment.
Definition at line 645 of file value/rgb.hh.
|
inline |
Acces to red/green/blue component.
Definition at line 264 of file value/rgb.hh.
Referenced by mln::fun::v2v::rgb8_to_rgbn< n >::operator()().
Zero value.
Definition at line 322 of file value/rgb.hh.