summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-09 19:15:44 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-10 03:18:58 +0100
commit42fcec5437f832c6cf0df2c6eaba89d6710d2610 (patch)
tree810ebda25d14ab13bfb0cfcfec26266666544dbc /tracker-pt/ftnoir_tracker_pt.cpp
parent6388d767f4510a3771909a91ad72ad4963d029db (diff)
tracker/pt: reset dynamic pose on center
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.cpp')
-rw-r--r--tracker-pt/ftnoir_tracker_pt.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp
index 5975f701..1fbd4373 100644
--- a/tracker-pt/ftnoir_tracker_pt.cpp
+++ b/tracker-pt/ftnoir_tracker_pt.cpp
@@ -223,6 +223,12 @@ void Tracker_PT::data(double *data)
}
}
+bool Tracker_PT::center()
+{
+ point_tracker.reset_state();
+ return false;
+}
+
Affine Tracker_PT::pose()
{
QMutexLocker l(&data_mtx);