Color class for red-green-blue where every component is n-bit encoded. More...
#include <rgb32.hh>
Inherits mln::value::Vectorial< rgb32 >, and mln::value::internal::value_like_< algebra::vec< 3, int_u< 8 > >,algebra::vec< 3, int_u< 8 > >,algebra::vec< 3, int >,rgb32 >.
Public Member Functions | |
rgb32 & | operator= (const rgb32 &rhs) |
Assignment. | |
rgb32 (const algebra::vec< 3, int > &rhs) | |
Constructor from a algebra::vec. | |
rgb32 (int r, int g, int b) | |
Constructor from component values. | |
rgb32 () | |
Constructor without argument. | |
int_u< 8 > | red () const |
Acces to red/green/blue component. | |
rgb32 (const mln::literal::zero_t &) | |
Constructors with literals. | |
Static Public Attributes | |
static const rgb32 | zero |
Zero value. |
Color class for red-green-blue where every component is n-bit encoded.
mln::value::qt::rgb32::rgb32 | ( | ) | [inline] |
Constructor without argument.
mln::value::qt::rgb32::rgb32 | ( | int | r, | |
int | g, | |||
int | b | |||
) | [inline] |
Constructor from component values.
mln::value::qt::rgb32::rgb32 | ( | const algebra::vec< 3, int > & | rhs | ) | [inline] |
Constructor from a algebra::vec.
mln::value::qt::rgb32::rgb32 | ( | const mln::literal::zero_t & | ) | [inline] |
Constructors with literals.
int_u<8> mln::value::qt::rgb32::red | ( | ) | const [inline] |
Acces to red/green/blue component.
const rgb32 mln::value::qt::rgb32::zero [static] |
Zero value.