43 #include <visp3/core/vpConfig.h>
44 #include <visp3/core/vpColVector.h>
67 inline vpRGBf() : R(0), G(0), B(0) { }
78 inline vpRGBf(
float r,
float g,
float b)
89 VP_EXPLICIT
inline vpRGBf(
float v) : R(v), G(v), B(v) { }
117 vpRGBf &operator=(
float v);
120 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
124 bool operator==(
const vpRGBf &v)
const;
125 bool operator!=(
const vpRGBf &v)
const;
134 bool operator<(
const vpRGBf &v)
const;
135 bool operator>(
const vpRGBf &v)
const;
137 friend VISP_EXPORT std::ostream &operator<<(std::ostream &os,
const vpRGBf &rgb);
Implementation of column vector and the associated operations.
VP_EXPLICIT vpRGBf(const vpColVector &v)
vpRGBf(float r, float g, float b)
VP_EXPLICIT vpRGBf(int v)
VP_EXPLICIT vpRGBf(float v)
vpMatrix operator*(const double &x, const vpMatrix &A)