49 #ifndef vpMbtDistanceCylinder_HH
50 #define vpMbtDistanceCylinder_HH
52 #include <visp/vpPoint.h>
53 #include <visp/vpMbtMeLine.h>
54 #include <visp/vpLine.h>
55 #include <visp/vpHomogeneousMatrix.h>
56 #include <visp/vpFeatureLine.h>
57 #include <visp/vpCylinder.h>
58 #include <visp/vpCircle.h>
118 void buildFrom(
const vpPoint &_p1,
const vpPoint &_p2,
const double r);
161 inline std::string
getName()
const {
return name;}
163 void initInteractionMatrixError();
180 inline void setIndex(
const unsigned int i) {index = i;}
196 void setMovingEdge(
vpMe *Me);
203 inline void setName(
const std::string& name) {this->name = name;}
210 inline void setName(
const char* name) {this->name = name;}
218 void getCylinderLineExtremity(
double &i,
double &j,
double rho,
double theta,
vpCircle *circle);
void setCameraParameters(const vpCameraParameters &cam)
Definition of the vpMatrix class.
vpCylinder * c
The cylinder.
void setMeanWeight2(const double wmean)
The class provides a data structure for the homogeneous matrices as well as a set of operations on th...
Class to define colors available for display functionnalities.
Manage a cylinder used in the model-based tracker.
Contains predetermined masks for sites and holds moving edges tracking parameters.
void setName(const std::string &name)
unsigned int nbFeature
The number of moving edges.
void setIndex(const unsigned int i)
Implementation of a line used by the model-based tracker.
vpPoint * p1
The first extremity on the axe.
Class that defines what is a point.
vpMatrix L
The interaction matrix.
unsigned int nbFeaturel1
The number of moving edges on line 1.
double getMeanWeight2() const
vpCircle * cercle2
The lower circle limiting the cylinder.
Generic class defining intrinsic camera parameters.
Class that defines a 2D line visual feature which is composed by two parameters that are and ...
vpMbtMeLine * meline1
The moving edge containers (first line of the cylinder)
void setMeanWeight1(const double wmean)
vpPoint * p2
The second extremity on the axe.
void getCameraParameters(vpCameraParameters &cam)
Class that defines what is a cylinder.
Class that provides a data structure for the column vectors as well as a set of operations on these v...
vpColVector error
The error vector.
vpCircle * cercle1
The upper circle limiting the cylinder.
bool Reinit
Indicates if the line has to be reinitialized.
double radius
The radius of the cylinder.
double getMeanWeight1() const
unsigned int nbFeaturel2
The number of moving edges on line 2.
Class that defines what is a circle.
vpMbtMeLine * meline2
The moving edge containers (second line of the cylinder)
std::string getName() const
void setName(const char *name)