|
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | CentralRelativeMultiAdapter (std::vector< std::shared_ptr< bearingVectors_t > > bearingVectors1, std::vector< std::shared_ptr< bearingVectors_t > > bearingVectors2) |
| Constructor. See protected class-members to understand parameters.
|
|
virtual | ~CentralRelativeMultiAdapter () |
| Destructor.
|
|
virtual bearingVector_t | getBearingVector1 (size_t pairIndex, size_t correspondenceIndex) const |
|
virtual bearingVector_t | getBearingVector2 (size_t pairIndex, size_t correspondenceIndex) const |
|
virtual double | getWeight (size_t pairIndex, size_t correspondenceIndex) const |
|
virtual translation_t | getCamOffset (size_t pairIndex) const |
|
virtual rotation_t | getCamRotation (size_t pairIndex) const |
|
virtual size_t | getNumberCorrespondences (size_t pairIndex) const |
|
virtual size_t | getNumberPairs () const |
|
virtual std::vector< int > | convertMultiIndices (const std::vector< std::vector< int > > &multiIndices) const |
|
virtual int | convertMultiIndex (size_t pairIndex, size_t correspondenceIndex) const |
|
virtual int | multiPairIndex (size_t index) const |
|
virtual int | multiCorrespondenceIndex (size_t index) const |
|
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | RelativeMultiAdapterBase () |
|
| RelativeMultiAdapterBase (const rotation_t &R12) |
|
| RelativeMultiAdapterBase (const translation_t &t12, const rotation_t &R12) |
|
virtual | ~RelativeMultiAdapterBase () |
|
virtual bearingVector_t | getBearingVector1 (size_t pairIndex, size_t correspondenceIndex) const =0 |
| Retrieve the bearing vector of a correspondence in camera 1 of a pair. More...
|
|
virtual bearingVector_t | getBearingVector2 (size_t pairIndex, size_t correspondenceIndex) const =0 |
| Retrieve the bearing vector of a correspondence in camera 2 of a pair. More...
|
|
virtual double | getWeight (size_t pairIndex, size_t correspondenceIndex) const =0 |
| Retrieve the weight of a correspondence. The weight is supposed to reflect the quality of a correspondence, and typically is between 0 and 1. More...
|
|
virtual translation_t | getCamOffset (size_t pairIndex) const =0 |
| Retrieve the position of the cameras of a camera-pair seen from the origin of the viewpoints (assumed to be the same in both viewpoints). More...
|
|
virtual rotation_t | getCamRotation (size_t pairIndex) const =0 |
| Retrieve the rotation from the cameras of a camera-pair back to the origin of the viewpoints (assumed to be the same in both viewpoints). More...
|
|
virtual size_t | getNumberCorrespondences (size_t pairIndex) const =0 |
| Retrieve the number of correspondences for a camera-pair. More...
|
|
virtual size_t | getNumberPairs () const =0 |
| Retrieve the number of camera-pairs. More...
|
|
virtual std::vector< int > | convertMultiIndices (const std::vector< std::vector< int > > &multiIndices) const =0 |
| Convert an array of (pairIndex,correspondenceIndex)-pairs into an array of serialized indices. More...
|
|
virtual int | convertMultiIndex (size_t pairIndex, size_t correspondenceIndex) const =0 |
| Convert a (pairIndex,correspondenceIndex)-pair into a serialized index. More...
|
|
virtual int | multiPairIndex (size_t index) const =0 |
| Get the camera-pair-index corresponding to a serialized index. More...
|
|
virtual int | multiCorrespondenceIndex (size_t index) const =0 |
| Get the keypoint-index in a camera-pair for a serialized index. More...
|
|
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 |
|
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.
|
|
virtual opengv::bearingVector_t | getBearingVector1 (size_t index) const =0 |
| Retrieve the bearing vector of a correspondence in viewpoint 1. More...
|
|
virtual opengv::bearingVector_t | getBearingVector2 (size_t index) const =0 |
| Retrieve the bearing vector of a correspondence in viewpoint 2. More...
|
|
virtual double | getWeight (size_t index) const =0 |
| Retrieve the weight of a correspondence. The weight is supposed to reflect the quality of a correspondence, and typically is between 0 and 1. More...
|
|
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 viewpoint. More...
|
|
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. More...
|
|
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 viewpoint. More...
|
|
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. More...
|
|
virtual size_t | getNumberCorrespondences () const =0 |
| Retrieve the number of correspondences. More...
|
|
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...
|
|
Check the documentation of the parent-class to understand the meaning of a RelativeMultiAdapter. This child-class is for the multi-central case and holds data in form of references to opengv-types. It is meant to be used for problems involving more than two central viewpoints. This is experimental!