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