itom 2.0.0
ito::RGBChannel< _COLOR > Class Template Reference
Inheritance diagram for ito::RGBChannel< _COLOR >:
ito::Rgba32

List of all members.

Public Member Functions

 RGBChannel ()
 RGBChannel (const uint8 gray)
 RGBChannel (const RGBChannel &rhs)
RGBChanneloperator+= (const RGBChannel &rhs)
RGBChanneloperator= (const RGBChannel &rhs)
RGBChanneloperator= (const uint32 &rhs)
RGBChanneloperator-= (const RGBChannel &rhs)
RGBChanneloperator*= (const RGBChannel &rhs)
RGBChanneloperator/= (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 ()

template<uint8 _COLOR>
class ito::RGBChannel< _COLOR >


Constructor & Destructor Documentation

template<uint8 _COLOR>
ito::RGBChannel< _COLOR >::RGBChannel ( ) [inline]

< Constructor for basic values

template<uint8 _COLOR>
ito::RGBChannel< _COLOR >::RGBChannel ( const uint8  gray) [inline, explicit]

< Constructor which will set color channels to gray uint8 and alpha to 255

template<uint8 _COLOR>
ito::RGBChannel< _COLOR >::RGBChannel ( const RGBChannel< _COLOR > &  rhs) [inline]

< Copy-Constructor for lvalues


Member Function Documentation

template<uint8 _COLOR>
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

template<uint8 _COLOR>
RGBChannel ito::RGBChannel< _COLOR >::operator* ( const RGBChannel< _COLOR > &  second) const [inline]

< Implementation of * operator using *= operator

template<uint8 _COLOR>
RGBChannel& ito::RGBChannel< _COLOR >::operator*= ( const RGBChannel< _COLOR > &  rhs) [inline]

< Implementation of *= operator with overflow handling and normalisation

template<uint8 _COLOR>
RGBChannel ito::RGBChannel< _COLOR >::operator+ ( const RGBChannel< _COLOR > &  second) const [inline]

< Implementation of + operator using += operator

template<uint8 _COLOR>
RGBChannel& ito::RGBChannel< _COLOR >::operator+= ( const RGBChannel< _COLOR > &  rhs) [inline]

< Implementation of += operator with overflow handling

template<uint8 _COLOR>
RGBChannel ito::RGBChannel< _COLOR >::operator- ( const RGBChannel< _COLOR > &  second) const [inline]

< Implementation of - operator using -= operator

template<uint8 _COLOR>
RGBChannel& ito::RGBChannel< _COLOR >::operator-= ( const RGBChannel< _COLOR > &  rhs) [inline]

< Implementation of -= operator with overflow handling

template<uint8 _COLOR>
RGBChannel ito::RGBChannel< _COLOR >::operator/ ( const RGBChannel< _COLOR > &  second) const [inline]

< Implementation of * operator using *= operator

template<uint8 _COLOR>
RGBChannel& ito::RGBChannel< _COLOR >::operator/= ( const RGBChannel< _COLOR > &  rhs) [inline]

< Implementation of *= operator with overflow handling and normalisation

template<uint8 _COLOR>
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

template<uint8 _COLOR>
RGBChannel& ito::RGBChannel< _COLOR >::operator= ( const RGBChannel< _COLOR > &  rhs) [inline]

< Implementation of = operator

template<uint8 _COLOR>
RGBChannel& ito::RGBChannel< _COLOR >::operator= ( const uint32 &  rhs) [inline]

< Implementation of = for uint32 by direct copy

Reimplemented from ito::Rgba32.

template<uint8 _COLOR>
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

template<uint8 _COLOR>
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

template<uint8 _COLOR>
uint8 ito::RGBChannel< _COLOR >::value ( ) const [inline]

< Access to single-Channel

template<uint8 _COLOR>
uint8& ito::RGBChannel< _COLOR >::value ( ) [inline]

< Read out single channel and return as gray value


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends