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>
81 double minLineLengthThresh;
84 double minPolygonAreaThresh;
101 inline int getIndex()
const {
return index; }
108 inline std::string getName()
const {
return name; }
110 inline bool isAppearing()
const {
return isappearing; }
111 inline bool isPolygonOriented() {
return hasOrientation; }
112 virtual bool isVisible(
const vpHomogeneousMatrix &cMo,
const double alpha,
const bool &modulo =
false,
115 bool isVisible()
const {
return isvisible; }
124 virtual inline void setIndex(
const int i) { index = i; }
128 void setLod(
const bool use_lod);
141 inline void setMinLineLengthThresh(
const double min_line_length) { this->minLineLengthThresh = min_line_length; }
152 inline void setMinPolygonAreaThresh(
const double min_polygon_area) { this->minPolygonAreaThresh = min_polygon_area; }
159 inline void setName(
const std::string &face_name) { this->name = face_name; }
166 inline void setIsPolygonOriented(
const bool &oriented) { this->hasOrientation = oriented; }