40#ifndef _vpImageDraw_h_
41#define _vpImageDraw_h_
43#include <visp3/core/vpConfig.h>
44#include <visp3/core/vpCameraParameters.h>
45#include <visp3/core/vpColor.h>
46#include <visp3/core/vpImage.h>
47#include <visp3/core/vpImageCircle.h>
48#include <visp3/core/vpMath.h>
49#include <visp3/core/vpRect.h>
71 unsigned char color,
unsigned int w = 4,
unsigned int h = 2,
unsigned int thickness = 1);
73 unsigned int w = 4,
unsigned int h = 2,
unsigned int thickness = 1);
76 unsigned char color,
unsigned int thickness = 1);
78 unsigned char color,
unsigned int thickness = 1);
80 const vpColor &color,
unsigned int thickness = 1);
82 unsigned int thickness = 1);
85 unsigned int thickness = 1);
87 unsigned int thickness = 1);
90 unsigned char color,
unsigned int thickness = 1);
92 unsigned int thickness = 1);
95 double coef3,
bool use_normalized_centered_moments,
unsigned char color,
96 double smallalpha = 0,
double highalpha = 2 * M_PI,
unsigned int thickness = 1);
98 bool use_normalized_centered_moments,
const vpColor &color,
double smallalpha = 0,
99 double highalpha = 2 * M_PI,
unsigned int thickness = 1);
102 double size,
unsigned char color,
unsigned int thickness = 1,
109 unsigned int thickness = 1);
111 unsigned int thickness = 1);
114 unsigned int thickness = 1);
118 unsigned int thickness = 1,
bool closed =
true);
120 unsigned int thickness = 1,
bool closed =
true);
123 unsigned int thickness = 1);
125 unsigned int thickness = 1);
Generic class defining intrinsic camera parameters.
Class to define RGB colors available for display functionalities.
static const vpColor none
Implementation of an homogeneous matrix and operations on such kind of matrices.
Class that defines a 2D circle in an image.
Drawing functions for image.
static void drawArrow(vpImage< unsigned char > &I, const vpImagePoint &ip1, const vpImagePoint &ip2, unsigned char color, unsigned int w=4, unsigned int h=2, unsigned int thickness=1)
static void drawEllipse(vpImage< unsigned char > &I, const vpImagePoint ¢er, double coef1, double coef2, double coef3, bool use_normalized_centered_moments, unsigned char color, double smallalpha=0, double highalpha=2 *M_PI, unsigned int thickness=1)
static void drawRectangle(vpImage< unsigned char > &I, const vpRect &rectangle, unsigned char color, bool fill=false, unsigned int thickness=1)
static void drawCircle(vpImage< unsigned char > &I, const vpImageCircle &circle, unsigned char color, unsigned int thickness=1)
static void drawLine(vpImage< unsigned char > &I, const vpImagePoint &ip1, const vpImagePoint &ip2, unsigned char color, unsigned int thickness=1)
static void drawPoint(vpImage< unsigned char > &I, const vpImagePoint &ip, unsigned char color, unsigned int thickness=1)
static void drawFrame(vpImage< unsigned char > &I, const vpHomogeneousMatrix &cMo, const vpCameraParameters &cam, double size, unsigned char color, unsigned int thickness=1, const vpImagePoint &offset=vpImagePoint(0, 0))
static void drawPolygon(vpImage< unsigned char > &I, const std::vector< vpImagePoint > &vip, unsigned char color, unsigned int thickness=1, bool closed=true)
static void drawCross(vpImage< unsigned char > &I, const vpImagePoint &ip, unsigned int size, unsigned char color, unsigned int thickness=1)
static void drawDottedLine(vpImage< unsigned char > &I, const vpImagePoint &ip1, const vpImagePoint &ip2, unsigned char color, unsigned int thickness=1)
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
Definition of the vpImage class member functions.
Defines a rectangle in the plane.