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 >.
List of all members.
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.
|
Detailed Description
Color class for red-green-blue where every component is n-bit encoded.
Definition at line 197 of file rgb32.hh.
Constructor & Destructor Documentation
| mln::value::qt::rgb32::rgb32 |
( |
|
) |
[inline] |
Constructor without argument.
Definition at line 385 of file rgb32.hh.
| mln::value::qt::rgb32::rgb32 |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b | |
|
) |
| | [inline] |
Constructor from component values.
Definition at line 427 of file rgb32.hh.
| mln::value::qt::rgb32::rgb32 |
( |
const algebra::vec< 3, int > & |
rhs |
) |
[inline] |
Constructor from a algebra::vec.
Definition at line 391 of file rgb32.hh.
Constructors with literals.
Definition at line 442 of file rgb32.hh.
Member Function Documentation
| rgb32 & mln::value::qt::rgb32::operator= |
( |
const rgb32 & |
rhs |
) |
[inline] |
| int_u<8> mln::value::qt::rgb32::red |
( |
|
) |
const [inline] |
Acces to red/green/blue component.
Definition at line 212 of file rgb32.hh.
Member Data Documentation