47 #ifndef vpMbtPolygon_HH
48 #define vpMbtPolygon_HH
50 #include <visp3/core/vpMeterPixelConversion.h>
51 #include <visp3/core/vpPixelMeterConversion.h>
52 #include <visp3/core/vpPoint.h>
53 #include <visp3/core/vpPolygon3D.h>
108 inline std::string
getName()
const {
return name; }
112 virtual bool isVisible(
const vpHomogeneousMatrix &cMo,
double alpha,
const bool &modulo =
false,
114 unsigned int height = 0);
128 void setLod(
bool use_lod);
159 inline void setName(
const std::string &face_name) { this->name = face_name; }
Generic class defining intrinsic camera parameters.
Implementation of an homogeneous matrix and operations on such kind of matrices.
Implementation of a polygon of the model used by the model-based tracker.
void setMinPolygonAreaThresh(double min_polygon_area)
bool isvisible
flag to specify whether the face is visible or not
std::string getName() const
void setName(const std::string &face_name)
double minLineLengthThresh
virtual void setIndex(int i)
double minPolygonAreaThresh
void setMinLineLengthThresh(double min_line_length)
bool isappearing
flag to specify whether the face is appearing or not
std::string name
Name of the polygon.
void setIsPolygonOriented(const bool &oriented)
Implements a 3D polygon with render functionnalities like clipping.
vpPolygon3D & operator=(const vpPolygon3D &mbtp)