44 #ifndef vpMbtDistanceCircle_HH
45 #define vpMbtDistanceCircle_HH
47 #include <visp3/core/vpCircle.h>
48 #include <visp3/core/vpHomogeneousMatrix.h>
49 #include <visp3/core/vpPoint.h>
50 #include <visp3/mbt/vpMbHiddenFaces.h>
51 #include <visp3/mbt/vpMbtMeEllipse.h>
52 #include <visp3/visual_features/vpFeatureEllipse.h>
134 const vpColor &col,
unsigned int thickness = 1,
bool displayFullModel =
false);
136 const vpColor &col,
unsigned int thickness = 1,
bool displayFullModel =
false);
163 std::vector<std::vector<double> > getFeaturesForDisplay();
166 bool displayFullModel =
false);
173 inline std::string
getName()
const {
return name; }
175 void initInteractionMatrixError();
185 inline bool isTracked()
const {
return isTrackedCircle; }
208 inline void setTracked(
const bool &track) { this->isTrackedCircle = track; }
215 inline void setIndex(
unsigned int i) { index = i; }
224 void setMovingEdge(
vpMe *Me);
231 inline void setName(
const std::string &circle_name) { this->name = circle_name; }
238 inline void setName(
const char *circle_name) { this->name = std::string(circle_name); }
246 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 functionnalities.
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
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)
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 ...