diff options
Diffstat (limited to 'ftnoir_tracker_aruco/ftnoir_tracker_aruco.h')
-rw-r--r-- | ftnoir_tracker_aruco/ftnoir_tracker_aruco.h | 10 |
1 files changed, 5 insertions, 5 deletions
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<Tracker*>(x); } - void unRegisterTracker() { tracker = nullptr; } + void register_tracker(ITracker * x) { tracker = static_cast<Tracker*>(x); } + void unregister_tracker() { tracker = nullptr; } private: Ui::Form ui; Tracker* tracker; |