![]() |
Visual Servoing Platform version 3.7.0
|
#include <vpColorGetter.h>
Public Member Functions | |
| ArithmeticType & | get (vpHSV< ArithmeticType, useFullScale > &hsv) |
| ArithmeticType & | get (vpHSV< ArithmeticType, useFullScale > &hsv) |
| ArithmeticType & | get (vpHSV< ArithmeticType, useFullScale > &hsv) |
| const ArithmeticType & | get (const vpHSV< ArithmeticType, useFullScale > &hsv) |
| const ArithmeticType & | get (const vpHSV< ArithmeticType, useFullScale > &hsv) |
| const ArithmeticType & | get (const vpHSV< ArithmeticType, useFullScale > &hsv) |
| unsigned char & | get (vpRGBa &rgba) |
| unsigned char & | get (vpRGBa &rgba) |
| unsigned char & | get (vpRGBa &rgba) |
| unsigned char & | get (vpRGBa &rgba) |
| const unsigned char & | get (const vpRGBa &rgba) |
| const unsigned char & | get (const vpRGBa &rgba) |
| const unsigned char & | get (const vpRGBa &rgba) |
| const unsigned char & | get (const vpRGBa &rgba) |
Static Public Member Functions | |
| template<typename ArithmeticType, bool useFullScale> | |
| static ArithmeticType & | get (vpHSV< ArithmeticType, useFullScale > &col) |
| template<typename ArithmeticType, bool useFullScale> | |
| static const ArithmeticType & | get (const vpHSV< ArithmeticType, useFullScale > &col) |
| static unsigned char & | get (vpRGBa &col) |
| static const unsigned char & | get (const vpRGBa &col) |
Helper class that permits to get a channel of a color type by its index instead of its name.
| ID | The index of the channel. |
Definition at line 48 of file vpColorGetter.h.
|
static |
Getter for a channel of a HSV pixel.
| ArithmeticType | The encoding type of a channel. |
| useFullScale | When using unsigned charn, either true if the Hue channel uses the full range of unsigned char or false if it uses a limited range. |
| [in] | col | The pixel we want to get a channel value. |
|
inline |
Definition at line 132 of file vpColorGetter.h.
References vpHSV< T, useFullScale >::V.
|
inline |
Definition at line 125 of file vpColorGetter.h.
References vpHSV< T, useFullScale >::S.
|
inline |
Definition at line 118 of file vpColorGetter.h.
References vpHSV< T, useFullScale >::H.
|
static |
Getter for a vpRGBA pixel.
| [in] | col | The pixel. |
|
inline |
Definition at line 181 of file vpColorGetter.h.
References vpRGBa::A.
|
inline |
Definition at line 175 of file vpColorGetter.h.
References vpRGBa::B.
|
inline |
Definition at line 169 of file vpColorGetter.h.
References vpRGBa::G.
|
inline |
Definition at line 163 of file vpColorGetter.h.
References vpRGBa::R.
|
static |
Setter for a channel of a HSV pixel.
| ArithmeticType | The encoding type of a channel. |
| useFullScale | When using unsigned charn, either true if the Hue channel uses the full range of unsigned char or false if it uses a limited range. |
| [in] | col | The pixel we want to set a channel value. |
|
inline |
Definition at line 111 of file vpColorGetter.h.
References vpHSV< T, useFullScale >::V.
|
inline |
Definition at line 104 of file vpColorGetter.h.
References vpHSV< T, useFullScale >::S.
|
inline |
Definition at line 97 of file vpColorGetter.h.
References vpHSV< T, useFullScale >::H.
|
static |
Setter for a vpRGBa pixel.
| [in] | col | The pixel. |
|
inline |
Definition at line 157 of file vpColorGetter.h.
References vpRGBa::A.
|
inline |
Definition at line 151 of file vpColorGetter.h.
References vpRGBa::B.
|
inline |
Definition at line 145 of file vpColorGetter.h.
References vpRGBa::G.
|
inline |
Definition at line 139 of file vpColorGetter.h.
References vpRGBa::R.