41 #ifndef vpMbtDistanceCircle_HH
42 #define vpMbtDistanceCircle_HH
44 #include <visp3/core/vpConfig.h>
45 #include <visp3/core/vpCircle.h>
46 #include <visp3/core/vpHomogeneousMatrix.h>
47 #include <visp3/core/vpPoint.h>
48 #include <visp3/mbt/vpMbHiddenFaces.h>
49 #include <visp3/mbt/vpMbtMeEllipse.h>
50 #include <visp3/visual_features/vpFeatureEllipse.h>
124 #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11)
138 const vpColor &col,
unsigned int thickness = 1,
bool displayFullModel =
false);
140 const vpColor &col,
unsigned int thickness = 1,
bool displayFullModel =
false);
167 std::vector<std::vector<double> > getFeaturesForDisplay();
170 bool displayFullModel =
false);
177 inline std::string
getName()
const {
return name; }
179 void initInteractionMatrixError();
189 inline bool isTracked()
const {
return isTrackedCircle; }
212 inline void setTracked(
const bool &track) { this->isTrackedCircle = track; }
219 inline void setIndex(
unsigned int i) { index = i; }
228 void setMovingEdge(
vpMe *Me);
235 inline void setName(
const std::string &circle_name) { this->name = circle_name; }
242 inline void setName(
const char *circle_name) { this->name = std::string(circle_name); }
250 inline void setVisible(
bool _isvisible) { isvisible = _isvisible; }
Generic class defining intrinsic camera parameters.
Class that defines a 3D circle in the object frame and allows forward projection of a 3D circle in th...
Implementation of column vector and the associated operations.
Class to define RGB colors available for display functionalities.
Class that defines 2D ellipse visual feature.
Implementation of an homogeneous matrix and operations on such kind of matrices.
Implementation of a matrix and operations on matrices.
Manage a circle used in the model-based tracker.
void setVisible(bool _isvisible)
void setName(const char *circle_name)
void setCameraParameters(const vpCameraParameters &camera)
vpColVector error
The error vector.
vpMbHiddenFaces< vpMbtPolygon > * hiddenface
Pointer to the list of faces.
vpPoint * p1
The center of the circle.
double getMeanWeight() const
unsigned int nbFeature
The number of moving edges.
vpMatrix L
The interaction matrix.
void getCameraParameters(vpCameraParameters &camera)
void setIndex(unsigned int i)
std::string getName() const
vpMbtDistanceCircle & operator=(const vpMbtDistanceCircle &)=delete
vpCircle * circle
The circle to track.
vpPoint * p2
A point on the plane containing the circle.
void setMeanWeight(double _wmean)
bool isvisible
Indicates if the circle is visible or not.
bool Reinit
Indicates if the circle has to be reinitialized.
double radius
The radius of the circle.
int index_polygon
Index of the faces which contain the line.
vpPoint * p3
An other point on the plane containing the circle.
vpMbtMeEllipse * meEllipse
The moving edge containers.
void setName(const std::string &circle_name)
vpMbtDistanceCircle(const vpMbtDistanceCircle &)=delete
void setTracked(const bool &track)
Class that defines a 3D point in the object frame and allows forward projection of a 3D point in the ...