[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
#include <vigra/rgbvalue.hxx>
Additional Inherited Members | |
Public Types inherited from VectorAccessor< RGBVALUE > | |
| typedef VECTOR::value_type | component_type |
| typedef VectorElementAccessor< VectorAccessor< RGBVALUE > > | ElementAccessor |
Public Types inherited from SequenceAccessor< SEQUENCE > | |
| typedef SEQUENCE::value_type | component_type |
Public Types inherited from StandardAccessor< SEQUENCE > | |
| typedef SEQUENCE | value_type |
Encapsulate access to rgb values.
#include <vigra/rgbvalue.hxx>
Namespace: vigra
| component_type const & red | ( | RGBIterator const & | rgb | ) | const |
Get value of the red component
| void setRed | ( | V | value, |
| RGBIterator const & | rgb | ||
| ) | const |
Set value of the red component. The type V of the passed in value is automatically converted to component_type.
| component_type const & red | ( | RGBIterator const & | rgb, |
| DIFFERENCE | diff | ||
| ) | const |
Get value of the red component at an offset
| void setRed | ( | V | value, |
| RGBIterator const & | rgb, | ||
| DIFFERENCE | diff | ||
| ) | const |
Set value of the red component at an offset. The type V of the passed in value is automatically converted to component_type.
| component_type const & green | ( | RGBIterator const & | rgb | ) | const |
Get value of the green component
| void setGreen | ( | V | value, |
| RGBIterator const & | rgb | ||
| ) | const |
Set value of the green component. The type V of the passed in value is automatically converted to component_type.
| component_type const & green | ( | RGBIterator const & | rgb, |
| DIFFERENCE | d | ||
| ) | const |
Get value of the green component at an offset
| void setGreen | ( | V | value, |
| RGBIterator const & | rgb, | ||
| DIFFERENCE | d | ||
| ) | const |
Set value of the green component at an offset. The type V of the passed in value is automatically converted to component_type.
| component_type const & blue | ( | RGBIterator const & | rgb | ) | const |
Get value of the blue component
| void setBlue | ( | V | value, |
| RGBIterator const & | rgb | ||
| ) | const |
Set value of the blue component. The type V of the passed in value is automatically converted to component_type.
| component_type const & blue | ( | RGBIterator const & | rgb, |
| DIFFERENCE | d | ||
| ) | const |
Get value of the blue component at an offset
| void setBlue | ( | V | value, |
| RGBIterator const & | rgb, | ||
| DIFFERENCE | d | ||
| ) | const |
Set value of the blue component at an offset. The type V of the passed in value is automatically converted to component_type.
|
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |