Call Base static methods instead
parent
39d474ec68
commit
61ae24508d
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue