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();
167 bool displayFullModel =
false);
174 inline std::string
getName()
const {
return name; }
183 void initInteractionMatrixError();
193 inline bool isTracked()
const {
return isTrackedCircle; }
216 inline void setTracked(
const bool &track) { this->isTrackedCircle = track; }
223 inline void setIndex(
unsigned int i) { index = i; }
232 void setMovingEdge(
vpMe *Me);
239 inline void setName(
const std::string &circle_name) { this->name = circle_name; }
246 inline void setName(
const char *circle_name) { this->name = std::string(circle_name); }
254 inline void setVisible(
bool _isvisible) { isvisible = _isvisible; }
std::string getName() const
Implementation of a matrix and operations on matrices.
unsigned int nbFeature
The number of moving edges.
void setCameraParameters(const vpCameraParameters &camera)
vpPoint * p3
An other point on the plane containing the circle.
vpMbHiddenFaces< vpMbtPolygon > * hiddenface
Pointer to the list of faces.
void setIndex(unsigned int i)
Implementation of an homogeneous matrix and operations on such kind of matrices.
vpMatrix L
The interaction matrix.
Class to define RGB colors available for display functionnalities.
vpColVector error
The error vector.
vpMbtMeEllipse * meEllipse
The moving edge containers.
void getCameraParameters(vpCameraParameters &camera)
int index_polygon
Index of the faces which contain the line.
vpPoint * p2
A point on the plane containing the circle.
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 ...
Manage a circle used in the model-based tracker.
bool Reinit
Indicates if the circle has to be reinitialized.
void setName(const char *circle_name)
void setName(const std::string &circle_name)
bool isvisible
Indicates if the circle is visible or not.
Generic class defining intrinsic camera parameters.
void setMeanWeight(double _wmean)
void setVisible(bool _isvisible)
vpCircle * circle
The circle to track.
Implementation of column vector and the associated operations.
Class that defines 2D ellipse visual feature.
double radius
The radius of the circle.
Class that defines a 3D circle in the object frame and allows forward projection of a 3D circle in th...
double getMeanWeight() const
vpPoint * p1
The center of the circle.