38 #ifndef __usTracker2DQtWrapper_h_
39 #define __usTracker2DQtWrapper_h_
42 #include <visp3/ustk_core/usConfig.h>
44 #if (defined(USTK_HAVE_VTK_QT) || defined(USTK_HAVE_QT5)) && defined(VISP_HAVE_MODULE_USTK_TEMPLATE_TRACKING)
47 #include <visp3/ustk_core/usImagePostScan2D.h>
48 #include <visp3/ustk_core/usImagePreScan2D.h>
49 #include <visp3/ustk_template_tracking/usDenseTracker2D.h>
57 class VISP_EXPORT usTracker2DQtWrapper :
public QObject
61 usTracker2DQtWrapper();
62 ~usTracker2DQtWrapper();
65 void initTracker(vpRectOriented rect);
66 void updateImage(vpImage<unsigned char> image);
72 void newTrackedRectangle(vpRectOriented);
76 vpImage<unsigned char> m_firstImage;
77 bool m_firstFrameArrived;