From a8ffbb76f3e3bbca547fccf5135323e06cae9d2a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 19 Oct 2014 13:39:50 +0200 Subject: update modules to refactored API --- ftnoir_tracker_aruco/ftnoir_tracker_aruco.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ftnoir_tracker_aruco/ftnoir_tracker_aruco.h') diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h index 090cf478..67392d40 100644 --- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h +++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.h @@ -47,8 +47,8 @@ class Tracker : protected QThread, public ITracker public: Tracker(); ~Tracker() override; - void StartTracker(QFrame* frame); - void GetHeadPoseData(double *data); + void start_tracker(QFrame* frame); + void data(double *data); void run(); void reload() { s.b->reload(); } void getRT(cv::Matx33d &r, cv::Vec3d &t); @@ -65,13 +65,13 @@ private: cv::Vec3d t; }; -class TrackerControls : public QWidget, public ITrackerDialog +class TrackerControls : public ITrackerDialog { Q_OBJECT public: TrackerControls(); - void registerTracker(ITracker * x) { tracker = dynamic_cast(x); } - void unRegisterTracker() { tracker = nullptr; } + void register_tracker(ITracker * x) { tracker = static_cast(x); } + void unregister_tracker() { tracker = nullptr; } private: Ui::Form ui; Tracker* tracker; -- cgit v1.2.3