[ VIGRA Homepage | Class Index | Function Index | File Index | Main Page ]
![]() |
Functions for RGBValue | ![]() |
---|
#include "vigra/rgbvalue.hxx More...
Functions | |
template<class V1, class V2> bool | operator== (RGBValue< V1 > const &l, RGBValue< V2 > const &r) |
component-wise equal | |
template<class V1, class V2> bool | operator!= (RGBValue< V1 > const &l, RGBValue< V2 > const &r) |
component-wise not equal | |
template<class V1, class V2> RGBValue< V1 > & | operator+= (RGBValue< V1 > &l, RGBValue< V2 > const &r) |
componentwise add-assignment | |
template<class V1, class V2> RGBValue< V1 > & | operator-= (RGBValue< V1 > &l, RGBValue< V2 > const &r) |
componentwise subtract-assignment | |
template<class V1, class V2> RGBValue< V1 > & | operator *= (RGBValue< V1 > &l, RGBValue< V2 > const &r) |
componentwise multiply-assignment | |
template<class V> RGBValue< V > & | operator *= (RGBValue< V > &l, double r) |
componentwise scalar multiply-assignment | |
template<class V> RGBValue< V > & | operator/= (RGBValue< V > &l, double r) |
componentwise scalar divide-assignment | |
template<class T> RGBValue< T > | abs (RGBValue< T > const &v) |
component-wise absolute value | |
template<class V1, class V2> PromoteTraits< RGBValue< V1 >, RGBValue< V2 > >::Promote | operator+ (RGBValue< V1 > const &r1, RGBValue< V2 > const &r2) |
component-wise addition | |
template<class V1, class V2> PromoteTraits< RGBValue< V1 >, RGBValue< V2 > >::Promote | operator- (RGBValue< V1 > const &r1, RGBValue< V2 > const &r2) |
component-wise subtraction | |
template<class V1, class V2> PromoteTraits< RGBValue< V1 >, RGBValue< V2 > >::Promote | operator * (RGBValue< V1 > const &r1, RGBValue< V2 > const &r2) |
component-wise multiplication | |
template<class V> NumericTraits< RGBValue< V > >::RealPromote | operator * (double v, RGBValue< V > const &r) |
component-wise left scalar multiplication | |
template<class V> NumericTraits< RGBValue< V > >::RealPromote | operator * (RGBValue< V > const &r, double v) |
component-wise right scalar multiplication | |
template<class V> NumericTraits< RGBValue< V > >::RealPromote | operator/ (RGBValue< V > const &r, double v) |
component-wise scalar division | |
template<class V1, class V2> PromoteTraits< RGBValue< V1 >, RGBValue< V2 > >::Promote | cross (RGBValue< V1 > const &r1, RGBValue< V2 > const &r2) |
cross product | |
template<class V1, class V2> PromoteTraits< V1, V2 >::Promote | dot (RGBValue< V1 > const &r1, RGBValue< V2 > const &r2) |
dot product | |
template<class V> RGBValue< V > | ceil (RGBValue< V > const &r) |
template<class V> RGBValue< V > | floor (RGBValue< V > const &r) |
Detailed Description |
These functions fulfill the requirements of a Linear Algebra. Return types are determined according to Numeric and Promote Traits of RGBValue.
Namespace: vigra
|
Apply ceil() function to each RGB component. |
|
Apply floor() function to each RGB component. |
© Ullrich Köthe (koethe@informatik.uni-hamburg.de) |
html generated using doxygen and Python
|