itom 2.0.0
|
Public Member Functions | |
RGBChannel () | |
RGBChannel (const uint8 gray) | |
RGBChannel (const RGBChannel &rhs) | |
RGBChannel & | operator+= (const RGBChannel &rhs) |
RGBChannel & | operator= (const RGBChannel &rhs) |
RGBChannel & | operator= (const uint32 &rhs) |
RGBChannel & | operator-= (const RGBChannel &rhs) |
RGBChannel & | operator*= (const RGBChannel &rhs) |
RGBChannel & | operator/= (const RGBChannel &rhs) |
RGBChannel | operator+ (const RGBChannel &second) const |
RGBChannel | operator- (const RGBChannel &second) const |
RGBChannel | operator* (const RGBChannel &second) const |
RGBChannel | operator/ (const RGBChannel &second) const |
bool | operator== (const RGBChannel &rhs) const |
bool | operator!= (const RGBChannel &rhs) const |
bool | operator< (const RGBChannel &rhs) const |
bool | operator> (const RGBChannel &rhs) const |
float32 | gray () const |
uint8 & | value () |
uint8 | value () const |
Static Public Member Functions | |
static RGBChannel< _COLOR > | zeros () |
static RGBChannel< _COLOR > | black () |
ito::RGBChannel< _COLOR >::RGBChannel | ( | ) | [inline] |
< Constructor for basic values
ito::RGBChannel< _COLOR >::RGBChannel | ( | const uint8 | gray | ) | [inline, explicit] |
< Constructor which will set color channels to gray uint8 and alpha to 255
ito::RGBChannel< _COLOR >::RGBChannel | ( | const RGBChannel< _COLOR > & | rhs | ) | [inline] |
< Copy-Constructor for lvalues
bool ito::RGBChannel< _COLOR >::operator!= | ( | const RGBChannel< _COLOR > & | rhs | ) | const [inline] |
< Implementation of != operator comparing each element including alpha channel, true if one is different
RGBChannel ito::RGBChannel< _COLOR >::operator* | ( | const RGBChannel< _COLOR > & | second | ) | const [inline] |
< Implementation of * operator using *= operator
RGBChannel& ito::RGBChannel< _COLOR >::operator*= | ( | const RGBChannel< _COLOR > & | rhs | ) | [inline] |
< Implementation of *= operator with overflow handling and normalisation
RGBChannel ito::RGBChannel< _COLOR >::operator+ | ( | const RGBChannel< _COLOR > & | second | ) | const [inline] |
< Implementation of + operator using += operator
RGBChannel& ito::RGBChannel< _COLOR >::operator+= | ( | const RGBChannel< _COLOR > & | rhs | ) | [inline] |
< Implementation of += operator with overflow handling
RGBChannel ito::RGBChannel< _COLOR >::operator- | ( | const RGBChannel< _COLOR > & | second | ) | const [inline] |
< Implementation of - operator using -= operator
RGBChannel& ito::RGBChannel< _COLOR >::operator-= | ( | const RGBChannel< _COLOR > & | rhs | ) | [inline] |
< Implementation of -= operator with overflow handling
RGBChannel ito::RGBChannel< _COLOR >::operator/ | ( | const RGBChannel< _COLOR > & | second | ) | const [inline] |
< Implementation of * operator using *= operator
RGBChannel& ito::RGBChannel< _COLOR >::operator/= | ( | const RGBChannel< _COLOR > & | rhs | ) | [inline] |
< Implementation of *= operator with overflow handling and normalisation
bool ito::RGBChannel< _COLOR >::operator< | ( | const RGBChannel< _COLOR > & | rhs | ) | const [inline] |
< Implementation of != operator comparing each element including alpha channel, true if one is different
RGBChannel& ito::RGBChannel< _COLOR >::operator= | ( | const RGBChannel< _COLOR > & | rhs | ) | [inline] |
< Implementation of = operator
RGBChannel& ito::RGBChannel< _COLOR >::operator= | ( | const uint32 & | rhs | ) | [inline] |
< Implementation of = for uint32 by direct copy
Reimplemented from ito::Rgba32.
bool ito::RGBChannel< _COLOR >::operator== | ( | const RGBChannel< _COLOR > & | rhs | ) | const [inline] |
< Implementation of == operator comparing each element including alpha channel, true if all are equal
bool ito::RGBChannel< _COLOR >::operator> | ( | const RGBChannel< _COLOR > & | rhs | ) | const [inline] |
< Implementation of != operator comparing each element including alpha channel, true if one is different
uint8 ito::RGBChannel< _COLOR >::value | ( | ) | const [inline] |
< Access to single-Channel
uint8& ito::RGBChannel< _COLOR >::value | ( | ) | [inline] |
< Read out single channel and return as gray value