iCub-main
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Calibrator Class Referenceabstract

#include <methods.h>

+ Inheritance diagram for Calibrator:

Classes

struct  SpatialCompetence
 

Public Member Functions

virtual std::string getType () const
 
virtual bool getExtrapolation () const
 
virtual void setExtrapolation (const bool extrapolation)
 
virtual bool addPoints (const yarp::sig::Vector &in, const yarp::sig::Vector &out)=0
 
virtual bool clearPoints ()=0
 
virtual bool getPoints (std::deque< yarp::sig::Vector > &in, std::deque< yarp::sig::Vector > &out) const =0
 
virtual size_t getNumPoints () const
 
virtual bool calibrate (double &error)=0
 
virtual bool retrieve (const yarp::sig::Vector &in, yarp::sig::Vector &out)=0
 
virtual double getSpatialCompetence (const yarp::sig::Vector &point)
 
virtual bool toProperty (yarp::os::Property &info) const
 
virtual bool fromProperty (const yarp::os::Property &info)
 
virtual ~Calibrator ()
 

Protected Member Functions

virtual bool computeSpatialTransformation ()
 
virtual bool computeSpatialCompetence (const std::deque< yarp::sig::Vector > &points)
 
void copySuperClassData (const Calibrator &src)
 

Protected Attributes

std::string type
 
std::deque< yarp::sig::Vector > in
 
std::deque< yarp::sig::Vector > out
 
struct Calibrator::SpatialCompetence spatialCompetence
 

Detailed Description

Definition at line 32 of file methods.h.

Constructor & Destructor Documentation

◆ ~Calibrator()

virtual Calibrator::~Calibrator ( )
inlinevirtual

Definition at line 72 of file methods.h.

Member Function Documentation

◆ addPoints()

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

Implemented in MatrixCalibrator, and LSSVMCalibrator.

◆ calibrate()

virtual bool Calibrator::calibrate ( double &  error)
pure virtual

Implemented in MatrixCalibrator, and LSSVMCalibrator.

◆ clearPoints()

virtual bool Calibrator::clearPoints ( )
pure virtual

Implemented in MatrixCalibrator, and LSSVMCalibrator.

◆ computeSpatialCompetence()

bool Calibrator::computeSpatialCompetence ( const std::deque< yarp::sig::Vector > &  points)
protectedvirtual

Definition at line 69 of file methods.cpp.

◆ computeSpatialTransformation()

bool Calibrator::computeSpatialTransformation ( )
protectedvirtual

Definition at line 41 of file methods.cpp.

◆ copySuperClassData()

void Calibrator::copySuperClassData ( const Calibrator src)
protected

Definition at line 80 of file methods.cpp.

◆ fromProperty()

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

Reimplemented in MatrixCalibrator, and LSSVMCalibrator.

Definition at line 149 of file methods.cpp.

◆ getExtrapolation()

virtual bool Calibrator::getExtrapolation ( ) const
inlinevirtual

Definition at line 61 of file methods.h.

◆ getNumPoints()

virtual size_t Calibrator::getNumPoints ( ) const
inlinevirtual

Definition at line 66 of file methods.h.

◆ getPoints()

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

Implemented in MatrixCalibrator, and LSSVMCalibrator.

◆ getSpatialCompetence()

double Calibrator::getSpatialCompetence ( const yarp::sig::Vector &  point)
virtual

Definition at line 90 of file methods.cpp.

◆ getType()

virtual std::string Calibrator::getType ( ) const
inlinevirtual

Definition at line 60 of file methods.h.

◆ retrieve()

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

Implemented in MatrixCalibrator, and LSSVMCalibrator.

◆ setExtrapolation()

virtual void Calibrator::setExtrapolation ( const bool  extrapolation)
inlinevirtual

Definition at line 62 of file methods.h.

◆ toProperty()

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

Reimplemented in MatrixCalibrator, and LSSVMCalibrator.

Definition at line 130 of file methods.cpp.

Member Data Documentation

◆ in

std::deque<yarp::sig::Vector> Calibrator::in
protected

Definition at line 36 of file methods.h.

◆ out

std::deque<yarp::sig::Vector> Calibrator::out
protected

Definition at line 36 of file methods.h.

◆ spatialCompetence

struct Calibrator::SpatialCompetence Calibrator::spatialCompetence
protected

◆ type

std::string Calibrator::type
protected

Definition at line 35 of file methods.h.


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