diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-01-05 21:50:42 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-01-05 21:50:42 +0100 |
commit | 33bc85bbcdcc08da6c722614ad2f1493771351dc (patch) | |
tree | 0961d313c6c6b7cd8ead82863edb2c2a7d5812c6 /ftnoir_tracker_pt/ftnoir_tracker_pt.h | |
parent | d72be0dbb5b0278e40476dd4fa967eaa22f48ca3 (diff) |
pt: change pose() prototype
Return a pose, don't copy it to passed param
Diffstat (limited to 'ftnoir_tracker_pt/ftnoir_tracker_pt.h')
-rw-r--r-- | ftnoir_tracker_pt/ftnoir_tracker_pt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.h b/ftnoir_tracker_pt/ftnoir_tracker_pt.h index 8e4d58ee..14be5c7f 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt.h +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.h @@ -42,7 +42,7 @@ public: void start_tracker(QFrame* parent_window) override; void data(double* data) override; - void pose(Affine* X_CM) { QMutexLocker lock(&mutex); *X_CM = point_tracker.pose(); } + Affine pose() { QMutexLocker lock(&mutex); return point_tracker.pose(); } int get_n_points() { QMutexLocker lock(&mutex); return point_extractor.get_points().size(); } void get_cam_info(CamInfo* info) { QMutexLocker lock(&mutex); *info = camera.get_info(); } public slots: |