summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-11-22 22:17:20 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-11-22 22:17:26 +0100
commitddfa1005f16b439bb2dd933bf9ee49b5870eb8c7 (patch)
treeb619094d8efa2a849be0348cb9ba7c9739e56393 /ftnoir_tracker_pt/ftnoir_tracker_pt.cpp
parent77c279f879ba5c985bbbdb73bdcf95a7baacbd16 (diff)
pt: rename class to avoid further confusion
"FrameTrafo" isn't a word even. Rename to "Affine"
Diffstat (limited to 'ftnoir_tracker_pt/ftnoir_tracker_pt.cpp')
-rw-r--r--ftnoir_tracker_pt/ftnoir_tracker_pt.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp
index f182cacc..a6732ced 100644
--- a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp
+++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp
@@ -125,7 +125,7 @@ void Tracker::apply_inner()
point_extractor.min_size = s.min_point_size;
point_extractor.max_size = s.max_point_size;
t_MH = cv::Vec3f(s.t_MH_x, s.t_MH_y, s.t_MH_z);
- FrameTrafo X_MH(Matx33f::eye(), t_MH);
+ Affine X_MH(Matx33f::eye(), t_MH);
qDebug()<<"Tracker::apply ends";
}
@@ -160,9 +160,11 @@ void Tracker::StopTracker(bool exit)
void Tracker::data(THeadPoseData *data)
{
- FrameTrafo X_CM = point_tracker.pose();
- FrameTrafo X_MH(Matx33f::eye(), t_MH);
- FrameTrafo X_GH = X_CM * X_MH;
+ Affine X_CM = point_tracker.pose();
+
+ Affine X_MH(Matx33f::eye(), t_MH);
+ Affine X_GH = X_CM * X_MH;
+
Matx33f R = X_GH.R;
Vec3f t = X_GH.t;