53 #include <visp/vpColVector.h>
77 inline vpRGBa() : R(0), G(0), B(0), A(0) {};
90 inline vpRGBa(
const unsigned char &r,
const unsigned char &g,
91 const unsigned char &b,
const unsigned char &a=0)
92 : R(r), G(g), B(b), A(a) {};
103 inline vpRGBa(
const unsigned char &v) : R(v), G(v), B(v), A(v) {};
129 vpRGBa & operator=(
const unsigned char &v) ;
132 bool operator==(
const vpRGBa &v);
133 bool operator!=(
const vpRGBa &v);
142 bool operator<(
const vpRGBa &v)
const;
143 bool operator>(
const vpRGBa &v)
const;
151 friend VISP_EXPORT
vpRGBa operator*(
const double &x,
const vpRGBa &rgb);
vpRGBa(const unsigned char &r, const unsigned char &g, const unsigned char &b, const unsigned char &a=0)
unsigned char B
Blue component.
unsigned char G
Green component.
Class that defines a RGB 32 bits structure.
vpRGBa(const vpColVector &v)
unsigned char A
Additionnal component.
Class that provides a data structure for the column vectors as well as a set of operations on these v...
unsigned char R
Red component.
vpRGBa(const unsigned char &v)