49 #include <visp3/core/vpColVector.h> 91 : R(r), G(g), B(b), A(a)
103 inline vpRGBa(
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);
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.
vpRGBa(unsigned char r, unsigned char g, unsigned char b, unsigned char a=vpRGBa::alpha_default)
Implementation of column vector and the associated operations.
unsigned char R
Red component.