ViSP  2.8.0

#include <vpColor.h>

+ Inheritance diagram for vpColor:

Public Types

enum  vpColorIdentifier {
  id_black =0, id_white, id_lightGray, id_gray,
  id_darkGray, id_lightRed, id_red, id_darkRed,
  id_lightGreen, id_green, id_darkGreen, id_lightBlue,
  id_blue, id_darkBlue, id_yellow, id_cyan,
  id_orange, id_purple, id_unknown
}
 

Public Member Functions

 vpColor ()
 
 vpColor (unsigned char R, unsigned char G, unsigned char B, vpColor::vpColorIdentifier id=vpColor::id_unknown)
 
void setColor (unsigned char R, unsigned char G, unsigned char B)
 
bool operator== (const vpRGBa &v)
 
bool operator!= (const vpRGBa &v)
 
vpColVector operator- (const vpRGBa &v) const
 
vpColVector operator- (const vpColVector &v) const
 
vpRGBa operator+ (const vpRGBa &v) const
 
vpColVector operator+ (const vpColVector &v) const
 
vpColVector operator* (const float &v) const
 
vpColVector operator* (const double &v) const
 
bool operator< (const vpRGBa &v) const
 
bool operator> (const vpRGBa &v) const
 

Static Public Member Functions

static vpColor getColor (const unsigned int &i)
 

Public Attributes

vpColorIdentifier id
 
unsigned char R
 
unsigned char G
 
unsigned char B
 
unsigned char A
 

Static Public Attributes

static const vpColor black = vpColor(0, 0, 0, id_black)
 
static const vpColor white = vpColor(255, 255, 255, id_white)
 
static const vpColor lightGray = vpColor(192, 192, 192, id_lightGray)
 
static const vpColor gray = vpColor(128, 128, 128, id_gray)
 
static const vpColor darkGray = vpColor(64, 64, 64, id_darkGray)
 
static const vpColor lightRed = vpColor(255, 140, 140, id_lightRed)
 
static const vpColor red = vpColor(255, 0, 0, id_red)
 
static const vpColor darkRed = vpColor(128, 0, 0, id_darkRed)
 
static const vpColor lightGreen = vpColor(140, 255, 140, id_lightGreen)
 
static const vpColor green = vpColor(0, 255, 0, id_green)
 
static const vpColor darkGreen = vpColor(0, 128, 0, id_darkGreen)
 
static const vpColor lightBlue = vpColor(140, 140, 255, id_lightBlue)
 
static const vpColor blue = vpColor(0, 0, 255, id_blue)
 
static const vpColor darkBlue = vpColor(0, 0, 128, id_darkBlue)
 
static const vpColor yellow = vpColor(255, 255, 0, id_yellow)
 
static const vpColor cyan = vpColor(0, 255, 255, id_cyan)
 
static const vpColor orange = vpColor(255, 165, 0, id_orange)
 
static const vpColor purple = vpColor(128, 0, 128, id_purple)
 
static const vpColor none = vpColor(0, 0, 0, id_unknown)
 
static const unsigned int nbColors = 18
 
static const vpColor allColors []
 

Detailed Description

Class to define colors available for display functionnalities.

You may use predefined colors (black, white, red, green, blue, cyan and orange) or specify your own color by settings its R,G,B values.

An identifier vpColorIdentifier is associated to each color. This identifier is useful to determine if a color is predefined or specified by it R,G,B values. In that last case, the identifier is always set to vpColor::id_unknown.

The example below shows how to display geometric features in a display overlay using predefined colors (here the blue color to draw a circle) and a specific brown color (used to draw a rectangle).

#include <visp/vpConfig.h>
#include <visp/vpDisplayX.h>
#include <visp/vpDisplayGTK.h>
#include <visp/vpDisplayGDI.h>
#include <visp/vpDisplayD3D.h>
#include <visp/vpDisplayOpenCV.h>
int main()
{
vpImage<unsigned char> I(240, 320); // Create a black grey level image
// Depending on the detected third party libraries, we instantiate here the
// first video device which is available
#if defined(VISP_HAVE_X11)
d = new vpDisplayX;
#elif defined(VISP_HAVE_GTK)
d = new vpDisplayGTK;
#elif defined(VISP_HAVE_GDI)
d = new vpDisplayGDI;
#elif defined(VISP_HAVE_D3D9)
d = new vpDisplayD3D;
#elif defined(VISP_HAVE_OPENCV)
d = new vpDisplayOpenCV;
#endif
// Initialize the display with the image I. Display and image are
// now link together.
#ifdef VISP_HAVE_DISPLAY
d->init(I);
#endif
// Set the display background with image I content
// Draw a filled circle with the predefined blue color
vpDisplay::displayCircle(I, 100, 200, 30, vpColor::blue, true);
// Creation of a new brown color with its RGB values
vpColor color(128, 100, 50);
// Draw a brown rectangle in the display overlay (foreground)
vpDisplay::displayRectangle(I, 10, 10, 100, 20, color, true);
// Flush the foreground and background display
delete d;
}
Examples:
servoMomentImage.cpp, servoMomentPoints.cpp, servoMomentPolygon.cpp, servoViper850Point2DArtVelocity-jointAvoidance-basic.cpp, servoViper850Point2DArtVelocity-jointAvoidance-gpa.cpp, and SickLDMRS-Process.cpp.

