Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Attributes | Private Attributes | Friends
jafar::geom::InterestPoint Class Reference

This class represents an interest point. More...


Detailed Description

This class represents an interest point.

Definition at line 19 of file InterestPoint.hpp.

#include <InterestPoint.hpp>

Inheritance diagram for jafar::geom::InterestPoint:
Inheritance graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

Create a new Interest Point.

Parameters:
ucolumn number
vlign number

Definition at line 29 of file InterestPoint.hpp.


Member Function Documentation

unsigned int jafar::geom::InterestPoint::id ( ) const [inline]
Returns:
the identifiant of this point

Definition at line 50 of file InterestPoint.hpp.

Referenced by setId().

unsigned int jafar::geom::InterestPoint::index ( ) const [inline]
Returns:
the index of the interest point in the vector of interest points

Definition at line 55 of file InterestPoint.hpp.

This function create a new vector each time, minimize the number of time you call this function.

Returns:
a boost vector with the coordinates of that point.

Definition at line 36 of file InterestPoint.hpp.

References u(), and v().

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.

Returns:
the quality of the point

Definition at line 70 of file InterestPoint.hpp.

void jafar::geom::InterestPoint::setId ( unsigned int  id) [inline]
Parameters:
idthe identifiant of this point

Definition at line 52 of file InterestPoint.hpp.

References id().

void jafar::geom::InterestPoint::setIndex ( unsigned int  ind) [inline]
Parameters:
indthe 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]
Parameters:
qthe new quality of the point

Definition at line 74 of file InterestPoint.hpp.

void jafar::geom::InterestPoint::setStereoIndex ( unsigned int  ind) [inline]
Parameters:
indthe 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]
Parameters:
uthe column

Definition at line 42 of file InterestPoint.hpp.

References u().

void jafar::geom::InterestPoint::setV ( double  v) [inline]
Parameters:
vthe lign

Definition at line 47 of file InterestPoint.hpp.

References v().

unsigned int jafar::geom::InterestPoint::stereoIndex ( ) const [inline]
Returns:
the index of the interest point in the other image's vector of interest points

Definition at line 60 of file InterestPoint.hpp.

double jafar::geom::InterestPoint::u ( ) const [inline]
Returns:
the column

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]
Returns:
the lign

Definition at line 45 of file InterestPoint.hpp.

Referenced by jafar::modeler::KinectModeler::is_invalid(), point(), and setV().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:37 for Jafar by doxygen 1.7.6.1
LAAS-CNRS