iCub-main
Loading...
Searching...
No Matches
EyeAligner Class Reference

#include <nlp.h>

Public Member Functions

 EyeAligner ()
bool setProjection (const yarp::sig::Matrix &Prj)
yarp::sig::Matrix getProjection () const
void setBounds (const yarp::sig::Vector &min, const yarp::sig::Vector &max)
bool addPoints (const yarp::sig::Vector &p2di, const yarp::sig::Vector &p3di)
void clearPoints ()
size_t getNumPoints () const
bool setInitialGuess (const yarp::sig::Matrix &H)
bool calibrate (yarp::sig::Matrix &H, double &error, const int max_iter=ALIGN_IPOPT_MAX_ITER, const int print_level=0, const std::string &derivative_test="none")

Protected Member Functions

double evalError (const yarp::sig::Matrix &H)

Protected Attributes

yarp::sig::Vector min
yarp::sig::Vector max
yarp::sig::Vector x0
yarp::sig::Matrix Prj
std::deque< yarp::sig::Vector > p2d
std::deque< yarp::sig::Vector > p3d

Detailed Description

Definition at line 36 of file nlp.h.

Constructor & Destructor Documentation

◆ EyeAligner()

EyeAligner::EyeAligner ( )

Definition at line 311 of file nlp.cpp.

Member Function Documentation

◆ addPoints()

bool EyeAligner::addPoints ( const yarp::sig::Vector & p2di,
const yarp::sig::Vector & p3di )

Definition at line 385 of file nlp.cpp.

◆ calibrate()

bool EyeAligner::calibrate ( yarp::sig::Matrix & H,
double & error,
const int max_iter = ALIGN_IPOPT_MAX_ITER,
const int print_level = 0,
const std::string & derivative_test = "none" )

Definition at line 434 of file nlp.cpp.

◆ clearPoints()

void EyeAligner::clearPoints ( )

Definition at line 400 of file nlp.cpp.

◆ evalError()

double EyeAligner::evalError ( const yarp::sig::Matrix & H)
protected

Definition at line 327 of file nlp.cpp.

◆ getNumPoints()

size_t EyeAligner::getNumPoints ( ) const

Definition at line 408 of file nlp.cpp.

◆ getProjection()

Matrix EyeAligner::getProjection ( ) const

Definition at line 364 of file nlp.cpp.

◆ setBounds()

void EyeAligner::setBounds ( const yarp::sig::Vector & min,
const yarp::sig::Vector & max )

Definition at line 371 of file nlp.cpp.

◆ setInitialGuess()

bool EyeAligner::setInitialGuess ( const yarp::sig::Matrix & H)

Definition at line 415 of file nlp.cpp.

◆ setProjection()

bool EyeAligner::setProjection ( const yarp::sig::Matrix & Prj)

Definition at line 351 of file nlp.cpp.

Member Data Documentation

◆ max

yarp::sig::Vector EyeAligner::max
protected

Definition at line 40 of file nlp.h.

◆ min

yarp::sig::Vector EyeAligner::min
protected

Definition at line 39 of file nlp.h.

◆ p2d

std::deque<yarp::sig::Vector> EyeAligner::p2d
protected

Definition at line 44 of file nlp.h.

◆ p3d

std::deque<yarp::sig::Vector> EyeAligner::p3d
protected

Definition at line 45 of file nlp.h.

◆ Prj

yarp::sig::Matrix EyeAligner::Prj
protected

Definition at line 42 of file nlp.h.

◆ x0

yarp::sig::Vector EyeAligner::x0
protected

Definition at line 41 of file nlp.h.


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