Jafar
|
This class represents an interest point. More...
This class represents an interest point.
Definition at line 19 of file InterestPoint.hpp.
#include <InterestPoint.hpp>
Public Member Functions | |
InterestPoint () | |
Create a new Interest Point. | |
InterestPoint (double u, double v) | |
jblas::vec2 | point () const |
This function create a new vector each time, minimize the number of time you call this function. | |
double | u () const |
void | setU (double u) |
double | v () const |
void | setV (double v) |
unsigned int | id () const |
void | setId (unsigned int id) |
unsigned int | index () const |
void | setIndex (unsigned int ind) |
unsigned int | stereoIndex () const |
void | setStereoIndex (unsigned int ind) |
double | quality () |
This function return the quality of the interest point. | |
void | setQuality (double q) |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
Static Public Attributes | |
static const unsigned int | NO_ID = -1 |
Value returned by id when no identifiant has been assigned to the point. | |
Private Attributes | |
double | m_u |
double | m_v |
double | m_quality |
unsigned int | m_id |
unsigned int | m_index |
unsigned int | m_stereoIndex |
Friends | |
class | boost::serialization::access |
!! nizar 20100912 : serialization |
jafar::geom::InterestPoint::InterestPoint | ( | ) | [inline] |
Create a new Interest Point.
u | column number |
v | lign number |
Definition at line 29 of file InterestPoint.hpp.
unsigned int jafar::geom::InterestPoint::id | ( | ) | const [inline] |
Definition at line 50 of file InterestPoint.hpp.
Referenced by setId().
unsigned int jafar::geom::InterestPoint::index | ( | ) | const [inline] |
Definition at line 55 of file InterestPoint.hpp.
jblas::vec2 jafar::geom::InterestPoint::point | ( | ) | const [inline] |
This function create a new vector each time, minimize the number of time you call this function.
Definition at line 36 of file InterestPoint.hpp.
double jafar::geom::InterestPoint::quality | ( | ) | [inline] |
This function return the quality of the interest point.
It's a value between 0.0 and 1.0, which indicates the confidence of the tracker in its ability to precisely track that point when the robot move.
Definition at line 70 of file InterestPoint.hpp.
void jafar::geom::InterestPoint::setId | ( | unsigned int | id | ) | [inline] |
id | the identifiant of this point |
Definition at line 52 of file InterestPoint.hpp.
References id().
void jafar::geom::InterestPoint::setIndex | ( | unsigned int | ind | ) | [inline] |
ind | the index of the interest point in the vector of interest points |
Definition at line 57 of file InterestPoint.hpp.
void jafar::geom::InterestPoint::setQuality | ( | double | q | ) | [inline] |
q | the new quality of the point |
Definition at line 74 of file InterestPoint.hpp.
void jafar::geom::InterestPoint::setStereoIndex | ( | unsigned int | ind | ) | [inline] |
ind | the index of the interest point in the other image's vector of interest points |
Definition at line 62 of file InterestPoint.hpp.
void jafar::geom::InterestPoint::setU | ( | double | u | ) | [inline] |
void jafar::geom::InterestPoint::setV | ( | double | v | ) | [inline] |
unsigned int jafar::geom::InterestPoint::stereoIndex | ( | ) | const [inline] |
Definition at line 60 of file InterestPoint.hpp.
double jafar::geom::InterestPoint::u | ( | ) | const [inline] |
Definition at line 40 of file InterestPoint.hpp.
Referenced by jafar::modeler::KinectModeler::is_invalid(), point(), and setU().
double jafar::geom::InterestPoint::v | ( | ) | const [inline] |
Definition at line 45 of file InterestPoint.hpp.
Referenced by jafar::modeler::KinectModeler::is_invalid(), point(), and setV().
Generated on Wed Oct 15 2014 00:37:37 for Jafar by doxygen 1.7.6.1 |