49 #include <visp3/core/vpColVector.h>
92 inline vpRGBa(
const unsigned char &r,
const unsigned char &g,
93 const unsigned char &b,
const unsigned char &a=0)
94 : R(r), G(g), B(b), A(a) {}
105 inline vpRGBa(
const unsigned char &v) : R(v), G(v), B(v), A(v) {}
131 vpRGBa & operator=(
const unsigned char &v) ;
133 #ifdef VISP_HAVE_CPP11_COMPATIBILITY
137 bool operator==(
const vpRGBa &v);
138 bool operator!=(
const vpRGBa &v);
147 bool operator<(
const vpRGBa &v)
const;
148 bool operator>(
const vpRGBa &v)
const;
150 friend VISP_EXPORT std::ostream& operator<< (std::ostream &os,
const vpRGBa& rgba);
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)