Definition at line 125 of file vpColor.h.

Member Enumeration Documentation

Predefined colors identifier.

Enumerator
id_black 

Identifier associated to the predefined vpColor::black color.

id_white 

Identifier associated to the predefined vpColor::white color.

id_lightGray 

Identifier associated to the predefined vpColor::lightGray color.

id_gray 

Identifier associated to the predefined vpColor::gray color.

id_darkGray 

Identifier associated to the predefined vpColor::darkGray color.

id_lightRed 

Identifier associated to the predefined vpColor::lightRed color.

id_red 

Identifier associated to the predefined vpColor::red color.

id_darkRed 

Identifier associated to the predefined vpColor::darkRed color.

id_lightGreen 

Identifier associated to the predefined vpColor::lightGreen color.

id_green 

Identifier associated to the predefined vpColor::green color.

id_darkGreen 

Identifier associated to the predefined vpColor::darkGreen color.

id_lightBlue 

Identifier associated to the predefined vpColor::lightBlue color.

id_blue 

Identifier associated to the predefined vpColor::blue color.

id_darkBlue 

Identifier associated to the predefined vpColor::darkBlue color.

id_yellow 

Identifier associated to the predefined vpColor::yellow color.

id_cyan 

Identifier associated to the predefined vpColor::cyan color.

id_orange 

Identifier associated to the predefined vpColor::orange color.

id_purple 

Identifier associated to the predefined vpColor::purple color.

id_unknown 

Identifier associated to unknowned colors. By unknowned, we mean not a predefined color. This identifier can also be used to know the number of predefined colors.

Definition at line 129 of file vpColor.h.

Constructor & Destructor Documentation

vpColor::vpColor ( )
inline

Default constructor. All the colors components are set to zero.

The color identifier is set to vpColor::id_unknown to indicate that this color is not a predefined one.

Definition at line 191 of file vpColor.h.

vpColor::vpColor ( unsigned char  R,
unsigned char  G,
unsigned char  B,
vpColor::vpColorIdentifier  id = vpColor::id_unknown 
)
inline

Construct a color from its RGB values.

Parameters
R: Red component.
G: Green component.
B: Blue component.
id: The color identifier to indicate if this color is or not a predefined one.

Definition at line 204 of file vpColor.h.

Member Function Documentation

static vpColor vpColor::getColor ( const unsigned int &  i)
inlinestatic

Get a predefined color

Parameters
i: color indice

Definition at line 234 of file vpColor.h.

References allColors, and nbColors.

Referenced by vpIoTools::readConfigVar().

bool vpRGBa::operator!= ( const vpRGBa v)
inherited

Compare two color pixels.

Returns
true if the images are different, false if they are the same.

Definition at line 127 of file vpRGBa.cpp.

References vpRGBa::A, vpRGBa::B, vpRGBa::G, and vpRGBa::R.

vpColVector vpRGBa::operator* ( const float &  v) const
inherited

Multiplication operator : v * "this".

Parameters
v: Value to multiply.
Returns
v * "this"

Definition at line 212 of file vpRGBa.cpp.

References vpRGBa::A, vpRGBa::B, vpRGBa::G, and vpRGBa::R.

vpColVector vpRGBa::operator* ( const double &  v) const
inherited

Multiplication operator : v * "this".

Parameters
v: Value to multiply.
Returns
v * "this"

Definition at line 228 of file vpRGBa.cpp.

References vpRGBa::A, vpRGBa::B, vpRGBa::G, and vpRGBa::R.

vpRGBa vpRGBa::operator+ ( const vpRGBa v) const
inherited

Addition operator : "this" + v.

