summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/trans_calib.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-27 20:04:47 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-27 20:06:45 +0200
commit01f1a5f2b9ed1846423eee0336450f32b836536b (patch)
treebdf27366094eeca485d7ce5122db3cb097cb8ffb /ftnoir_tracker_pt/trans_calib.h
parentc04f90dcc3054d296dc1f6798ccf22f71a10836b (diff)
make stuff private, not protected
clang generates warnings for unused private stuff, so use that.
Diffstat (limited to 'ftnoir_tracker_pt/trans_calib.h')
-rw-r--r--ftnoir_tracker_pt/trans_calib.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/ftnoir_tracker_pt/trans_calib.h b/ftnoir_tracker_pt/trans_calib.h
index 609c9af1..5c321b2c 100644
--- a/ftnoir_tracker_pt/trans_calib.h
+++ b/ftnoir_tracker_pt/trans_calib.h
@@ -20,20 +20,20 @@
class TranslationCalibrator
{
public:
- TranslationCalibrator();
+ TranslationCalibrator();
- // reset the calibration process
- void reset();
+ // reset the calibration process
+ void reset();
- // update the current estimate
- void update(const cv::Matx33f& R_CM_k, const cv::Vec3f& t_CM_k);
+ // update the current estimate
+ void update(const cv::Matx33f& R_CM_k, const cv::Vec3f& t_CM_k);
- // get the current estimate for t_MH
- cv::Vec3f get_estimate();
+ // get the current estimate for t_MH
+ cv::Vec3f get_estimate();
-protected:
- cv::Matx66f P; // normalized precision matrix = inverse covariance
- cv::Vec6f y; // P*(-t_MH, t_CH)
+private:
+ cv::Matx66f P; // normalized precision matrix = inverse covariance
+ cv::Vec6f y; // P*(-t_MH, t_CH)
};
-#endif //TRANSCALIB_H \ No newline at end of file
+#endif //TRANSCALIB_H