10 #include <opencv2/core.hpp>
15 #if defined(wxUSE_GUI)
16 #include <wx/gdicmn.h>
17 #elif defined(QT_GUI_LIB)
24 #if defined(wxUSE_GUI)
25 typedef wxPoint gui_point_t;
26 #elif defined(QT_GUI_LIB)
27 typedef QPoint gui_point_t;
33 int distance(gui_point_t, gui_point_t);
47 virtual void render(
const cv::Mat&);
50 virtual void paint(
const cv::Mat&) = 0;
53 virtual bool contains(
const gui_point_t&);
62 virtual void onMouseUp(
const gui_point_t&);
145 virtual void paintButtons(
const cv::Mat&);
Class used to display images and as container of widgets.
Definition: ImagePanel.hpp:32