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

#include <MACentralAbsolute.hpp>

Inheritance diagram for opengv::absolute_pose::MACentralAbsolute:
opengv::absolute_pose::AbsoluteAdapterBase

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW MACentralAbsolute (const double *points, const double *bearingVectors, int numberPoints, int numberBearingVectors)
 Constructor. See protected class-members to understand parameters.
 
virtual ~MACentralAbsolute ()
 
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...
 

Protected Attributes

const double * _points
 
const double * _bearingVectors
 
int _numberPoints
 
int _numberBearingVectors
 
opengv::translation_t _t
 
opengv::rotation_t _R
 
- 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 central case and holds data in form of pointers to matlab data.

Constructor & Destructor Documentation

◆ ~MACentralAbsolute()

virtual opengv::absolute_pose::MACentralAbsolute::~MACentralAbsolute ( )
virtual

Destructor

Member Function Documentation

◆ getBearingVector()

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

See parent-class

Implements opengv::absolute_pose::AbsoluteAdapterBase.

◆ getCamOffset()

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

See parent-class. Returns zero for this adapter.

Implements opengv::absolute_pose::AbsoluteAdapterBase.

◆ getCamRotation()

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

See parent-class Returns identity for this adapter.

Implements opengv::absolute_pose::AbsoluteAdapterBase.

◆ getNumberCorrespondences()

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

See parent-class

Implements opengv::absolute_pose::AbsoluteAdapterBase.

◆ getPoint()

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

See parent-class

Implements opengv::absolute_pose::AbsoluteAdapterBase.

◆ getWeight()

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

See parent-class

Implements opengv::absolute_pose::AbsoluteAdapterBase.

Member Data Documentation

◆ _bearingVectors

const double* opengv::absolute_pose::MACentralAbsolute::_bearingVectors
protected

A pointer to the bearing-vectors

◆ _numberBearingVectors

int opengv::absolute_pose::MACentralAbsolute::_numberBearingVectors
protected

The number of bearing vectors

◆ _numberPoints

int opengv::absolute_pose::MACentralAbsolute::_numberPoints
protected

The number of points

◆ _points

const double* opengv::absolute_pose::MACentralAbsolute::_points
protected

A pointer to the point data

◆ _R

opengv::rotation_t opengv::absolute_pose::AbsoluteAdapterBase::_R
protected

The prior or known value for the rotation from the viewpoint back to the world frame. Initialized to identity if not provided.

◆ _t

opengv::translation_t opengv::absolute_pose::AbsoluteAdapterBase::_t
protected

The prior or known value for the position of the viewpoint seen from the world frame. Initialized to zero if not provided.


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