45 #include <visp3/core/vpColVector.h>
66 inline vpRGBf() : R(0), G(0), B(0) {}
77 inline vpRGBf(
float r,
float g,
float b)
89 inline vpRGBf(
float v) : R(v), G(v), B(v) {}
105 vpRGBf &operator=(
float v);
107 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
111 bool operator==(
const vpRGBf &v);
112 bool operator!=(
const vpRGBf &v);
121 bool operator<(
const vpRGBf &v)
const;
122 bool operator>(
const vpRGBf &v)
const;
124 friend VISP_EXPORT std::ostream &operator<<(std::ostream &os,
const vpRGBf &rgb);
Implementation of column vector and the associated operations.
vpRGBf(const vpColVector &v)
vpRGBf(float r, float g, float b)
vpColVector operator*(const double &x, const vpColVector &v)