Parameters
v: Color to add to the current object "this".
Returns
"this" + v
Warning
in case of overflow : e.g. 128+128 returns 0 for all 4 channels

Definition at line 164 of file vpRGBa.cpp.

References vpRGBa::A, vpRGBa::B, vpRGBa::G, and vpRGBa::R.

vpColVector vpRGBa::operator+ ( const vpColVector v) const
inherited

Addition operator : "this" + v.

Parameters
v: Color to add to the current object "this".
Returns
"this" + v

Definition at line 196 of file vpRGBa.cpp.

References vpRGBa::A, vpRGBa::B, vpRGBa::G, and vpRGBa::R.

vpColVector vpRGBa::operator- ( const vpRGBa v) const
inherited

Substraction operator : "this" - v.

Parameters
v: Color to substract to the current object "this".
Returns
"this" - v

Definition at line 147 of file vpRGBa.cpp.

References vpRGBa::A, vpRGBa::B, vpRGBa::G, and vpRGBa::R.

vpColVector vpRGBa::operator- ( const vpColVector v) const
inherited

Substraction operator : "this" - v.

Parameters
v: Color to substract to the current object "this".
Returns
"this" - v

Definition at line 180 of file vpRGBa.cpp.

References vpRGBa::A, vpRGBa::B, vpRGBa::G, and vpRGBa::R.

bool vpRGBa::operator< ( const vpRGBa v) const
inherited

Definition at line 239 of file vpRGBa.cpp.

References vpRGBa::B, vpRGBa::G, and vpRGBa::R.

bool vpRGBa::operator== ( const vpRGBa v)
inherited

Compare two RGBa values.

Returns
true if the values are the same, false otherwise.

Definition at line 109 of file vpRGBa.cpp.

References vpRGBa::A, vpRGBa::B, vpRGBa::G, and vpRGBa::R.

bool vpRGBa::operator> ( const vpRGBa v) const
inherited

Definition at line 248 of file vpRGBa.cpp.

References vpRGBa::B, vpRGBa::G, and vpRGBa::R.

void vpColor::setColor ( unsigned char  R,
unsigned char  G,
unsigned char  B 
)
inline

Set a color from its RGB values.

Parameters
R: Red component.
G: Green component.
B: Blue component.

The color identifier is set to vpColor::id_unknown to indicate that this color is not a predefined one.

Definition at line 220 of file vpColor.h.

References vpRGBa::B, vpRGBa::G, and vpRGBa::R.

Member Data Documentation

unsigned char vpRGBa::A
inherited
vpColor const vpColor::black = vpColor(0, 0, 0, id_black)
static

< Predefined black color with R=G=B=0 and identifier vpColor::id_black. Predefined white color with R=G=B=255 and identifier vpColor::id_white.

Examples:
manDisplay.cpp, manGeometricFeatures.cpp, servoViper850Point2DArtVelocity-jointAvoidance-basic.cpp, servoViper850Point2DArtVelocity-jointAvoidance-gpa.cpp, and testDisplays.cpp.

Definition at line 161 of file vpColor.h.

Referenced by vpDisplayX::init(), and vpDisplayOpenCV::init().

vpColor const vpColor::blue = vpColor(0, 0, 255, id_blue)
static

Predefined dark blue color with B= 128 and R=G=0 and identifier vpColor::id_darkBlue.

Examples:
displayD3D.cpp, displayGDI.cpp, displayGTK.cpp, displayOpenCV.cpp, displayX.cpp, displayXMulti.cpp, manDisplay.cpp, manGeometricFeatures.cpp, mbtEdgeKltTracking.cpp, mbtEdgeTracking.cpp, mbtKltTracking.cpp, servoAfma4Point2DArtVelocity.cpp, servoAfma4Point2DCamVelocity.cpp, servoAfma4Point2DCamVelocityKalman.cpp, servoAfma6Ellipse2DCamVelocity.cpp, servoAfma6FourPoints2DArtVelocity.cpp, servoAfma6FourPoints2DCamVelocityInteractionCurrent.cpp, servoAfma6FourPoints2DCamVelocityInteractionDesired.cpp, servoAfma6Point2DArtVelocity.cpp, servoAfma6Point2DCamVelocity.cpp, servoAfma6Points2DCamVelocityEyeToHand.cpp, servoAfma6Segment2DCamVelocity.cpp, servoMomentImage.cpp, servoViper650FourPoints2DArtVelocityInteractionCurrent.cpp, servoViper650FourPoints2DCamVelocityInteractionCurrent.cpp, servoViper650Point2DCamVelocity.cpp, servoViper850FourPoints2DArtVelocityInteractionCurrent.cpp, servoViper850FourPoints2DArtVelocityInteractionDesired.cpp, servoViper850FourPoints2DCamVelocityInteractionCurrent.cpp, servoViper850FourPointsKinect.cpp, servoViper850Point2DArtVelocity-jointAvoidance-basic.cpp, servoViper850Point2DArtVelocity-jointAvoidance-gpa.cpp, servoViper850Point2DArtVelocity.cpp, servoViper850Point2DCamVelocity.cpp, servoViper850Point2DCamVelocityKalman.cpp, SickLDMRS-Process.cpp, sonarPioneerReader.cpp, testDisplays.cpp, trackDot.cpp, trackDot2.cpp, trackDot2WithAutoDetection.cpp, tutorial-ibvs-4pts-wireframe-robot-afma6.cpp, tutorial-ibvs-4pts-wireframe-robot-viper.cpp, and wireframeSimulator.cpp.

