48 #include <visp/vpConfig.h>
49 #include <visp/vpRGBa.h>
192 :
vpRGBa(), id(id_unknown)
204 inline vpColor(
unsigned char r,
unsigned char g,
unsigned char b,
206 :
vpRGBa(r, g, b), id(cid)
222 inline void setColor(
unsigned char r,
unsigned char g,
unsigned char b) {
void setColor(unsigned char r, unsigned char g, unsigned char b)
static const vpColor allColors[]
static const vpColor black
static const vpColor darkRed
Class to define colors available for display functionnalities.
static const vpColor none
static const vpColor lightGray
static const vpColor darkBlue
static const vpColor green
static const vpColor lightRed
Class that defines a RGB 32 bits structure.
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)