Visual Servoing Platform  version 3.0.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
vpServoDisplay Class Reference

#include <visp3/vs/vpServoDisplay.h>

Static Public Member Functions

static void display (const vpServo &s, const vpCameraParameters &cam, const vpImage< unsigned char > &I, vpColor currentColor=vpColor::green, vpColor desiredColor=vpColor::red, unsigned int thickness=1)
 
static void display (const vpServo &s, const vpCameraParameters &cam, const vpImage< vpRGBa > &I, vpColor currentColor=vpColor::green, vpColor desiredColor=vpColor::red, unsigned int thickness=1)
 

Detailed Description

Interface with the image for feature display.

Definition at line 61 of file vpServoDisplay.h.

Member Function Documentation

void vpServoDisplay::display ( const vpServo s,
const vpCameraParameters cam,
const vpImage< unsigned char > &  I,
vpColor  currentColor = vpColor::green,
vpColor  desiredColor = vpColor::red,
unsigned int  thickness = 1 
)
static

Display the current and the desired features in the image I.

Warning
To effectively display the dot graphics a call to vpDisplay::flush() is needed.
Parameters
s: Visual servoing control law.
cam: Camera parameters.
I: Image on which features have to be displayed.
currentColor: Color for the current features. If vpColor::none, current features display is turned off.
desiredColor: Color for the desired features. If vpColor::none, desired features display is turned off.
thickness: Thickness of the feature representation.
Examples:
manServo4PointsDisplay.cpp, manSimu4Dots.cpp, servoAfma4Point2DArtVelocity.cpp, servoAfma4Point2DCamVelocity.cpp, servoAfma4Point2DCamVelocityKalman.cpp, servoAfma6Ellipse2DCamVelocity.cpp, servoAfma6FourPoints2DArtVelocity.cpp, servoAfma6FourPoints2DCamVelocityInteractionCurrent.cpp, servoAfma6FourPoints2DCamVelocityInteractionDesired.cpp, servoAfma6Point2DArtVelocity.cpp, servoAfma6Point2DCamVelocity.cpp, servoAfma6Points2DCamVelocityEyeToHand.cpp, servoAfma6Segment2DCamVelocity.cpp, servoBiclopsPoint2DArtVelocity.cpp, servoPtu46Point2DArtVelocity.cpp, servoSimuCircle2DCamVelocityDisplay.cpp, servoSimuCylinder2DCamVelocityDisplay.cpp, servoSimuCylinder2DCamVelocityDisplaySecondaryTask.cpp, servoSimuFourPoints2DCamVelocityDisplay.cpp, servoSimuFourPoints2DPolarCamVelocityDisplay.cpp, servoSimuLine2DCamVelocityDisplay.cpp, servoSimuSquareLine2DCamVelocityDisplay.cpp, servoViper650FourPoints2DArtVelocityInteractionCurrent.cpp, servoViper650FourPoints2DCamVelocityInteractionCurrent.cpp, servoViper650Point2DCamVelocity.cpp, servoViper850FourPoints2DArtVelocityInteractionCurrent.cpp, servoViper850FourPoints2DArtVelocityInteractionDesired.cpp, servoViper850FourPoints2DCamVelocityInteractionCurrent.cpp, servoViper850FourPointsKinect.cpp, servoViper850Point2DArtVelocity-jointAvoidance-basic.cpp, servoViper850Point2DArtVelocity-jointAvoidance-gpa.cpp, servoViper850Point2DArtVelocity-jointAvoidance-large.cpp, servoViper850Point2DArtVelocity.cpp, servoViper850Point2DCamVelocity.cpp, servoViper850Point2DCamVelocityKalman.cpp, tutorial-ibvs-4pts-display.cpp, tutorial-ibvs-4pts-image-tracking.cpp, and tutorial-ibvs-4pts-ogre-tracking.cpp.

Definition at line 79 of file vpServoDisplay.cpp.

References vpServo::desiredFeatureList, vpServo::featureList, and vpColor::none.

void vpServoDisplay::display ( const vpServo s,
const vpCameraParameters cam,
const vpImage< vpRGBa > &  I,
vpColor  currentColor = vpColor::green,
vpColor  desiredColor = vpColor::red,
unsigned int  thickness = 1 
)
static

Display the current and the desired features in the image I.

Warning
To effectively display the dot graphics a call to vpDisplay::flush() is needed.
Parameters
s: Visual servoing control law.
cam: Camera parameters.
I: Color image on which features have to be displayed.
currentColor: Color for the current features. If vpColor::none, current features display is turned off.
desiredColor: Color for the desired features. If vpColor::none, desired features display is turned off.
thickness: Thickness of the feature representation.

Definition at line 126 of file vpServoDisplay.cpp.

References vpServo::desiredFeatureList, vpServo::featureList, and vpColor::none.