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);
97 double size,
const vpColor &color,
unsigned int thickness)
99 vp_display_display_camera(I, cMo, cam, size, color, thickness);
118 vp_display_display_char_string(I, ip,
string, color);
136 vp_display_display_char_string(I, i, j,
string, color);
150 const vpColor &color,
bool fill,
unsigned int thickness)
152 vp_display_display_circle(I, center, radius, color, fill, thickness);
166 bool fill,
unsigned int thickness)
168 vp_display_display_circle(I, i, j, radius, color, fill, thickness);
180 unsigned int thickness)
182 vp_display_display_cross(I, ip, size, color, thickness);
194 unsigned int thickness)
196 vp_display_display_cross(I, i, j, size, color, thickness);
207 const vpColor &color,
unsigned int thickness)
209 vp_display_display_dot_line(I, ip1, ip2, color, thickness);
221 unsigned int thickness)
223 vp_display_display_dot_line(I, i1, j1, i2, j2, color, thickness);
235 const vpColor &color,
unsigned int thickness)
240 for (
size_t i = 0; i < ips.size() - 1; i++)
241 vp_display_display_dot_line(I, ips[i], ips[i + 1], color, thickness);
244 vp_display_display_dot_line(I, ips.front(), ips.back(), color, thickness);
296 const double &coef2,
const double &coef3,
bool use_centered_moments,
297 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);
381 vp_display_display_frame(I, cMo, cam, size, color, thickness, offset);
392 const vpColor &color,
unsigned int thickness)
394 vp_display_display_line(I, ip1, ip2, color, thickness);
406 unsigned int thickness)
408 vp_display_display_line(I, i1, j1, i2, j2, color, thickness);
419 const vpColor &color,
unsigned int thickness)
424 for (
size_t i = 0; i < ips.size() - 1; i++)
425 vp_display_display_line(I, ips[i], ips[i + 1], color, thickness);
428 vp_display_display_line(I, ips.front(), ips.back(), color, thickness);
439 unsigned int thickness)
441 vp_display_display_point(I, ip, color, thickness);
453 vp_display_display_point(I, i, j, color, thickness);
464 unsigned int thickness)
466 vp_display_display_polygon(I, vip, color, thickness);
484 unsigned int height,
const vpColor &color,
bool fill,
unsigned int thickness)
486 vp_display_display_rectangle(I, topLeft, width, height, color, fill, thickness);
504 const vpColor &color,
bool fill,
unsigned int thickness)
506 vp_display_display_rectangle(I, i, j, width, height, color, fill, thickness);
523 unsigned int thickness)
525 vp_display_display_rectangle(I, rectangle, color, fill, thickness);
542 unsigned int height,
const vpColor &color,
unsigned int thickness)
544 vp_display_display_rectangle(I, center, angle, width, height, color, thickness);
562 const vpColor &color,
bool fill,
unsigned int thickness)
564 vp_display_display_rectangle(I, topLeft, bottomRight, color, fill, thickness);
581 unsigned int width,
unsigned int height,
const vpColor &color,
unsigned int thickness)
583 vp_display_display_rectangle(I, i, j, angle, width, height, color, thickness);
601 vp_display_display_text(I, ip, s, color);
618 vp_display_display_text(I, i, j, s, color);
721 return vp_display_get_click(I, ip, blocking);
747 return vp_display_get_click(I, ip, button, blocking);
795 return vp_display_get_click_up(I, ip, button, blocking);
904 return vp_display_get_keyboard_event(I, blocking);
995 return vp_display_get_keyboard_event(I, key, blocking);
1086 return vp_display_get_keyboard_event(I, key, blocking);
1100 return vp_display_get_pointer_motion_event(I, ip);
1114 return vp_display_get_pointer_position(I, ip);
1152 vp_display_set_title(I, windowtitle);
1167 vp_display_set_window_position(I, winx, winy);