Classes | |
struct | rgb32 |
Color class for red-green-blue where every component is n-bit encoded. More... | |
Functions | |
rgb32::interop | operator+ (const rgb32 &lhs, const rgb32 &rhs) |
Addition. | |
rgb32::interop | operator+ (const rgb32 &lhs, const rgb32::interop &rhs) |
rgb32::interop | operator+ (const rgb32::interop &lhs, const rgb32 &rhs) |
std::ostream & | operator<< (std::ostream &ostr, const rgb32 &c) |
Print an rgb32 c into the output stream ostr . | |
std::istream & | operator>> (std::istream &istr, rgb32 &c) |
rgb32::interop | operator- (const rgb32 &lhs, const rgb32 &rhs) |
Subtraction. | |
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) |
Product. | |
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) |
Division. |
rgb32::interop mln::value::qt::operator* | ( | const rgb32 & | lhs, | |
const mln::value::scalar_< S > & | s | |||
) | [inline] |
Product.
Definition at line 714 of file rgb32.hh.
References mln::value::scalar_< T >::to_equiv(), and mln::value::internal::value_like_< V, C, N, E >::to_interop().
rgb32::interop mln::value::qt::operator* | ( | const mln::value::scalar_< S > & | s, | |
const rgb32 & | lhs | |||
) | [inline] |
Definition at line 723 of file rgb32.hh.
References mln::value::scalar_< T >::to_equiv(), and mln::value::internal::value_like_< V, C, N, E >::to_interop().
rgb32::interop mln::value::qt::operator+ | ( | const rgb32 & | lhs, | |
const rgb32::interop & | rhs | |||
) | [inline] |
Definition at line 669 of file rgb32.hh.
References mln::value::internal::value_like_< V, C, N, E >::to_interop().
rgb32::interop mln::value::qt::operator+ | ( | const rgb32::interop & | lhs, | |
const rgb32 & | rhs | |||
) | [inline] |
Definition at line 678 of file rgb32.hh.
References mln::value::internal::value_like_< V, C, N, E >::to_interop().
rgb32::interop mln::value::qt::operator+ | ( | const rgb32 & | lhs, | |
const rgb32 & | rhs | |||
) | [inline] |
Addition.
{
Definition at line 660 of file rgb32.hh.
References mln::value::internal::value_like_< V, C, N, E >::to_interop().
rgb32::interop mln::value::qt::operator- | ( | const rgb32::interop & | lhs, | |
const rgb32 & | rhs | |||
) | [inline] |
Definition at line 705 of file rgb32.hh.
References mln::value::internal::value_like_< V, C, N, E >::to_interop().
rgb32::interop mln::value::qt::operator- | ( | const rgb32 & | lhs, | |
const rgb32::interop & | rhs | |||
) | [inline] |
Definition at line 696 of file rgb32.hh.
References mln::value::internal::value_like_< V, C, N, E >::to_interop().
rgb32::interop mln::value::qt::operator- | ( | const rgb32 & | lhs, | |
const rgb32 & | rhs | |||
) | [inline] |
Subtraction.
Definition at line 687 of file rgb32.hh.
References mln::value::internal::value_like_< V, C, N, E >::to_interop().
rgb32::interop mln::value::qt::operator/ | ( | const rgb32 & | lhs, | |
const mln::value::scalar_< S > & | s | |||
) | [inline] |
Division.
Definition at line 732 of file rgb32.hh.
References mln::value::scalar_< T >::to_equiv(), and mln::value::internal::value_like_< V, C, N, E >::to_interop().
std::ostream & mln::value::qt::operator<< | ( | std::ostream & | ostr, | |
const rgb32 & | c | |||
) | [inline] |
Print an rgb32 c
into the output stream ostr
.
[in,out] | ostr | An output stream. |
[in] | c | An rgb32. |
ostr
. Definition at line 740 of file rgb32.hh.
References mln::value::qt::rgb32::blue(), mln::debug::format(), mln::value::qt::rgb32::green(), and mln::value::qt::rgb32::red().
std::istream & mln::value::qt::operator>> | ( | std::istream & | istr, | |
rgb32 & | c | |||
) | [inline] |
Definition at line 750 of file rgb32.hh.
References mln::value::qt::rgb32::blue(), mln::value::qt::rgb32::green(), and mln::value::qt::rgb32::red().