43 #include <visp3/core/vpConfig.h> 44 #include <visp3/core/vpRGBa.h> 206 vpColorIdentifier
id;
252 inline vpColor(
unsigned char r,
unsigned char g,
unsigned char b,
254 :
vpRGBa(r, g, b), id(cid){}
266 inline vpColor(
unsigned char r,
unsigned char g,
unsigned char b,
unsigned char alpha,
268 :
vpRGBa(r, g, b, alpha), id(cid){}
276 :
vpRGBa(color.R, color.G, color.B, alpha), id(color.id) {}
314 #if defined(VISP_USE_MSVC) && defined(visp_EXPORTS) vpColor(unsigned char r, unsigned char g, unsigned char b, unsigned char alpha, vpColor::vpColorIdentifier cid=vpColor::id_unknown)
static const vpColor allColors[]
static const vpColor black
static const vpColor darkRed
Class to define RGB colors available for display functionnalities.
static const vpColor none
vpColor(const vpColor &color, unsigned char alpha)
static const vpColor lightGray
static const vpColor darkBlue
static const vpColor green
void setColor(unsigned char r, unsigned char g, unsigned char b, unsigned char a=vpRGBa::alpha_default)
static const vpColor lightRed
static const vpColor orange
bool operator==(const vpRGBa &v)
static const vpColor cyan
static const vpColor lightGreen
static const vpColor gray
static const vpColor darkGray
static const vpColor darkGreen
static vpColor getColor(const unsigned int &i)
static const vpColor yellow
static const vpColor lightBlue
static const vpColor purple
static const vpColor white
bool operator!=(const vpRGBa &v)
static const unsigned int nbColors
static const vpColor blue
vpColor(unsigned char r, unsigned char g, unsigned char b, vpColor::vpColorIdentifier cid=vpColor::id_unknown)