[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
|   | GreenAccessor< RGBVALUE > Class Template Reference |  | 
#include <vigra/rgbvalue.hxx>
| Public Member Functions | |
| template<class ITERATOR > | |
| value_type const & | operator() (ITERATOR const &i) const | 
| template<class ITERATOR , class DIFFERENCE > | |
| value_type const & | operator() (ITERATOR const &i, DIFFERENCE d) const | 
| template<class V , class ITERATOR > | |
| void | set (V value, ITERATOR const &i) const | 
| template<class V , class ITERATOR , class DIFFERENCE > | |
| void | set (V value, ITERATOR const &i, DIFFERENCE d) const | 
Encapsulate access to green band of an rgb value.
#include <vigra/rgbvalue.hxx>
 Namespace: vigra 
| value_type const& operator() | ( | ITERATOR const & | i | ) | const | 
Get value of the green component
| value_type const& operator() | ( | ITERATOR const & | i, | 
| DIFFERENCE | d | ||
| ) | const | 
Get value of the green component at an offset
| void set | ( | V | value, | 
| ITERATOR const & | i | ||
| ) | const | 
Set value of the green component. The type V of the passed in value is automatically converted to value_type. 
| void set | ( | V | value, | 
| ITERATOR const & | i, | ||
| DIFFERENCE | d | ||
| ) | const | 
Set value of the green component at an offset. The type V of the passed in value is automatically converted to value_type. 
| 
© Ullrich Köthe     (ullrich.koethe@iwr.uni-heidelberg.de)  | 
html generated using doxygen and Python
 |