Definition at line 173 of file vpColor.h.

Referenced by vpMeSite::display(), vpMeEllipse::display(), vpProjectionDisplay::displayCamera(), vpDisplay::displayFrame(), vpDisplayX::init(), vpDisplayOpenCV::init(), vpMeLine::sample(), vpDot2::searchDotsInArea(), vpMeLine::seekExtremities(), vpMeNurbs::seekExtremities(), vpDot2::trackAndDisplay(), and vpWireFrameSimulator::vpWireFrameSimulator().

vpColor const vpColor::cyan = vpColor(0, 255, 255, id_cyan)
static
vpColor const vpColor::darkBlue = vpColor(0, 0, 128, id_darkBlue)
static

Predefined yellow color with R=G=255 and B=0 and identifier vpColor::id_yellow.

Definition at line 174 of file vpColor.h.

Referenced by vpDisplayX::init(), and vpDisplayOpenCV::init().

vpColor const vpColor::darkGray = vpColor(64, 64, 64, id_darkGray)
static

Predefined light red color with R= 255 and G=B=140 and identifier vpColor::id_lightRed.

Definition at line 165 of file vpColor.h.

Referenced by vpDisplayX::init(), and vpDisplayOpenCV::init().

vpColor const vpColor::darkGreen = vpColor(0, 128, 0, id_darkGreen)
static

Predefined light blue color with B= 255 and R=G=140 and identifier vpColor::id_lightBlue.

Definition at line 171 of file vpColor.h.

Referenced by vpDisplayX::init(), and vpDisplayOpenCV::init().

vpColor const vpColor::darkRed = vpColor(128, 0, 0, id_darkRed)
static

Predefined light green color with G= 255 and R=B=140 and identifier vpColor::id_lightGreen.

Examples:
mbtEdgeKltTracking.cpp, mbtEdgeTracking.cpp, and mbtKltTracking.cpp.

Definition at line 168 of file vpColor.h.

Referenced by vpDisplayX::init(), and vpDisplayOpenCV::init().

vpColor const vpColor::gray = vpColor(128, 128, 128, id_gray)
static

Predefined dark gray color with R=G=B=192 and identifier vpColor::id_darkGray.

Definition at line 164 of file vpColor.h.

Referenced by vpDisplayX::init(), and vpDisplayOpenCV::init().

vpColor const vpColor::green = vpColor(0, 255, 0, id_green)
static

Predefined dark green color with G= 128 and R=B=0 and identifier vpColor::id_darkGreen.

