39 #include <visp3/core/vpDisplay.h>
41 #include "vpDisplay_impl.h"
62 const vpColor &color,
unsigned int w,
unsigned int h,
unsigned int thickness)
64 vp_display_display_arrow(I, ip1, ip2, color, w, h, thickness);
78 unsigned int w,
unsigned int h,
unsigned int thickness)
80 vp_display_display_arrow(I, i1, j1, i2, j2, color, w, h, thickness);
99 vp_display_display_camera(I, cMo, cam, size, color, thickness);
118 vp_display_display_char_string(I, ip,
string, color);
137 vp_display_display_char_string(I, i, j,
string, color);
151 const vpColor &color,
bool fill,
unsigned int thickness)
153 vp_display_display_circle(I, center, radius, color, fill, thickness);
167 bool fill,
unsigned int thickness)
169 vp_display_display_circle(I, i, j, radius, color, fill, thickness);
181 const vpColor &color,
unsigned int thickness)
183 vp_display_display_cross(I, ip, size, color, thickness);
195 unsigned int thickness)
197 vp_display_display_cross(I, i, j, size, color, thickness);
208 const vpColor &color,
unsigned int thickness)
210 vp_display_display_dot_line(I, ip1, ip2, color, thickness);
222 unsigned int thickness)
224 vp_display_display_dot_line(I, i1, j1, i2, j2, color, thickness);
236 const bool closeTheShape,
const vpColor &color,
unsigned int thickness)
241 for (
size_t i = 0; i < ips.size() - 1; i++)
242 vp_display_display_dot_line(I, ips[i], ips[i + 1], color, thickness);
245 vp_display_display_dot_line(I, ips.front(), ips.back(), color, thickness);
297 const double &coef2,
const double &coef3,
bool use_centered_moments,
298 const vpColor &color,
unsigned int thickness)
357 const double &coef2,
const double &coef3,
const double &theta1,
const double &theta2,
358 bool use_centered_moments,
const vpColor &color,
unsigned int thickness)
360 vp_display_display_ellipse(I, center, coef1, coef2, coef3, theta1, theta2, use_centered_moments, color, thickness);
382 vp_display_display_frame(I, cMo, cam, size, color, thickness, offset);
393 const vpColor &color,
unsigned int thickness)
395 vp_display_display_line(I, ip1, ip2, color, thickness);
407 unsigned int thickness)
409 vp_display_display_line(I, i1, j1, i2, j2, color, thickness);
420 const bool closeTheShape,
const vpColor &color,
unsigned int thickness)
425 for (
size_t i = 0; i < ips.size() - 1; i++)
426 vp_display_display_line(I, ips[i], ips[i + 1], color, thickness);
429 vp_display_display_line(I, ips.front(), ips.back(), color, thickness);
440 unsigned int thickness)
442 vp_display_display_point(I, ip, color, thickness);
453 unsigned int thickness)
455 vp_display_display_point(I, i, j, color, thickness);
466 const vpColor &color,
unsigned int thickness)
468 vp_display_display_polygon(I, vip, color, thickness);
486 unsigned int height,
const vpColor &color,
bool fill,
unsigned int thickness)
488 vp_display_display_rectangle(I, topLeft, width, height, color, fill, thickness);
506 const vpColor &color,
bool fill,
unsigned int thickness)
508 vp_display_display_rectangle(I, i, j, width, height, color, fill, thickness);
525 bool fill,
unsigned int thickness)
527 vp_display_display_rectangle(I, rectangle, color, fill, thickness);
544 unsigned int width,
unsigned int height,
const vpColor &color,
unsigned int thickness)
546 vp_display_display_rectangle(I, center, angle, width, height, color, thickness);
565 unsigned int thickness)
567 vp_display_display_rectangle(I, topLeft, bottomRight, color, fill, thickness);
584 unsigned int width,
unsigned int height,
const vpColor &color,
unsigned int thickness)
586 vp_display_display_rectangle(I, i, j, angle, width, height, color, thickness);
604 vp_display_display_text(I, ip, s, color);
621 vp_display_display_text(I, i, j, s, color);
724 return vp_display_get_click(I, ip, blocking);
750 return vp_display_get_click(I, ip, button, blocking);
798 return vp_display_get_click_up(I, ip, button, blocking);
908 return vp_display_get_keyboard_event(I, blocking);
999 return vp_display_get_keyboard_event(I, key, blocking);
1090 return vp_display_get_keyboard_event(I, key, blocking);
1104 return vp_display_get_pointer_motion_event(I, ip);
1118 return vp_display_get_pointer_position(I, ip);
1132 vp_display_set_background(I, color);
1150 vp_display_set_font(I, fontname);
1162 vp_display_set_title(I, windowtitle);
1177 vp_display_set_window_position(I, winx, winy);
1191 return vp_display_get_down_scaling_factor(I);