iCub-main
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
MatrixCalibrator Class Reference

#include <methods.h>

+ Inheritance diagram for MatrixCalibrator:

Public Member Functions

 MatrixCalibrator (const std::string &type="se3")
 
 MatrixCalibrator (const MatrixCalibrator &calibrator)
 
virtual bool addPoints (const yarp::sig::Vector &in, const yarp::sig::Vector &out)
 
virtual bool clearPoints ()
 
virtual bool getPoints (std::deque< yarp::sig::Vector > &in, std::deque< yarp::sig::Vector > &out) const
 
virtual bool calibrate (double &error)
 
virtual bool retrieve (const yarp::sig::Vector &in, yarp::sig::Vector &out)
 
virtual bool toProperty (yarp::os::Property &info) const
 
virtual bool fromProperty (const yarp::os::Property &info)
 
virtual ~MatrixCalibrator ()
 
- Public Member Functions inherited from Calibrator
virtual std::string getType () const
 
virtual bool getExtrapolation () const
 
virtual void setExtrapolation (const bool extrapolation)
 
virtual size_t getNumPoints () const
 
virtual double getSpatialCompetence (const yarp::sig::Vector &point)
 
virtual ~Calibrator ()
 

Protected Attributes

iCub::optimization::MatrixTransformationWithMatchedPointsimpl
 
yarp::sig::Matrix H
 
double scale
 
- Protected Attributes inherited from Calibrator
std::string type
 
std::deque< yarp::sig::Vector > in
 
std::deque< yarp::sig::Vector > out
 
struct Calibrator::SpatialCompetence spatialCompetence
 

Additional Inherited Members

- Protected Member Functions inherited from Calibrator
virtual bool computeSpatialTransformation ()
 
virtual bool computeSpatialCompetence (const std::deque< yarp::sig::Vector > &points)
 
void copySuperClassData (const Calibrator &src)
 

Detailed Description

Definition at line 77 of file methods.h.

Constructor & Destructor Documentation

◆ MatrixCalibrator() [1/2]

MatrixCalibrator::MatrixCalibrator ( const std::string &  type = "se3")

Definition at line 184 of file methods.cpp.

◆ MatrixCalibrator() [2/2]

MatrixCalibrator::MatrixCalibrator ( const MatrixCalibrator calibrator)

Definition at line 204 of file methods.cpp.

◆ ~MatrixCalibrator()

MatrixCalibrator::~MatrixCalibrator ( )
virtual

Definition at line 217 of file methods.cpp.

Member Function Documentation

◆ addPoints()

bool MatrixCalibrator::addPoints ( const yarp::sig::Vector &  in,
const yarp::sig::Vector &  out 
)
virtual

Implements Calibrator.

Definition at line 224 of file methods.cpp.

◆ calibrate()

bool MatrixCalibrator::calibrate ( double &  error)
virtual

Implements Calibrator.

Definition at line 260 of file methods.cpp.

◆ clearPoints()

bool MatrixCalibrator::clearPoints ( )
virtual

Implements Calibrator.

Definition at line 241 of file methods.cpp.

◆ fromProperty()

bool MatrixCalibrator::fromProperty ( const yarp::os::Property &  info)
virtual

Reimplemented from Calibrator.

Definition at line 310 of file methods.cpp.

◆ getPoints()

bool MatrixCalibrator::getPoints ( std::deque< yarp::sig::Vector > &  in,
std::deque< yarp::sig::Vector > &  out 
) const
virtual

Implements Calibrator.

Definition at line 251 of file methods.cpp.

◆ retrieve()

bool MatrixCalibrator::retrieve ( const yarp::sig::Vector &  in,
yarp::sig::Vector &  out 
)
virtual

Implements Calibrator.

Definition at line 276 of file methods.cpp.

◆ toProperty()

bool MatrixCalibrator::toProperty ( yarp::os::Property &  info) const
virtual

Reimplemented from Calibrator.

Definition at line 293 of file methods.cpp.

Member Data Documentation

◆ H

yarp::sig::Matrix MatrixCalibrator::H
protected

Definition at line 81 of file methods.h.

◆ impl

Definition at line 80 of file methods.h.

◆ scale

double MatrixCalibrator::scale
protected

Definition at line 82 of file methods.h.


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