Examples:
BSpline.cpp, displayD3D.cpp, displayGDI.cpp, displayGTK.cpp, displayOpenCV.cpp, displayX.cpp, displayXMulti.cpp, fernClassifier.cpp, keyPointSurf.cpp, manDisplay.cpp, Nurbs.cpp, planarObjectDetector.cpp, plot2d.cpp, plot3d.cpp, servoAfma4Point2DArtVelocity.cpp, servoAfma4Point2DCamVelocity.cpp, servoAfma4Point2DCamVelocityKalman.cpp, servoAfma62DhalfCamVelocity.cpp, servoAfma6Cylinder2DCamVelocity.cpp, servoAfma6Cylinder2DCamVelocitySecondaryTask.cpp, servoAfma6Ellipse2DCamVelocity.cpp, servoAfma6FourPoints2DArtVelocity.cpp, servoAfma6FourPoints2DCamVelocityInteractionCurrent.cpp, servoAfma6FourPoints2DCamVelocityInteractionDesired.cpp, servoAfma6Line2DCamVelocity.cpp, servoAfma6Point2DArtVelocity.cpp, servoAfma6Point2DCamVelocity.cpp, servoAfma6Points2DCamVelocityEyeToHand.cpp, servoAfma6Segment2DCamVelocity.cpp, servoAfma6SquareLines2DCamVelocity.cpp, servoAfma6TwoLines2DCamVelocity.cpp, servoMomentImage.cpp, servoSimuFourPoints2DCamVelocityDisplay.cpp, servoSimuFourPoints2DPolarCamVelocityDisplay.cpp, servoViper650FourPoints2DArtVelocityInteractionCurrent.cpp, servoViper650FourPoints2DCamVelocityInteractionCurrent.cpp, servoViper650Point2DCamVelocity.cpp, servoViper850FourPoints2DArtVelocityInteractionCurrent.cpp, servoViper850FourPoints2DArtVelocityInteractionDesired.cpp, servoViper850FourPoints2DCamVelocityInteractionCurrent.cpp, servoViper850FourPointsKinect.cpp, servoViper850Point2DArtVelocity-jointAvoidance-basic.cpp, servoViper850Point2DArtVelocity-jointAvoidance-gpa.cpp, servoViper850Point2DArtVelocity.cpp, servoViper850Point2DCamVelocity.cpp, servoViper850Point2DCamVelocityKalman.cpp, SickLDMRS-Process.cpp, sonarPioneerReader.cpp, testDisplays.cpp, testFeatureSegment.cpp, testSurfKeyPoint.cpp, trackDot2.cpp, trackDot2WithAutoDetection.cpp, trackMeCircle.cpp, trackMeEllipse.cpp, trackMeLine.cpp, trackMeNurbs.cpp, tutorial-ibvs-4pts-display.cpp, tutorial-ibvs-4pts-image-tracking.cpp, tutorial-ibvs-4pts-ogre-tracking.cpp, tutorial-ibvs-4pts-wireframe-camera.cpp, tutorial-ibvs-4pts-wireframe-robot-afma6.cpp, tutorial-ibvs-4pts-wireframe-robot-viper.cpp, and wireframeSimulator.cpp.

Definition at line 170 of file vpColor.h.

Referenced by vpMeLine::computeRhoTheta(), vpProjectionDisplay::display(), vpPlanarObjectDetector::display(), vpKeyPointSurf::display(), vpMeLine::display(), vpMeSite::display(), vpFernClassifier::display(), vpProjectionDisplay::displayCamera(), vpDisplay::displayFrame(), vpDisplayX::init(), vpDisplayOpenCV::init(), vpMbTracker::initClick(), vpMeTracker::initTracking(), vpMeEllipse::initTracking(), vpMeNurbs::initTracking(), vpMeLine::seekExtremities(), vpMeNurbs::seekExtremitiesCanny(), vpMeTracker::track(), vpMeSite::track(), vpDot2::trackAndDisplay(), vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), and vpWireFrameSimulator::vpWireFrameSimulator().

vpColor const vpColor::lightBlue = vpColor(140, 140, 255, id_lightBlue)
static

Predefined blue color with R=G=0 and B=255 and identifier vpColor::id_blue.

Definition at line 172 of file vpColor.h.

Referenced by vpDisplayX::init(), and vpDisplayOpenCV::init().

vpColor const vpColor::lightGray = vpColor(192, 192, 192, id_lightGray)
static

Predefined gray color with R=G=B=128 and identifier vpColor::id_gray.

Definition at line 163 of file vpColor.h.

Referenced by vpDisplayX::init(), and vpDisplayOpenCV::init().

vpColor const vpColor::lightGreen = vpColor(140, 255, 140, id_lightGreen)
static

Predefined green color with G=255 and R=B=0 and identifier vpColor::id_green.

Definition at line 169 of file vpColor.h.

Referenced by vpDisplayX::init(), and vpDisplayOpenCV::init().

vpColor const vpColor::lightRed = vpColor(255, 140, 140, id_lightRed)
static

Predefined red color with R=255 and G=B=0 and identifier vpColor::id_red.

Definition at line 166 of file vpColor.h.

Referenced by vpDisplayX::init(), and vpDisplayOpenCV::init().

const unsigned int vpColor::nbColors = 18
static

Definition at line 181 of file vpColor.h.

Referenced by getColor().

