itom
|
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 |
Public Member Functions inherited from ito::Rgba32 | |
Rgba32 () | |
Rgba32 (const uint8 &a, const uint8 &r, const uint8 &g, const uint8 &b) | |
Rgba32 (const uint8 gray) | |
Constructor which will set color channels to gray uint8 and alpha to 255. | |
Rgba32 (const Rgba32 &rhs) | |
Rgba32 & | operator+= (const Rgba32 &rhs) |
Rgba32 & | operator= (const Rgba32 &rhs) |
Rgba32 & | operator= (const uint32 &rhs) |
Rgba32 & | operator-= (const Rgba32 &rhs) |
Rgba32 & | operator*= (const Rgba32 &rhs) |
Multiplication by another Rgba32 value. | |
Rgba32 & | operator*= (const ito::float32 &grayFactor) |
Multiplication by a float32 grayFactor (alpha is unchanged). | |
Rgba32 & | operator/= (const Rgba32 &rhs) |
Rgba32 | operator+ (const Rgba32 &second) const |
Rgba32 | operator- (const Rgba32 &second) const |
Rgba32 | operator* (const Rgba32 &second) const |
Rgba32 | operator* (const ito::float32 &second) const |
Rgba32 | operator/ (const Rgba32 &second) const |
bool | operator== (const Rgba32 &rhs) const |
bool | operator!= (const Rgba32 &rhs) const |
float32 | gray () const |
uint8 & | alpha () |
uint8 & | red () |
uint8 & | green () |
uint8 & | blue () |
uint8 | alpha () const |
uint8 | red () const |
uint8 | green () const |
uint8 | blue () const |
uint32 & | argb () |
uint32 | argb () const |
uint32 * | u32ptr () |
uint8 * | u8ptr () |
Static Public Member Functions | |
static RGBChannel< _COLOR > | zeros () |
static RGBChannel< _COLOR > | black () |
Static Public Member Functions inherited from ito::Rgba32 | |
static Rgba32 | zeros () |
static Rgba32 | black () |
static Rgba32 | fromUnsignedLong (const uint32 val) |
static constructor to create Rgba32 from uint32 containing the values argb | |
Additional Inherited Members | ||
Public Types inherited from ito::Rgba32 | ||
enum | RGBSelectionFlags { RGBA_B = 0 , RGBA_G = 1 , RGBA_R = 2 , RGBA_A = 3 , RGBA_Y = 4 , RGBA_RGB = 5 } | |
Public Attributes inherited from ito::RgbaBase32 | ||
union { | ||
struct { | ||
ito::uint8 b | ||
ito::uint8 g | ||
ito::uint8 r | ||
ito::uint8 a | ||
} | ||
ito::uint8 items [4] | ||
ito::uint32 rgba | ||
}; | ||
|
inline |
< Constructor for basic values
|
inlineexplicit |
< Constructor which will set color channels to gray uint8 and alpha to 255
|
inline |
< Copy-Constructor for lvalues
|
inline |
< Implementation of != operator comparing each element including alpha channel, true if one is different
|
inline |
< Implementation of * operator using *= operator
|
inline |
< Implementation of *= operator with overflow handling and normalisation
|
inline |
< Implementation of + operator using += operator
|
inline |
< Implementation of += operator with overflow handling
|
inline |
< Implementation of - operator using -= operator
|
inline |
< Implementation of -= operator with overflow handling
|
inline |
< Implementation of * operator using *= operator
|
inline |
< Implementation of *= operator with overflow handling and normalisation
|
inline |
< Implementation of != operator comparing each element including alpha channel, true if one is different
|
inline |
< Implementation of = operator
|
inline |
< Implementation of = for uint32 by direct copy
|
inline |
< Implementation of == operator comparing each element including alpha channel, true if all are equal
|
inline |
< Implementation of != operator comparing each element including alpha channel, true if one is different
|
inline |
< Read out single channel and return as gray value
|
inline |
< Access to single-Channel