summaryrefslogtreecommitdiffhomepage
path: root/tracker-points/ftnoir_tracker_pt.h
diff options
context:
space:
mode:
authorStéphane Lenclud <github@lenclud.com>2019-03-31 21:39:04 +0200
committerStéphane Lenclud <github@lenclud.com>2019-04-24 18:46:12 +0200
commitc7df551561ca7bd7ae22abecc562cd882259f748 (patch)
tree001ec882808a2c8027c8b032bc76674b0f5e3ded /tracker-points/ftnoir_tracker_pt.h
parentaf000c404a003c046635890863f485b159ec7107 (diff)
Tracker now providing OpenCV data.
Diffstat (limited to 'tracker-points/ftnoir_tracker_pt.h')
-rw-r--r--tracker-points/ftnoir_tracker_pt.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/tracker-points/ftnoir_tracker_pt.h b/tracker-points/ftnoir_tracker_pt.h
index 9b8da4ae..9388bd03 100644
--- a/tracker-points/ftnoir_tracker_pt.h
+++ b/tracker-points/ftnoir_tracker_pt.h
@@ -75,6 +75,19 @@ private:
std::atomic<unsigned> point_count { 0 };
std::atomic<bool> ever_success = false;
mutable QMutex center_lock, data_lock;
+
+ // Translation solutions
+ std::vector<cv::Mat> iTranslations;
+ // Rotation solutions
+ std::vector<cv::Mat> iRotations;
+ // Angle solutions, pitch, yaw, roll, in this order
+ std::vector<cv::Vec3d> iAngles;
+ // The index of our best solution
+ int iBestSolutionIndex = -1;
+ // Best translation
+ cv::Vec3d iBestTranslation;
+ // Best angles
+ cv::Vec3d iBestAngles;
};
} // ns pt_impl