48 #include <visp/vpConfig.h>
49 #include <visp/vpRGBa.h>
190 :
vpRGBa(), id(id_unknown)
202 inline vpColor(
unsigned char R,
unsigned char G,
unsigned char B,
218 inline void setColor(
unsigned char R,
unsigned char G,
unsigned char B) {
244 return ( ( c1.
R == c2.
R ) && ( c1.
G == c2.
G ) && ( c1.
B == c2.
B) );
256 return ( ( c1.
R != c2.
R ) || ( c1.
G != c2.
G ) || ( c1.
B == c2.
B) );
static const vpColor allColors[]
void setColor(unsigned char R, unsigned char G, unsigned char B)
unsigned char B
Blue component.
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
unsigned char G
Green component.
static const vpColor green
VISP_EXPORT bool operator!=(const vpImagePoint &ip1, const vpImagePoint &ip2)
static const vpColor lightRed
Class that defines a RGB 32 bits structure.
static const vpColor orange
static const vpColor cyan
static const vpColor lightGreen
VISP_EXPORT bool operator==(const vpImagePoint &ip1, const vpImagePoint &ip2)
static const vpColor gray
static const vpColor darkGray
vpColor(unsigned char R, unsigned char G, unsigned char B, vpColor::vpColorIdentifier id=vpColor::id_unknown)
unsigned char R
Red component.
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
static const unsigned int nbColors
static const vpColor blue