OpenGV
A library for solving calibrated central and non-central geometric vision problems
opengv::absolute_pose::NoncentralAbsoluteAdapter Class Reference

#include <NoncentralAbsoluteAdapter.hpp>

Inheritance diagram for opengv::absolute_pose::NoncentralAbsoluteAdapter:
opengv::absolute_pose::AbsoluteAdapterBase

Public Member Functions

 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.
 
 NoncentralAbsoluteAdapter (const bearingVectors_t &bearingVectors, const camCorrespondences_t &camCorrespondences, const points_t &points, const translations_t &camOffsets, const rotations_t &camRotations, const rotation_t &R)
 Constructor. See protected class-members to understand parameters.
 
 NoncentralAbsoluteAdapter (const bearingVectors_t &bearingVectors, const camCorrespondences_t &camCorrespondences, const points_t &points, const translations_t &camOffsets, const rotations_t &camRotations, const translation_t &t, const rotation_t &R)
 Constructor. See protected class-members to understand parameters.
 
virtual ~NoncentralAbsoluteAdapter ()
 Destructor.
 
virtual opengv::bearingVector_t getBearingVector (size_t index) const
 
virtual double getWeight (size_t index) const
 
virtual opengv::translation_t getCamOffset (size_t index) const
 
virtual opengv::rotation_t getCamRotation (size_t index) const
 
virtual opengv::point_t getPoint (size_t index) const
 
virtual size_t getNumberCorrespondences () const
 
- Public Member Functions inherited from opengv::absolute_pose::AbsoluteAdapterBase
EIGEN_MAKE_ALIGNED_OPERATOR_NEW AbsoluteAdapterBase ()
 Constructor.
 
 AbsoluteAdapterBase (const opengv::rotation_t &R)
 Constructor. More...
 
 AbsoluteAdapterBase (const opengv::translation_t &t, const opengv::rotation_t &R)
 Constructor. More...
 
virtual ~AbsoluteAdapterBase ()
 Destructor.
 
opengv::translation_t gett () const
 Retrieve the prior or known value for the position. More...
 
void sett (const opengv::translation_t &t)
 Set the prior or known value for the position. More...
 
opengv::rotation_t getR () const
 Retrieve the prior or known value for the rotation. More...
 
void setR (const opengv::rotation_t &R)
 Set the prior or known value for the rotation. More...
 

Public Attributes

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef std::vector< int > camCorrespondences_t
 

Protected Attributes

const bearingVectors_t_bearingVectors
 
const camCorrespondences_t_camCorrespondences
 
const points_t_points
 
const translations_t_camOffsets
 
const rotations_t_camRotations
 
- Protected Attributes inherited from opengv::absolute_pose::AbsoluteAdapterBase
opengv::translation_t _t
 
opengv::rotation_t _R
 

Detailed Description

Check the documentation of the parent-class to understand the meaning of an AbsoluteAdapter. This child-class is for the non-central case and holds data in form of references to opengv-types.

Member Function Documentation

virtual opengv::bearingVector_t opengv::absolute_pose::NoncentralAbsoluteAdapter::getBearingVector ( size_t  index) const
virtual

See parent-class

Implements opengv::absolute_pose::AbsoluteAdapterBase.

virtual opengv::translation_t opengv::absolute_pose::NoncentralAbsoluteAdapter::getCamOffset ( size_t  index) const
virtual

See parent-class

Implements opengv::absolute_pose::AbsoluteAdapterBase.

virtual opengv::rotation_t opengv::absolute_pose::NoncentralAbsoluteAdapter::getCamRotation ( size_t  index) const
virtual

See parent-class

Implements opengv::absolute_pose::AbsoluteAdapterBase.

virtual size_t opengv::absolute_pose::NoncentralAbsoluteAdapter::getNumberCorrespondences ( ) const
virtual

See parent-class

Implements opengv::absolute_pose::AbsoluteAdapterBase.

virtual opengv::point_t opengv::absolute_pose::NoncentralAbsoluteAdapter::getPoint ( size_t  index) const
virtual

See parent-class

Implements opengv::absolute_pose::AbsoluteAdapterBase.

virtual double opengv::absolute_pose::NoncentralAbsoluteAdapter::getWeight ( size_t  index) const
virtual

See parent-class

Implements opengv::absolute_pose::AbsoluteAdapterBase.

Member Data Documentation

const bearingVectors_t& opengv::absolute_pose::NoncentralAbsoluteAdapter::_bearingVectors
protected

Reference to the bearing-vectors expressed in the camera-frames

const camCorrespondences_t& opengv::absolute_pose::NoncentralAbsoluteAdapter::_camCorrespondences
protected

Reference to an array of camera-indices for the bearing vectors. Length equals to number of bearing-vectors, and elements are indices of cameras in the _camOffsets and _camRotations arrays.

const translations_t& opengv::absolute_pose::NoncentralAbsoluteAdapter::_camOffsets
protected

Reference to positions of the different cameras seen from the viewpoint.

const rotations_t& opengv::absolute_pose::NoncentralAbsoluteAdapter::_camRotations
protected

Reference to rotations from the different cameras back to the viewpoint.

const points_t& opengv::absolute_pose::NoncentralAbsoluteAdapter::_points
protected

Reference to the points expressed in the world-frame.

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef std::vector<int> opengv::absolute_pose::NoncentralAbsoluteAdapter::camCorrespondences_t

A type defined for the camera-correspondences, see protected class-members


The documentation for this class was generated from the following file: