37 #ifndef OPENGV_RELATIVE_POSE_RELATIVEADAPTERBASE_HPP_ 38 #define OPENGV_RELATIVE_POSE_RELATIVEADAPTERBASE_HPP_ 52 namespace relative_pose
66 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
118 virtual double getWeight(
size_t index )
const = 0;
The namespace of this library.
Definition: AbsoluteAdapterBase.hpp:47
virtual opengv::rotation_t getCamRotation1(size_t index) const =0
Retrieve the rotation from a camera of a correspondence in viewpoint 1 to the viewpoint origin...
virtual opengv::bearingVector_t getBearingVector2(size_t index) const =0
Retrieve the bearing vector of a correspondence in viewpoint 2.
opengv::rotation_t _R12
Definition: RelativeAdapterBase.hpp:188
Eigen::Vector3d translation_t
Definition: types.hpp:63
A collection of variables used in geometric vision for the computation of calibrated absolute and rel...
void setR12(const opengv::rotation_t &R12)
Set the prior or known value for the relative rotation.
Definition: RelativeAdapterBase.hpp:178
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...
virtual ~RelativeAdapterBase()
Destructor.
Definition: RelativeAdapterBase.hpp:95
Eigen::Matrix3d rotation_t
Definition: types.hpp:71
opengv::translation_t _t12
Definition: RelativeAdapterBase.hpp:178
virtual opengv::bearingVector_t getBearingVector1(size_t index) const =0
Retrieve the bearing vector of a correspondence in viewpoint 1.
Definition: RelativeAdapterBase.hpp:63
virtual opengv::translation_t getCamOffset1(size_t index) const =0
Retrieve the position of a camera of a correspondence in viewpoint 1 seen from the origin of the view...
EIGEN_MAKE_ALIGNED_OPERATOR_NEW RelativeAdapterBase()
Constructor.
Definition: RelativeAdapterBase.hpp:71
Eigen::Vector3d bearingVector_t
Definition: types.hpp:55
void sett12(const opengv::translation_t &t12)
Set the prior or known value for the relative position.
Definition: RelativeAdapterBase.hpp:168
opengv::translation_t gett12() const
Retrieve the prior or known value for the relative position.
Definition: RelativeAdapterBase.hpp:163
virtual opengv::translation_t getCamOffset2(size_t index) const =0
Retrieve the position of a camera of a correspondence in viewpoint 2 seen from the origin of the view...
RelativeAdapterBase(const rotation_t &R12)
Constructor.
Definition: RelativeAdapterBase.hpp:79
RelativeAdapterBase(const translation_t &t12, const rotation_t &R12)
Constructor.
Definition: RelativeAdapterBase.hpp:89
virtual size_t getNumberCorrespondences() const =0
Retrieve the number of correspondences.
virtual opengv::rotation_t getCamRotation2(size_t index) const =0
Retrieve the rotation from a camera of a correspondence in viewpoint 2 to the viewpoint origin...
opengv::rotation_t getR12() const
Retrieve the prior or known value for the relative rotation.
Definition: RelativeAdapterBase.hpp:173