50 #ifndef vpMbtPolygon_HH
51 #define vpMbtPolygon_HH
53 #include <visp/vpPoint.h>
54 #include <visp/vpMeterPixelConversion.h>
55 #include <visp/vpPixelMeterConversion.h>
85 void addPoint(
const unsigned int n,
const vpPoint &P) ;
103 vpPoint & getPoint(
const unsigned int _index);
117 virtual inline void setIndex(
const int i ) { index = i ; }
118 virtual void setNbPoint(
const unsigned int nb) ;
121 static void getMinMaxRoi(
const std::vector<vpImagePoint> &roi,
int & i_min,
int &i_max,
int &j_min,
int &j_max);
The class provides a data structure for the homogeneous matrices as well as a set of operations on th...
int index
Index of the polygon. Cannot be unsigned int because deafult value is -1.
unsigned int nbpt
Number of points used to define the polygon.
Class that defines what is a point.
Implementation of a polygon of the model used by the model-based tracker.
Generic class defining intrinsic camera parameters.
bool isappearing
flag to specify whether the face is appearing or not
unsigned int getNbPoint() const
bool isvisible
flag to specify whether the face is visible or not
virtual void setIndex(const int i)
vpPoint * p
corners in the object frame