38 #ifndef OPENGV_ABSOLUTE_POSE_NONCENTRALABSOLUTEADAPTER_HPP_ 39 #define OPENGV_ABSOLUTE_POSE_NONCENTRALABSOLUTEADAPTER_HPP_ 54 namespace absolute_pose
69 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
81 const camCorrespondences_t & camCorrespondences,
90 const camCorrespondences_t & camCorrespondences,
100 const camCorrespondences_t & camCorrespondences,
116 virtual double getWeight(
size_t index )
const;
opengv::translation_t _t
Definition: AbsoluteAdapterBase.hpp:164
virtual opengv::rotation_t getCamRotation(size_t index) const
std::vector< bearingVector_t, Eigen::aligned_allocator< bearingVector_t > > bearingVectors_t
Definition: types.hpp:59
The namespace of this library.
Definition: AbsoluteAdapterBase.hpp:47
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef std::vector< int > camCorrespondences_t
Definition: NoncentralAbsoluteAdapter.hpp:74
virtual ~NoncentralAbsoluteAdapter()
Destructor.
Adapter-class for passing bearing-vector-to-point correspondences to the absolute-pose algorithms...
opengv::rotation_t _R
Definition: AbsoluteAdapterBase.hpp:174
virtual opengv::point_t getPoint(size_t index) const
const translations_t & _camOffsets
Definition: NoncentralAbsoluteAdapter.hpp:140
virtual double getWeight(size_t index) const
Eigen::Vector3d translation_t
Definition: types.hpp:63
A collection of variables used in geometric vision for the computation of calibrated absolute and rel...
virtual size_t getNumberCorrespondences() const
Eigen::Matrix3d rotation_t
Definition: types.hpp:71
std::vector< rotation_t, Eigen::aligned_allocator< rotation_t > > rotations_t
Definition: types.hpp:75
Definition: NoncentralAbsoluteAdapter.hpp:62
virtual opengv::bearingVector_t getBearingVector(size_t index) const
const rotations_t & _camRotations
Definition: NoncentralAbsoluteAdapter.hpp:144
Eigen::Vector3d bearingVector_t
Definition: types.hpp:55
std::vector< point_t, Eigen::aligned_allocator< point_t > > points_t
Definition: types.hpp:127
const points_t & _points
Definition: NoncentralAbsoluteAdapter.hpp:135
std::vector< translation_t, Eigen::aligned_allocator< translation_t > > translations_t
Definition: types.hpp:67
Eigen::Vector3d point_t
Definition: types.hpp:123
NoncentralAbsoluteAdapter(const bearingVectors_t &bearingVectors, const camCorrespondences_t &camCorrespondences, const points_t &points, const translations_t &camOffsets, const rotations_t &camRotations)
Constructor. See protected class-members to understand parameters.
virtual opengv::translation_t getCamOffset(size_t index) const
Definition: AbsoluteAdapterBase.hpp:63
const bearingVectors_t & _bearingVectors
Definition: NoncentralAbsoluteAdapter.hpp:128
const camCorrespondences_t & _camCorrespondences
Definition: NoncentralAbsoluteAdapter.hpp:133