39 #ifndef __usImageDisplayWidgetQmlOverlayServoing_h_
40 #define __usImageDisplayWidgetQmlOverlayServoing_h_
43 #include <visp3/ustk_core/usConfig.h>
45 #if (defined(USTK_HAVE_VTK_QT5) || defined(USTK_HAVE_QT5))
47 #include <QPushButton>
48 #include <QQuickWidget>
49 #include <visp3/core/vpImagePoint.h>
50 #include <visp3/core/vpRectOriented.h>
51 #include <visp3/ustk_gui/usImageDisplayWidget.h>
53 #include <visp3/core/vpTime.h>
54 #include <visp3/gui/vpDisplayGDI.h>
55 #include <visp3/gui/vpDisplayOpenCV.h>
56 #include <visp3/gui/vpPlot.h>
75 void enableFeaturesDisplay();
76 void disableFeaturesDisplay();
77 void updateRectPosition(vpRectOriented newRectangle);
78 void updateConfidenceAngle(
double scanline);
81 void updateXError(
double error);
82 void startTrackingSlot();
91 vpImagePoint displayImageToRealImageDimentions(
const vpImagePoint displayPoint);
92 vpImagePoint realImageToDisplayImageDimentions(
const vpImagePoint realImagePoint);
94 vpRectOriented displayImageToRealImageDimentions(
const vpRectOriented displayRectangle);
95 vpRectOriented realImageToDisplayImageDimentions(
const vpRectOriented realRectangle);
97 QQuickWidget *m_qQuickOverlay;
98 bool m_isTrackingRect;
99 bool m_isServoingRect;
100 bool m_isServoingConfidence;
103 bool m_useFeatureDisplay;
107 #if defined(VISP_HAVE_GDI)
108 vpDisplayGDI *m_display;
109 #elif defined(VISP_HAVE_OPENCV)
110 vpDisplayOpenCV *m_display;