diff --git a/gtsam/geometry/PinholeCamera.h b/gtsam/geometry/PinholeCamera.h index eb2dceee1..1edb1a496 100644 --- a/gtsam/geometry/PinholeCamera.h +++ b/gtsam/geometry/PinholeCamera.h @@ -75,7 +75,7 @@ public: */ static PinholeCamera Level(const Calibration &K, const Pose2& pose2, double height) { - return PinholeCamera(CalibratedCamera::LevelPose(pose2, height), K); + return PinholeCamera(Base::LevelPose(pose2, height), K); } /// PinholeCamera::level with default calibration @@ -94,7 +94,7 @@ public: */ static PinholeCamera Lookat(const Point3& eye, const Point3& target, const Point3& upVector, const Calibration& K = Calibration()) { - return PinholeCamera(CalibratedCamera::LookatPose(eye, target, upVector), K); + return PinholeCamera(Base::LookatPose(eye, target, upVector), K); } /// @} diff --git a/gtsam/geometry/PinholePose.h b/gtsam/geometry/PinholePose.h index 8d0cc6ed4..7588f517e 100644 --- a/gtsam/geometry/PinholePose.h +++ b/gtsam/geometry/PinholePose.h @@ -220,7 +220,7 @@ public: */ static PinholePose Level(const boost::shared_ptr& K, const Pose2& pose2, double height) { - return PinholePose(CalibratedCamera::LevelPose(pose2, height), K); + return PinholePose(Base::LevelPose(pose2, height), K); } /// PinholePose::level with default calibration @@ -240,7 +240,7 @@ public: static PinholePose Lookat(const Point3& eye, const Point3& target, const Point3& upVector, const boost::shared_ptr& K = boost::make_shared()) { - return PinholePose(CalibratedCamera::LookatPose(eye, target, upVector), K); + return PinholePose(Base::LookatPose(eye, target, upVector), K); } /// @}