49 #include <visp3/core/vpColVector.h> 90 inline vpRGBa(
const unsigned char &r,
const unsigned char &g,
const unsigned char &b,
const unsigned char &a = 0)
91 : R(r), G(g), B(b), A(a)
103 inline vpRGBa(
const unsigned char &v) : R(v), G(v), B(v), A(v) {}
126 vpRGBa &operator=(
const unsigned char &v);
128 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11) 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;
145 friend VISP_EXPORT std::ostream &operator<<(std::ostream &os,
const vpRGBa &rgba);
153 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.
vpColVector operator*(const double &x, const vpColVector &v)
vpRGBa(const vpColVector &v)
unsigned char A
Additionnal component.
Implementation of column vector and the associated operations.
unsigned char R
Red component.
vpRGBa(const unsigned char &v)