vpColor const vpColor::purple = vpColor(128, 0, 128, id_purple)
static
Examples:
manDisplay.cpp, and servoMomentImage.cpp.

Definition at line 178 of file vpColor.h.

Referenced by vpMeSite::display(), vpDisplayX::init(), and vpDisplayOpenCV::init().

vpColor const vpColor::red = vpColor(255, 0, 0, id_red)
static

Predefined dark red color with R= 128 and G=B=0 and identifier vpColor::id_darkRed.

Examples:
AROgre.cpp, AROgreBasic.cpp, BSpline.cpp, displayD3D.cpp, displayGDI.cpp, displayGTK.cpp, displayOpenCV.cpp, displayX.cpp, displayXMulti.cpp, fernClassifier.cpp, keyPointSurf.cpp, manDisplay.cpp, manGeometricFeatures.cpp, mbtEdgeKltTracking.cpp, mbtEdgeTracking.cpp, mbtKltTracking.cpp, Nurbs.cpp, planarObjectDetector.cpp, plot2d.cpp, plot3d.cpp, poseVirtualVS.cpp, servoAfma62DhalfCamVelocity.cpp, servoAfma6Cylinder2DCamVelocity.cpp, servoAfma6Cylinder2DCamVelocitySecondaryTask.cpp, servoAfma6Line2DCamVelocity.cpp, servoAfma6Points2DCamVelocityEyeToHand.cpp, servoAfma6Segment2DCamVelocity.cpp, servoAfma6SquareLines2DCamVelocity.cpp, servoAfma6TwoLines2DCamVelocity.cpp, servoMomentImage.cpp, servoPioneerPanSegment3D.cpp, servoPioneerPoint2DDepth.cpp, servoPioneerPoint2DDepthWithoutVpServo.cpp, servoSimuCylinder2DCamVelocityDisplaySecondaryTask.cpp, servoSimuFourPoints2DPolarCamVelocityDisplay.cpp, servoViper850Point2DArtVelocity-jointAvoidance-basic.cpp, servoViper850Point2DArtVelocity-jointAvoidance-gpa.cpp, SickLDMRS-Process.cpp, sonarPioneerReader.cpp, testDisplays.cpp, testFeatureSegment.cpp, testSurfKeyPoint.cpp, testTrackDot.cpp, trackDot.cpp, trackKltOpencv.cpp, tutorial-ibvs-4pts-display.cpp, tutorial-ibvs-4pts-image-tracking.cpp, tutorial-ibvs-4pts-ogre-tracking.cpp, tutorial-ibvs-4pts-wireframe-robot-afma6.cpp, tutorial-ibvs-4pts-wireframe-robot-viper.cpp, tutorial-image-viewer.cpp, tutorial-klt-tracker.cpp, tutorial-mb-edge-tracker.cpp, tutorial-mb-hybrid-tracker.cpp, tutorial-mb-klt-tracker.cpp, tutorial-me-ellipse-tracker.cpp, tutorial-me-line-tracker.cpp, tutorial-simu-pioneer-pan.cpp, tutorial-simu-pioneer.cpp, and wireframeSimulator.cpp.

Definition at line 167 of file vpColor.h.

Referenced by vpMbtDistanceCylinder::computeInteractionMatrixError(), vpMeLine::computeRhoTheta(), vpPlanarObjectDetector::display(), vpKeyPointSurf::display(), vpMeSite::display(), vpFernClassifier::display(), vpMeEllipse::display(), vpProjectionDisplay::displayCamera(), vpDisplay::displayFrame(), vpMbtKltPolygon::displayPrimitive(), vpWireFrameSimulator::getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpDisplayX::init(), vpDisplayOpenCV::init(), vpPolygon::initClick(), vpMbTracker::initClick(), vpMeEllipse::initTracking(), vpMeLine::initTracking(), vpMeSite::track(), vpMeEllipse::track(), vpMeLine::track(), vpDot2::track(), vpDot::track(), vpDot2::trackAndDisplay(), and vpWireFrameSimulator::vpWireFrameSimulator().

vpColor const vpColor::white = vpColor(255, 255, 255, id_white)
static

Predefined light gray color with R=G=B=64 and identifier vpColor::id_lightGray.

Examples:
manDisplay.cpp.

Definition at line 162 of file vpColor.h.

Referenced by vpDisplayX::init(), vpDisplayOpenCV::init(), and vpImageSimulator::vpImageSimulator().

vpColor const vpColor::yellow = vpColor(255, 255, 0, id_yellow)
static