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 width=0,
unsigned int height=0);
128 void setLod(
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.
void setName(const std::string &face_name)
double minLineLengthThresh
Implementation of a polygon of the model used by the model-based tracker.
std::string getName() const
void setMinPolygonAreaThresh(double min_polygon_area)
Generic class defining intrinsic camera parameters.
double minPolygonAreaThresh
void setIsPolygonOriented(const bool &oriented)
vpPolygon3D & operator=(const vpPolygon3D &mbtp)
void setMinLineLengthThresh(double min_line_length)
bool isappearing
flag to specify whether the face is appearing or not
bool isvisible
flag to specify whether the face is visible or not
virtual void setIndex(int i)