![]() |
Visual Servoing Platform
version 3.6.0 under development (2023-09-27)
|
#include <visp3/mbt/vpMbtDistanceCylinder.h>
Public Member Functions | |
vpMbtDistanceCylinder () | |
virtual | ~vpMbtDistanceCylinder () |
void | buildFrom (const vpPoint &_p1, const vpPoint &_p2, double r) |
void | computeInteractionMatrixError (const vpHomogeneousMatrix &cMo, const vpImage< unsigned char > &I) |
void | display (const vpImage< unsigned char > &I, const vpHomogeneousMatrix &cMo, const vpCameraParameters &cam, const vpColor &col, unsigned int thickness=1, bool displayFullModel=false) |
void | display (const vpImage< vpRGBa > &I, const vpHomogeneousMatrix &cMo, const vpCameraParameters &cam, const vpColor &col, unsigned int thickness=1, bool displayFullModel=false) |
void | displayMovingEdges (const vpImage< unsigned char > &I) |
void | displayMovingEdges (const vpImage< vpRGBa > &I) |
void | getCameraParameters (vpCameraParameters &camera) |
unsigned int | getIndex () |
double | getMeanWeight1 () const |
double | getMeanWeight2 () const |
std::vector< std::vector< double > > | getFeaturesForDisplay () |
std::vector< std::vector< double > > | getModelForDisplay (unsigned int width, unsigned int height, const vpHomogeneousMatrix &cMo, const vpCameraParameters &cam, bool displayFullModel=false) |
std::string | getName () const |
void | initInteractionMatrixError () |
bool | initMovingEdge (const vpImage< unsigned char > &I, const vpHomogeneousMatrix &cMo, bool doNotTrack, const vpImage< bool > *mask=NULL) |
bool | isTracked () const |
bool | isVisible () const |
void | reinitMovingEdge (const vpImage< unsigned char > &I, const vpHomogeneousMatrix &cMo, const vpImage< bool > *mask=NULL) |
void | setCameraParameters (const vpCameraParameters &camera) |
void | setTracked (const bool &track) |
void | setIndex (unsigned int i) |
void | setMeanWeight1 (double wmean) |
void | setMeanWeight2 (double wmean) |
void | setMovingEdge (vpMe *Me) |
void | setName (const std::string &cyl_name) |
void | setName (const char *cyl_name) |
void | setVisible (bool _isvisible) |
void | trackMovingEdge (const vpImage< unsigned char > &I, const vpHomogeneousMatrix &cMo) |
void | updateMovingEdge (const vpImage< unsigned char > &I, const vpHomogeneousMatrix &cMo) |
Public Attributes | |
vpMbtMeLine * | meline1 |
vpMbtMeLine * | meline2 |
vpCircle * | cercle1 |
vpCircle * | cercle2 |
double | radius |
vpPoint * | p1 |
vpPoint * | p2 |
vpMatrix | L |
vpColVector | error |
unsigned int | nbFeature |
unsigned int | nbFeaturel1 |
unsigned int | nbFeaturel2 |
bool | Reinit |
vpCylinder * | c |
vpMbHiddenFaces< vpMbtPolygon > * | hiddenface |
int | index_polygon |
bool | isvisible |
Manage a cylinder used in the model-based tracker.
Definition at line 64 of file vpMbtDistanceCylinder.h.
vpMbtDistanceCylinder::vpMbtDistanceCylinder | ( | ) |
Basic constructor
Definition at line 62 of file vpMbtDistanceCylinder.cpp.
|
virtual |
Build a vpMbtDistanceCylinder thanks to two points corresponding to the extremities of its axis and its radius.
_p1 | : The first extremity on the axis. |
_p2 | : The second extremity on the axis. |
r | : Radius of the cylinder. |
Definition at line 115 of file vpMbtDistanceCylinder.cpp.
References c, cercle1, cercle2, vpPoint::get_oX(), vpPoint::get_oY(), vpPoint::get_oZ(), p1, p2, radius, vpCircle::setWorldCoordinates(), and vpCylinder::setWorldCoordinates().
Referenced by vpMbEdgeTracker::addCylinder(), and vpMbTracker::addProjectionErrorCylinder().
void vpMbtDistanceCylinder::computeInteractionMatrixError | ( | const vpHomogeneousMatrix & | cMo, |
const vpImage< unsigned char > & | I | ||
) |
Compute the interaction matrix and the error vector corresponding to the cylinder.
Definition at line 744 of file vpMbtDistanceCylinder.cpp.
References c, cercle1, cercle2, vpCylinder::changeFrame(), vpCircle::changeFrame(), vpFeatureBuilder::create(), vpDisplay::displayCross(), error, vpDisplay::flush(), vpCameraParameters::get_px(), vpCameraParameters::get_py(), vpCameraParameters::get_u0(), vpCameraParameters::get_v0(), vpFeatureLine::getRho(), vpFeatureLine::getTheta(), vpFeatureLine::interaction(), isvisible, vpMeSite::j, L, vpCylinder::line1, vpCylinder::line2, meline1, meline2, vpColor::orange, vpCircle::projection(), vpCylinder::projection(), and vpColor::red.
Referenced by vpMbEdgeTracker::computeVVSFirstPhase(), vpMbEdgeTracker::computeVVSFirstPhaseFactor(), vpMbEdgeTracker::computeVVSInteractionMatrixAndResidu(), vpMbEdgeKltTracker::trackFirstLoop(), and vpMbEdgeKltTracker::trackSecondLoop().
void vpMbtDistanceCylinder::display | ( | const vpImage< unsigned char > & | I, |
const vpHomogeneousMatrix & | cMo, | ||
const vpCameraParameters & | camera, | ||
const vpColor & | col, | ||
unsigned int | thickness = 1 , |
||
bool | displayFullModel = false |
||
) |
Display the cylinder. The 3D cylinder is projected into the image.
I | : The image. |
cMo | : Pose used to project the 3D model into the image. |
camera | : The camera parameters. |
col | : The desired color. |
thickness | : The thickness of the lines. |
displayFullModel | : When true, display the circle even if non visible. |
Definition at line 513 of file vpMbtDistanceCylinder.cpp.
References vpDisplay::displayLine(), vpImage< Type >::getHeight(), getModelForDisplay(), and vpImage< Type >::getWidth().
void vpMbtDistanceCylinder::display | ( | const vpImage< vpRGBa > & | I, |
const vpHomogeneousMatrix & | cMo, | ||
const vpCameraParameters & | camera, | ||
const vpColor & | col, | ||
unsigned int | thickness = 1 , |
||
bool | displayFullModel = false |
||
) |
Display the cylinder. The 3D cylinder is projected into the image.
I | : The image. |
cMo | : Pose used to project the 3D model into the image. |
camera | : The camera parameters. |
col | : The desired color. |
thickness | : The thickness of the lines. |
displayFullModel | : When true, display the circle even if non visible. |
Definition at line 538 of file vpMbtDistanceCylinder.cpp.
References vpDisplay::displayLine(), vpImage< Type >::getHeight(), getModelForDisplay(), and vpImage< Type >::getWidth().
void vpMbtDistanceCylinder::displayMovingEdges | ( | const vpImage< unsigned char > & | I | ) |
Enable to display the points along the lines with a color corresponding to their state.
I | : The image. |
Definition at line 702 of file vpMbtDistanceCylinder.cpp.
References meline1, and meline2.
Referenced by vpMbEdgeKltTracker::postTracking().
Definition at line 712 of file vpMbtDistanceCylinder.cpp.
|
inline |
Get the camera parameters.
camera | : The vpCameraParameters used to store the camera parameters. |
Definition at line 157 of file vpMbtDistanceCylinder.h.
std::vector< std::vector< double > > vpMbtDistanceCylinder::getFeaturesForDisplay | ( | ) |
Return a list of features parameters for display.
<feature id (here 0 for ME)>
, <pt.i()>
, <pt.j()>
, <state>
Definition at line 557 of file vpMbtDistanceCylinder.cpp.
References vpMeSite::get_ifloat(), vpMeSite::get_jfloat(), vpMeSite::getState(), meline1, and meline2.
Referenced by vpMbEdgeTracker::getFeaturesForDisplayEdge().
|
inline |
Get the index of the cylinder.
Definition at line 164 of file vpMbtDistanceCylinder.h.
|
inline |
Get the mean weight of the first line. The mean weight is computed thanks to the weight of each moving edge. Those weights are computed by the robust estimation method used during the virtual visual servoing.
Definition at line 173 of file vpMbtDistanceCylinder.h.
|
inline |
Get the mean weight of the second line. The mean weight is computed thanks to the weight of each moving edge. Those weights are computed by the robust estimation method used during the virtual visual servoing.
Definition at line 182 of file vpMbtDistanceCylinder.h.
std::vector< std::vector< double > > vpMbtDistanceCylinder::getModelForDisplay | ( | unsigned int | width, |
unsigned int | height, | ||
const vpHomogeneousMatrix & | cMo, | ||
const vpCameraParameters & | camera, | ||
bool | displayFullModel = false |
||
) |
Return a list of line parameters to display the primitive at a given pose and camera parameters.
<primitive id (here 0 for line)>
, <pt_start.i()>
, <pt_start.j()>
, <pt_end.i()>
, <pt_end.j()>
width,height | Image size (unused parameters). |
cMo | : Pose used to project the 3D model into the image. |
camera | : The camera parameters. |
displayFullModel | : If true, the line is displayed even if it is not |
Definition at line 610 of file vpMbtDistanceCylinder.cpp.
References c, cercle1, cercle2, vpCylinder::changeFrame(), vpPoint::changeFrame(), vpCircle::changeFrame(), vpCircle::computeIntersectionPoint(), vpMeterPixelConversion::convertLine(), vpImagePoint::get_i(), vpImagePoint::get_j(), vpCylinder::getRho1(), vpCylinder::getRho2(), vpCylinder::getTheta1(), vpCylinder::getTheta2(), isvisible, p1, p2, vpCircle::projection(), vpCylinder::projection(), vpPoint::projection(), and vpImagePoint::set_ij().
Referenced by display().
|
inline |
Get the name of the cylinder.
Definition at line 195 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::removeCylinder().
void vpMbtDistanceCylinder::initInteractionMatrixError | ( | ) |
Initialize the size of the interaction matrix and the error vector.
Definition at line 725 of file vpMbtDistanceCylinder.cpp.
References error, isvisible, L, meline1, meline2, nbFeature, nbFeaturel1, nbFeaturel2, vpColVector::resize(), and vpArray2D< Type >::resize().
Referenced by vpMbEdgeTracker::initMbtTracking(), and vpMbEdgeKltTracker::initMbtTracking().
bool vpMbtDistanceCylinder::initMovingEdge | ( | const vpImage< unsigned char > & | I, |
const vpHomogeneousMatrix & | cMo, | ||
bool | doNotTrack, | ||
const vpImage< bool > * | mask = NULL |
||
) |
Initialize the moving edge thanks to a given pose of the camera. The 3D model is projected into the image to create moving edges along the lines.
I | : The image. |
cMo | : The pose of the camera used to initialize the moving edges. |
doNotTrack | : If true, ME are not tracked. |
mask | Mask image or NULL if not wanted. Mask values that are set to true are considered in the tracking. To disable a pixel, set false. |
Definition at line 180 of file vpMbtDistanceCylinder.cpp.
References c, cercle1, cercle2, vpCylinder::changeFrame(), vpPoint::changeFrame(), vpCircle::changeFrame(), vpCircle::computeIntersectionPoint(), vpMeterPixelConversion::convertLine(), vpImagePoint::get_i(), vpImagePoint::get_j(), vpCylinder::getRho1(), vpCylinder::getRho2(), vpCylinder::getTheta1(), vpCylinder::getTheta2(), isvisible, meline1, meline2, p1, p2, vpCircle::projection(), vpCylinder::projection(), vpPoint::projection(), and vpImagePoint::set_ij().
Referenced by vpMbEdgeTracker::initMovingEdge(), vpMbTracker::projectionErrorInitMovingEdge(), reinitMovingEdge(), and vpMbEdgeTracker::trackMovingEdge().
|
inline |
Return if the cylinder is used for tracking.
Definition at line 207 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::computeProjectionError(), vpMbTracker::computeProjectionErrorImpl(), vpMbEdgeTracker::getFeaturesForDisplayEdge(), vpMbEdgeTracker::getNbPoints(), vpMbEdgeTracker::initMbtTracking(), vpMbEdgeKltTracker::initMbtTracking(), vpMbEdgeTracker::initMovingEdge(), vpMbEdgeKltTracker::postTracking(), vpMbTracker::projectionErrorInitMovingEdge(), vpMbEdgeTracker::testTracking(), and vpMbEdgeTracker::trackMovingEdge().
|
inline |
Check if the cylinder is visible in the image or not.
Definition at line 214 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::computeProjectionError(), vpMbTracker::computeProjectionErrorImpl(), vpMbEdgeTracker::getFeaturesForDisplayEdge(), vpMbEdgeTracker::getNbPoints(), vpMbEdgeTracker::reinitMovingEdge(), vpMbEdgeTracker::testTracking(), vpMbEdgeTracker::trackMovingEdge(), and vpMbEdgeTracker::updateMovingEdge().
void vpMbtDistanceCylinder::reinitMovingEdge | ( | const vpImage< unsigned char > & | I, |
const vpHomogeneousMatrix & | cMo, | ||
const vpImage< bool > * | mask = NULL |
||
) |
Reinitialize the cylinder if it is required.
A line is reinitialized if the 2D lines do not match enough with the projected 3D lines.
I | : the image. |
cMo | : The pose of the camera. |
mask | Mask image or NULL if not wanted. Mask values that are set to true are considered in the tracking. To disable a pixel, set false. |
Definition at line 486 of file vpMbtDistanceCylinder.cpp.
References initMovingEdge(), meline1, meline2, and Reinit.
Referenced by vpMbEdgeTracker::reInitLevel(), and vpMbEdgeTracker::reinitMovingEdge().
|
inline |
Set the camera parameters.
camera | : The camera parameters. |
Definition at line 223 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::addCylinder(), vpMbTracker::addProjectionErrorCylinder(), and vpMbTracker::computeProjectionErrorImpl().
|
inline |
Set the index of the cylinder.
i | : The index number |
Definition at line 237 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::addCylinder(), and vpMbTracker::addProjectionErrorCylinder().
|
inline |
Set the mean weight of the first line.
wmean | : The mean weight of the first line. |
Definition at line 244 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeKltTracker::postTrackingMbt(), and vpMbEdgeTracker::updateMovingEdgeWeights().
|
inline |
Set the mean weight of the second line.
wmean | : The mean weight of the second line. |
Definition at line 251 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeKltTracker::postTrackingMbt(), and vpMbEdgeTracker::updateMovingEdgeWeights().
void vpMbtDistanceCylinder::setMovingEdge | ( | vpMe * | _me | ) |
Set the moving edge parameters.
_me | : an instance of vpMe containing all the desired parameters |
Definition at line 158 of file vpMbtDistanceCylinder.cpp.
References meline1, and meline2.
Referenced by vpMbEdgeTracker::addCylinder(), vpMbTracker::addProjectionErrorCylinder(), vpMbEdgeTracker::setMovingEdge(), and vpMbTracker::setProjectionErrorMovingEdge().
|
inline |
Set the name of the cylinder.
cyl_name | : The name of the cylinder |
Definition at line 267 of file vpMbtDistanceCylinder.h.
|
inline |
Set the name of the cylinder.
cyl_name | : The name of the cylinder. |
Definition at line 260 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::addCylinder(), and vpMbTracker::addProjectionErrorCylinder().
|
inline |
Set if the cylinder has to considered during tracking phase.
track | : True if the cylinder has to be tracked, False otherwise. |
Definition at line 230 of file vpMbtDistanceCylinder.h.
|
inline |
Set a boolean parameter to indicates if the cylinder is visible in the image or not.
_isvisible | : Set to true if the cylinder is visible |
Definition at line 275 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::initMovingEdge(), and vpMbTracker::projectionErrorInitMovingEdge().
void vpMbtDistanceCylinder::trackMovingEdge | ( | const vpImage< unsigned char > & | I, |
const vpHomogeneousMatrix & | cMo | ||
) |
Track the moving edges in the image.
I | : the image. |
cMo | : The pose of the camera. |
Definition at line 319 of file vpMbtDistanceCylinder.cpp.
References isvisible, meline1, meline2, nbFeature, nbFeaturel1, nbFeaturel2, and Reinit.
Referenced by vpMbEdgeTracker::trackMovingEdge().
void vpMbtDistanceCylinder::updateMovingEdge | ( | const vpImage< unsigned char > & | I, |
const vpHomogeneousMatrix & | cMo | ||
) |
Update the moving edges internal parameters.
I | : the image. |
cMo | : The pose of the camera. |
Definition at line 350 of file vpMbtDistanceCylinder.cpp.
References c, cercle1, cercle2, vpCylinder::changeFrame(), vpPoint::changeFrame(), vpCircle::changeFrame(), vpCircle::computeIntersectionPoint(), vpMeterPixelConversion::convertLine(), vpImagePoint::get_i(), vpImagePoint::get_j(), vpCylinder::getRho1(), vpCylinder::getRho2(), vpCylinder::getTheta1(), vpCylinder::getTheta2(), isvisible, meline1, meline2, nbFeature, nbFeaturel1, nbFeaturel2, p1, p2, vpCircle::projection(), vpCylinder::projection(), vpPoint::projection(), Reinit, and vpImagePoint::set_ij().
Referenced by vpMbEdgeTracker::updateMovingEdge().
vpCylinder* vpMbtDistanceCylinder::c |
The cylinder.
Definition at line 109 of file vpMbtDistanceCylinder.h.
Referenced by buildFrom(), computeInteractionMatrixError(), getModelForDisplay(), initMovingEdge(), updateMovingEdge(), and ~vpMbtDistanceCylinder().
vpCircle* vpMbtDistanceCylinder::cercle1 |
The upper circle limiting the cylinder.
Definition at line 84 of file vpMbtDistanceCylinder.h.
Referenced by buildFrom(), computeInteractionMatrixError(), getModelForDisplay(), initMovingEdge(), updateMovingEdge(), and ~vpMbtDistanceCylinder().
vpCircle* vpMbtDistanceCylinder::cercle2 |
The lower circle limiting the cylinder.
Definition at line 86 of file vpMbtDistanceCylinder.h.
Referenced by buildFrom(), computeInteractionMatrixError(), getModelForDisplay(), initMovingEdge(), updateMovingEdge(), and ~vpMbtDistanceCylinder().
vpColVector vpMbtDistanceCylinder::error |
The error vector.
Definition at line 99 of file vpMbtDistanceCylinder.h.
Referenced by computeInteractionMatrixError(), vpMbEdgeTracker::computeVVSFirstPhase(), vpMbEdgeTracker::computeVVSInteractionMatrixAndResidu(), initInteractionMatrixError(), and vpMbEdgeKltTracker::trackSecondLoop().
vpMbHiddenFaces<vpMbtPolygon>* vpMbtDistanceCylinder::hiddenface |
Pointer to the list of faces.
Definition at line 112 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::addCylinder(), vpMbTracker::addProjectionErrorCylinder(), vpMbEdgeTracker::initMovingEdge(), and vpMbTracker::projectionErrorInitMovingEdge().
int vpMbtDistanceCylinder::index_polygon |
Index of the face which contains the cylinder.
Definition at line 114 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::addCylinder(), vpMbTracker::addProjectionErrorCylinder(), vpMbEdgeTracker::initMovingEdge(), and vpMbTracker::projectionErrorInitMovingEdge().
bool vpMbtDistanceCylinder::isvisible |
Indicates if the cylinder is visible or not.
Definition at line 116 of file vpMbtDistanceCylinder.h.
Referenced by computeInteractionMatrixError(), getModelForDisplay(), initInteractionMatrixError(), initMovingEdge(), trackMovingEdge(), and updateMovingEdge().
vpMatrix vpMbtDistanceCylinder::L |
The interaction matrix.
Definition at line 97 of file vpMbtDistanceCylinder.h.
Referenced by computeInteractionMatrixError(), vpMbEdgeTracker::computeVVSFirstPhase(), vpMbEdgeTracker::computeVVSInteractionMatrixAndResidu(), initInteractionMatrixError(), and vpMbEdgeKltTracker::trackSecondLoop().
vpMbtMeLine* vpMbtDistanceCylinder::meline1 |
The moving edge containers (first line of the cylinder)
Definition at line 79 of file vpMbtDistanceCylinder.h.
Referenced by computeInteractionMatrixError(), vpMbEdgeTracker::computeProjectionError(), vpMbTracker::computeProjectionErrorImpl(), vpMbEdgeTracker::computeVVSFirstPhase(), vpMbEdgeTracker::computeVVSFirstPhaseFactor(), displayMovingEdges(), getFeaturesForDisplay(), vpMbEdgeTracker::getNbPoints(), initInteractionMatrixError(), vpMbEdgeTracker::initMovingEdge(), initMovingEdge(), vpMbEdgeKltTracker::postTrackingMbt(), vpMbTracker::projectionErrorInitMovingEdge(), reinitMovingEdge(), setMovingEdge(), vpMbEdgeTracker::testTracking(), vpMbEdgeKltTracker::trackFirstLoop(), vpMbEdgeTracker::trackMovingEdge(), trackMovingEdge(), updateMovingEdge(), vpMbEdgeTracker::updateMovingEdgeWeights(), and ~vpMbtDistanceCylinder().
vpMbtMeLine* vpMbtDistanceCylinder::meline2 |
The moving edge containers (second line of the cylinder)
Definition at line 81 of file vpMbtDistanceCylinder.h.
Referenced by computeInteractionMatrixError(), vpMbEdgeTracker::computeProjectionError(), vpMbTracker::computeProjectionErrorImpl(), vpMbEdgeTracker::computeVVSFirstPhase(), vpMbEdgeTracker::computeVVSFirstPhaseFactor(), displayMovingEdges(), getFeaturesForDisplay(), vpMbEdgeTracker::getNbPoints(), initInteractionMatrixError(), vpMbEdgeTracker::initMovingEdge(), initMovingEdge(), vpMbEdgeKltTracker::postTrackingMbt(), vpMbTracker::projectionErrorInitMovingEdge(), reinitMovingEdge(), setMovingEdge(), vpMbEdgeTracker::testTracking(), vpMbEdgeKltTracker::trackFirstLoop(), vpMbEdgeTracker::trackMovingEdge(), trackMovingEdge(), updateMovingEdge(), vpMbEdgeTracker::updateMovingEdgeWeights(), and ~vpMbtDistanceCylinder().
unsigned int vpMbtDistanceCylinder::nbFeature |
The number of moving edges.
Definition at line 101 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::computeVVSFirstPhase(), vpMbEdgeTracker::computeVVSFirstPhaseFactor(), vpMbEdgeTracker::computeVVSInteractionMatrixAndResidu(), initInteractionMatrixError(), vpMbEdgeTracker::initMbtTracking(), vpMbEdgeKltTracker::initMbtTracking(), vpMbEdgeTracker::initMovingEdge(), vpMbEdgeKltTracker::postTrackingMbt(), vpMbTracker::projectionErrorInitMovingEdge(), vpMbEdgeKltTracker::trackFirstLoop(), trackMovingEdge(), vpMbEdgeKltTracker::trackSecondLoop(), updateMovingEdge(), and vpMbEdgeTracker::updateMovingEdgeWeights().
unsigned int vpMbtDistanceCylinder::nbFeaturel1 |
The number of moving edges on line 1.
Definition at line 103 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::computeVVSFirstPhase(), initInteractionMatrixError(), vpMbEdgeTracker::initMovingEdge(), vpMbEdgeKltTracker::postTrackingMbt(), vpMbTracker::projectionErrorInitMovingEdge(), trackMovingEdge(), vpMbEdgeTracker::updateMovingEdge(), updateMovingEdge(), and vpMbEdgeTracker::updateMovingEdgeWeights().
unsigned int vpMbtDistanceCylinder::nbFeaturel2 |
The number of moving edges on line 2.
Definition at line 105 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::computeVVSFirstPhase(), initInteractionMatrixError(), vpMbEdgeTracker::initMovingEdge(), vpMbEdgeKltTracker::postTrackingMbt(), vpMbTracker::projectionErrorInitMovingEdge(), trackMovingEdge(), vpMbEdgeTracker::updateMovingEdge(), updateMovingEdge(), and vpMbEdgeTracker::updateMovingEdgeWeights().
vpPoint* vpMbtDistanceCylinder::p1 |
The first extremity on the axe.
Definition at line 92 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::addCylinder(), vpMbTracker::addProjectionErrorCylinder(), buildFrom(), getModelForDisplay(), initMovingEdge(), updateMovingEdge(), and ~vpMbtDistanceCylinder().
vpPoint* vpMbtDistanceCylinder::p2 |
The second extremity on the axe.
Definition at line 94 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::addCylinder(), vpMbTracker::addProjectionErrorCylinder(), buildFrom(), getModelForDisplay(), initMovingEdge(), updateMovingEdge(), and ~vpMbtDistanceCylinder().
double vpMbtDistanceCylinder::radius |
The radius of the cylinder.
Definition at line 89 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeTracker::addCylinder(), vpMbTracker::addProjectionErrorCylinder(), and buildFrom().
bool vpMbtDistanceCylinder::Reinit |
Indicates if the line has to be reinitialized.
Definition at line 107 of file vpMbtDistanceCylinder.h.
Referenced by vpMbEdgeKltTracker::postTrackingMbt(), vpMbEdgeTracker::reinitMovingEdge(), reinitMovingEdge(), trackMovingEdge(), vpMbEdgeTracker::updateMovingEdge(), updateMovingEdge(), and vpMbEdgeTracker::updateMovingEdgeWeights().