53 #include <visp/vpColVector.h>
78 : R(0), G(0), B(0), A(0)
93 inline vpRGBa(
const unsigned char &R,
const unsigned char &G,
94 const unsigned char &B,
const unsigned char &A=0)
95 : R(R), G(G), B(B), A(A)
109 : R(v), G(v), B(v), A(v)
136 void operator=(
const unsigned char &v) ;
137 void operator=(
const vpRGBa &v) ;
139 bool operator==(
const vpRGBa &v);
140 bool operator!=(
const vpRGBa &v);
149 bool operator<(
const vpRGBa &v)
const;
150 bool operator>(
const vpRGBa &v)
const;
158 friend VISP_EXPORT
vpRGBa operator*(
const double &x,
const vpRGBa &rgb);
unsigned char B
Blue component.
vpRGBa(const unsigned char &R, const unsigned char &G, const unsigned char &B, const unsigned char &A=0)
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)