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>
133 const vpColor &col,
unsigned int thickness = 1,
bool displayFullModel =
false);
135 const vpColor &col,
unsigned int thickness = 1,
bool displayFullModel =
false);
162 std::vector<std::vector<double> > getFeaturesForDisplay();
165 bool displayFullModel =
false);
172 inline std::string
getName()
const {
return name; }
174 void initInteractionMatrixError();
184 inline bool isTracked()
const {
return isTrackedCircle; }
207 inline void setTracked(
const bool &track) { this->isTrackedCircle = track; }
214 inline void setIndex(
unsigned int i) { index = i; }
223 void setMovingEdge(
vpMe *Me);
230 inline void setName(
const std::string &circle_name) { this->name = circle_name; }
237 inline void setName(
const char *circle_name) { this->name = std::string(circle_name); }
245 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
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 ...