From 48205d3217204a1e2c3b2d0f459e9fc17bdfac85 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Fri, 18 Oct 2013 04:30:41 +0000 Subject: [PATCH] Moved functions where they belonged --- gtsam/geometry/Cal3Bundler.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/gtsam/geometry/Cal3Bundler.h b/gtsam/geometry/Cal3Bundler.h index 82bea9691..2c39a6387 100644 --- a/gtsam/geometry/Cal3Bundler.h +++ b/gtsam/geometry/Cal3Bundler.h @@ -37,24 +37,9 @@ private: public: - Matrix K() const; ///< Standard 3*3 calibration matrix - Vector k() const; ///< Radial distortion parameters (4 of them, 2 0) - - Vector vector() const; - /// @name Standard Constructors /// @{ - /// focal length x - inline double fx() const { - return f_; - } - - /// focal length y - inline double fy() const { - return f_; - } - /// Default constructor Cal3Bundler(); @@ -82,6 +67,21 @@ public: /// @name Standard Interface /// @{ + Matrix K() const; ///< Standard 3*3 calibration matrix + Vector k() const; ///< Radial distortion parameters (4 of them, 2 0) + + Vector vector() const; + + /// focal length x + inline double fx() const { + return f_; + } + + /// focal length y + inline double fy() const { + return f_; + } + /** * convert intrinsic coordinates xy to image coordinates uv * @param p point in intrinsic coordinates @@ -93,9 +93,9 @@ public: boost::none, boost::optional Dp = boost::none) const; /// Conver a pixel coordinate to ideal coordinate - Point2 calibrate(const Point2& pi, const double tol=1e-5) const; + Point2 calibrate(const Point2& pi, const double tol = 1e-5) const; - /// @deprecated might be removed in next release, use uncalibrate + /// @deprecated might be removed in next release, use uncalibrate Matrix D2d_intrinsic(const Point2& p) const; /// @deprecated might be removed in next release, use uncalibrate