$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::value::qt Namespace Reference

Classes

struct  rgb32
 Color class for red-green-blue where every component is 8-bit encoded. More...

Functions

void from_to_ (const rgb32 &from, bool &to)
void from_to_ (const bool &from, value::qt::rgb32 &to)
rgb32::interop operator+ (const rgb32 &lhs, const rgb32 &rhs)
rgb32::interop operator+ (const rgb32::interop &lhs, const rgb32 &rhs)
rgb32::interop operator+ (const rgb32 &lhs, const rgb32::interop &rhs)
std::ostream & operator<< (std::ostream &ostr, const rgb32 &c)
std::istream & operator>> (std::istream &istr, rgb32 &c)
rgb32::interop operator- (const rgb32 &lhs, const rgb32 &rhs)
rgb32::interop operator- (const rgb32::interop &lhs, const rgb32 &rhs)
rgb32::interop operator- (const rgb32 &lhs, const rgb32::interop &rhs)
template<typename S >
rgb32::interop operator* (const rgb32 &lhs, const mln::value::scalar_< S > &s)
template<typename S >
rgb32::interop operator* (const mln::value::scalar_< S > &s, const rgb32 &lhs)
template<typename S >
rgb32::interop operator/ (const rgb32 &lhs, const mln::value::scalar_< S > &s)

Function Documentation

void mln::value::qt::from_to_ ( const rgb32 &  from,
bool to 
)
void mln::value::qt::from_to_ ( const bool from,
value::qt::rgb32 &  to 
)
template<typename S >
rgb32::interop mln::value::qt::operator* ( const rgb32 &  lhs,
const mln::value::scalar_< S > &  s 
)
inline

Product.

template<typename S >
rgb32::interop mln::value::qt::operator* ( const mln::value::scalar_< S > &  s,
const rgb32 &  lhs 
)
inline
rgb32::interop mln::value::qt::operator+ ( const rgb32 &  lhs,
const rgb32 &  rhs 
)

Addition.

{

rgb32::interop mln::value::qt::operator+ ( const rgb32::interop &  lhs,
const rgb32 &  rhs 
)
rgb32::interop mln::value::qt::operator+ ( const rgb32 &  lhs,
const rgb32::interop &  rhs 
)
rgb32::interop mln::value::qt::operator- ( const rgb32 &  lhs,
const rgb32 &  rhs 
)

Subtraction.

rgb32::interop mln::value::qt::operator- ( const rgb32::interop &  lhs,
const rgb32 &  rhs 
)
rgb32::interop mln::value::qt::operator- ( const rgb32 &  lhs,
const rgb32::interop &  rhs 
)
template<typename S >
rgb32::interop mln::value::qt::operator/ ( const rgb32 &  lhs,
const mln::value::scalar_< S > &  s 
)
inline

Division.

std::ostream& mln::value::qt::operator<< ( std::ostream &  ostr,
const rgb32 &  c 
)

Print an rgb32 c into the output stream ostr.

Parameters
[in,out]ostrAn output stream.
[in]cAn rgb32.
Returns
The modified output stream ostr.
std::istream& mln::value::qt::operator>> ( std::istream &  istr,
rgb32 &  c 
)