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,
const double alpha,
const bool &modulo =
false,
124 virtual inline void setIndex(
const int i) { index = i; }
128 void setLod(
const bool use_lod);
159 inline void setName(
const std::string &face_name) { this->name = face_name; }
Implements a 3D polygon with render functionnalities like clipping.
std::string name
Name of the polygon.
Implementation of an homogeneous matrix and operations on such kind of matrices.
std::string getName() const
void setMinPolygonAreaThresh(const double min_polygon_area)
void setName(const std::string &face_name)
double minLineLengthThresh
Implementation of a polygon of the model used by the model-based tracker.
Generic class defining intrinsic camera parameters.
double minPolygonAreaThresh
void setIsPolygonOriented(const bool &oriented)
vpPolygon3D & operator=(const vpPolygon3D &mbtp)
bool isappearing
flag to specify whether the face is appearing or not
bool isvisible
flag to specify whether the face is visible or not
void setMinLineLengthThresh(const double min_line_length)
virtual void setIndex(const int i)