#include <NoncentralRelativeAdapter.hpp>
Public Member Functions | |
NoncentralRelativeAdapter (const bearingVectors_t &bearingVectors1, const bearingVectors_t &bearingVectors2, const camCorrespondences_t &camCorrespondences1, const camCorrespondences_t &camCorrespondences2, const translations_t &camOffsets, const rotations_t &camRotations) | |
Constructor. See protected class-members to understand parameters. | |
NoncentralRelativeAdapter (const bearingVectors_t &bearingVectors1, const bearingVectors_t &bearingVectors2, const camCorrespondences_t &camCorrespondences1, const camCorrespondences_t &camCorrespondences2, const translations_t &camOffsets, const rotations_t &camRotations, const rotation_t &R12) | |
Constructor. See protected class-members to understand parameters. | |
NoncentralRelativeAdapter (const bearingVectors_t &bearingVectors1, const bearingVectors_t &bearingVectors2, const camCorrespondences_t &camCorrespondences1, const camCorrespondences_t &camCorrespondences2, const translations_t &camOffsets, const rotations_t &camRotations, const translation_t &t12, const rotation_t &R12) | |
Constructor. See protected class-members to understand parameters. | |
virtual | ~NoncentralRelativeAdapter () |
Destructor. | |
virtual bearingVector_t | getBearingVector1 (size_t index) const |
virtual bearingVector_t | getBearingVector2 (size_t index) const |
virtual double | getWeight (size_t index) const |
virtual translation_t | getCamOffset1 (size_t index) const |
virtual rotation_t | getCamRotation1 (size_t index) const |
virtual translation_t | getCamOffset2 (size_t index) const |
virtual rotation_t | getCamRotation2 (size_t index) const |
virtual size_t | getNumberCorrespondences () const |
Public Member Functions inherited from opengv::relative_pose::RelativeAdapterBase | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | RelativeAdapterBase () |
Constructor. | |
RelativeAdapterBase (const rotation_t &R12) | |
Constructor. More... | |
RelativeAdapterBase (const translation_t &t12, const rotation_t &R12) | |
Constructor. More... | |
virtual | ~RelativeAdapterBase () |
Destructor. | |
opengv::translation_t | gett12 () const |
Retrieve the prior or known value for the relative position. More... | |
void | sett12 (const opengv::translation_t &t12) |
Set the prior or known value for the relative position. More... | |
opengv::rotation_t | getR12 () const |
Retrieve the prior or known value for the relative rotation. More... | |
void | setR12 (const opengv::rotation_t &R12) |
Set the prior or known value for the relative rotation. More... | |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef std::vector< int > | camCorrespondences_t |
Protected Attributes | |
const bearingVectors_t & | _bearingVectors1 |
const bearingVectors_t & | _bearingVectors2 |
const camCorrespondences_t & | _camCorrespondences1 |
const camCorrespondences_t & | _camCorrespondences2 |
const translations_t & | _camOffsets |
const rotations_t & | _camRotations |
Protected Attributes inherited from opengv::relative_pose::RelativeAdapterBase | |
opengv::translation_t | _t12 |
opengv::rotation_t | _R12 |
Check the documentation of the parent-class to understand the meaning of a RelativeAdapter. This child-class is for the non-central case and holds data in form of references to opengv-types.
|
virtual |
See parent-class
Implements opengv::relative_pose::RelativeAdapterBase.
|
virtual |
See parent-class
Implements opengv::relative_pose::RelativeAdapterBase.
|
virtual |
See parent-class
Implements opengv::relative_pose::RelativeAdapterBase.
|
virtual |
See parent-class
Implements opengv::relative_pose::RelativeAdapterBase.
|
virtual |
See parent-class
Implements opengv::relative_pose::RelativeAdapterBase.
|
virtual |
See parent-class
Implements opengv::relative_pose::RelativeAdapterBase.
|
virtual |
See parent-class
Implements opengv::relative_pose::RelativeAdapterBase.
|
virtual |
See parent-class
Implements opengv::relative_pose::RelativeAdapterBase.
|
protected |
Reference to bearing-vectors in viewpoint 1. (expressed in their individual cameras)
|
protected |
Reference to bearing-vectors in viewpoint 2. (expressed in their individual cameras)
|
protected |
Reference to an array of camera-indices for the bearing vectors in viewpoint 1. Length equals to number of bearing-vectors in viewpoint 1, and elements are indices of cameras in the _camOffsets and _camRotations arrays.
|
protected |
Reference to an array of camera-indices for the bearing vectors in viewpoint 2. Length equals to number of bearing-vectors in viewpoint 2, and elements are indices of cameras in the _camOffsets and _camRotations arrays.
|
protected |
Reference to positions of the different cameras seen from their viewpoint.
|
protected |
Reference to rotations from the different cameras back to their viewpoint.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef std::vector<int> opengv::relative_pose::NoncentralRelativeAdapter::camCorrespondences_t |
A type defined for the camera-correspondences, see protected class-members