49 #include <visp3/core/vpColVector.h>
73 inline vpRGBa() : R(0), G(0), B(0), A(0) {};
86 inline vpRGBa(
const unsigned char &r,
const unsigned char &g,
87 const unsigned char &b,
const unsigned char &a=0)
88 : R(r), G(g), B(b), A(a) {};
99 inline vpRGBa(
const unsigned char &v) : R(v), G(v), B(v), A(v) {};
125 vpRGBa & operator=(
const unsigned char &v) ;
128 bool operator==(
const vpRGBa &v);
129 bool operator!=(
const vpRGBa &v);
138 bool operator<(
const vpRGBa &v)
const;
139 bool operator>(
const vpRGBa &v)
const;
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.
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)