Call Base static methods instead

release/4.3a0
dellaert 2015-02-21 17:52:11 +01:00
parent 39d474ec68
commit 61ae24508d
2 changed files with 4 additions and 4 deletions

View File

@ -75,7 +75,7 @@ public:
*/ */
static PinholeCamera Level(const Calibration &K, const Pose2& pose2, static PinholeCamera Level(const Calibration &K, const Pose2& pose2,
double height) { double height) {
return PinholeCamera(CalibratedCamera::LevelPose(pose2, height), K); return PinholeCamera(Base::LevelPose(pose2, height), K);
} }
/// PinholeCamera::level with default calibration /// PinholeCamera::level with default calibration
@ -94,7 +94,7 @@ public:
*/ */
static PinholeCamera Lookat(const Point3& eye, const Point3& target, static PinholeCamera Lookat(const Point3& eye, const Point3& target,
const Point3& upVector, const Calibration& K = Calibration()) { const Point3& upVector, const Calibration& K = Calibration()) {
return PinholeCamera(CalibratedCamera::LookatPose(eye, target, upVector), K); return PinholeCamera(Base::LookatPose(eye, target, upVector), K);
} }
/// @} /// @}

View File

@ -220,7 +220,7 @@ public:
*/ */
static PinholePose Level(const boost::shared_ptr<Calibration>& K, static PinholePose Level(const boost::shared_ptr<Calibration>& K,
const Pose2& pose2, double height) { const Pose2& pose2, double height) {
return PinholePose(CalibratedCamera::LevelPose(pose2, height), K); return PinholePose(Base::LevelPose(pose2, height), K);
} }
/// PinholePose::level with default calibration /// PinholePose::level with default calibration
@ -240,7 +240,7 @@ public:
static PinholePose Lookat(const Point3& eye, const Point3& target, static PinholePose Lookat(const Point3& eye, const Point3& target,
const Point3& upVector, const boost::shared_ptr<Calibration>& K = const Point3& upVector, const boost::shared_ptr<Calibration>& K =
boost::make_shared<Calibration>()) { boost::make_shared<Calibration>()) {
return PinholePose(CalibratedCamera::LookatPose(eye, target, upVector), K); return PinholePose(Base::LookatPose(eye, target, upVector), K);
} }
/// @} /// @}