37 #ifndef OPENGV_ABSOLUTE_POSE_ABSOLUTEADAPTERBASE_HPP_ 38 #define OPENGV_ABSOLUTE_POSE_ABSOLUTEADAPTERBASE_HPP_ 52 namespace absolute_pose
66 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
73 _R(
Eigen::Matrix3d::Identity()) {};
114 virtual double getWeight(
size_t index )
const = 0;
opengv::translation_t _t
Definition: AbsoluteAdapterBase.hpp:164
The namespace of this library.
Definition: AbsoluteAdapterBase.hpp:47
virtual opengv::rotation_t getCamRotation(size_t index) const =0
Retrieve the rotation from a camera of a correspondence to the viewpoint origin.
opengv::rotation_t _R
Definition: AbsoluteAdapterBase.hpp:174
AbsoluteAdapterBase(const opengv::translation_t &t, const opengv::rotation_t &R)
Constructor.
Definition: AbsoluteAdapterBase.hpp:89
Eigen::Vector3d translation_t
Definition: types.hpp:63
A collection of variables used in geometric vision for the computation of calibrated absolute and rel...
Eigen::Matrix3d rotation_t
Definition: types.hpp:71
opengv::translation_t gett() const
Retrieve the prior or known value for the position.
Definition: AbsoluteAdapterBase.hpp:149
virtual double getWeight(size_t index) const =0
Retrieve the weight of a correspondence. The weight is supposed to reflect the quality of a correspon...
Eigen::Vector3d bearingVector_t
Definition: types.hpp:55
void sett(const opengv::translation_t &t)
Set the prior or known value for the position.
Definition: AbsoluteAdapterBase.hpp:154
virtual size_t getNumberCorrespondences() const =0
Retrieve the number of correspondences.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW AbsoluteAdapterBase()
Constructor.
Definition: AbsoluteAdapterBase.hpp:71
virtual opengv::point_t getPoint(size_t index) const =0
Retrieve the world point of a correspondence.
virtual opengv::bearingVector_t getBearingVector(size_t index) const =0
Retrieve the bearing vector of a correspondence.
void setR(const opengv::rotation_t &R)
Set the prior or known value for the rotation.
Definition: AbsoluteAdapterBase.hpp:164
virtual ~AbsoluteAdapterBase()
Destructor.
Definition: AbsoluteAdapterBase.hpp:97
opengv::rotation_t getR() const
Retrieve the prior or known value for the rotation.
Definition: AbsoluteAdapterBase.hpp:159
Eigen::Vector3d point_t
Definition: types.hpp:123
virtual opengv::translation_t getCamOffset(size_t index) const =0
Retrieve the position of a camera of a correspondence seen from the viewpoint origin.
Definition: AbsoluteAdapterBase.hpp:63
AbsoluteAdapterBase(const opengv::rotation_t &R)
Constructor.
Definition: AbsoluteAdapterBase.hpp:79