43#include <visp3/core/vpColVector.h>
64 inline vpRGBf() : R(0), G(0), B(0) {}
75 inline vpRGBf(
float r,
float g,
float b)
87 inline vpRGBf(
float v) : R(v), G(v), B(v) {}
103 vpRGBf &operator=(
float v);
105#if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
109 bool operator==(
const vpRGBf &v)
const;
110 bool operator!=(
const vpRGBf &v)
const;
119 bool operator<(
const vpRGBf &v)
const;
120 bool operator>(
const vpRGBf &v)
const;
122 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)