49 #ifndef vpMbtDistanceLine_HH
50 #define vpMbtDistanceLine_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/vpMbHiddenFaces.h>
131 inline unsigned int getIndex()
const {
return index ;}
146 inline std::string
getName()
const {
return name;}
155 void initInteractionMatrixError();
179 inline void setIndex(
const unsigned int i) {index = i;}
188 void setMovingEdge(
vpMe *Me);
195 inline void setName(
const std::string line_name) {this->name = line_name;}
202 inline void setName(
const char* line_name) {this->name = std::string(line_name);}
209 inline void setVisible(
bool _isvisible) {isvisible = _isvisible ;}
216 void belongToPolygon(
int index_) { Lindex_polygon.push_back(index_); }
Definition of the vpMatrix class.
void getCameraParameters(vpCameraParameters &camera) const
void setVisible(bool _isvisible)
vpLine * line
The 3D line.
std::string getName() const
bool Reinit
Indicates if the line has to be reinitialized.
The class provides a data structure for the homogeneous matrices as well as a set of operations on th...
std::list< int > Lindex_polygon
Index of the faces which contain the line.
void setName(const char *line_name)
Class to define colors available for display functionnalities.
vpPoint * p1
The first extremity.
unsigned int getIndex() const
Contains predetermined masks for sites and holds moving edges tracking parameters.
Manage the line of a polygon used in the model-based tracker.
Implementation of a line used by the model-based tracker.
vpMbtPolygon & getPolygon()
bool isvisible
Indicates if the line is visible or not.
unsigned int nbFeature
The number of moving edges.
Class that defines what is a point.
Class that defines a line in the object frame, the camera frame and the image plane. All the parameters must be set in meter.
Implementation of a polygon of the model used by the model-based tracker.
vpPoint * p2
The second extremity.
vpColVector error
The error vector.
Generic class defining intrinsic camera parameters.
Class that defines a 2D line visual feature which is composed by two parameters that are and ...
void setIndex(const unsigned int i)
void setCameraParameters(const vpCameraParameters &camera)
Class that provides a data structure for the column vectors as well as a set of operations on these v...
double getMeanWeight() const
vpMbHiddenFaces< vpMbtPolygon > * hiddenface
Pointer to the list of faces.
void setMeanWeight(const double w_mean)
void setName(const std::string line_name)
vpMatrix L
The interaction matrix.
vpMbtMeLine * meline
The moving edge container.