UsTK : Ultrasound ToolKit
version 2.0.1 under development (2024-11-21)
|
#include <visp3/ustk_needle_modeling/usNeedleModelBaseTip.h>
Public Member Functions | |
usNeedleModelBaseTip () | |
usNeedleModelBaseTip (const usNeedleModelBaseTip &needle) | |
virtual | ~usNeedleModelBaseTip () |
virtual usNeedleModelBaseTip & | operator= (const usNeedleModelBaseTip &needle) |
virtual usNeedleModelBaseTip * | clone () const |
vpPoseVector | getBasePose () const |
vpHomogeneousMatrix | getWorldMbase () const |
vpColVector | getBasePosition () const |
vpColVector | getBaseDirection () const |
vpPoseVector | getTipPose () const |
vpHomogeneousMatrix | getWorldMtip () const |
vpColVector | getTipPosition () const |
vpColVector | getTipDirection () const |
void | setBasePose (double tx, double ty, double tz, double thetax, double thetay, double thetaz) |
void | setBasePose (const vpPoseVector &pose) |
void | setBasePose (const vpHomogeneousMatrix &Hpose) |
void | setTipPose (double tx, double ty, double tz, double thetax, double thetay, double thetaz) |
void | setTipPose (const vpPoseVector &pose) |
void | setTipPose (const vpHomogeneousMatrix &Hpose) |
void | moveBase (const vpColVector &control, double time) |
void | moveBase (double tx, double ty, double tz, double thetax, double thetay, double thetaz) |
void | moveBase (const vpPoseVector &pose) |
void | moveBase (const vpColVector &v) |
void | moveBase (const vpHomogeneousMatrix &Hmotion) |
void | moveBaseWorldFrame (const vpColVector &command, double time) |
void | moveBaseWorldFrame (double tx, double ty, double tz, double thetax, double thetay, double thetaz) |
void | moveBaseWorldFrame (const vpPoseVector &pose) |
void | moveBaseWorldFrame (const vpColVector &v) |
void | moveBaseWorldFrame (const vpHomogeneousMatrix &Hmotion) |
void | moveTip (const vpColVector &control, double time) |
void | moveTip (double tx, double ty, double tz, double thetax, double thetay, double thetaz) |
void | moveTip (const vpPoseVector &pose) |
void | moveTip (const vpColVector &v) |
void | moveTip (const vpHomogeneousMatrix &Hmotion) |
void | moveTipWorldFrame (const vpColVector &command, double time) |
void | moveTipWorldFrame (double tx, double ty, double tz, double thetax, double thetay, double thetaz) |
void | moveTipWorldFrame (const vpPoseVector &pose) |
void | moveTipWorldFrame (const vpColVector &v) |
void | moveTipWorldFrame (const vpHomogeneousMatrix &Hmotion) |
Protected Attributes | |
vpPoseVector | m_basePose |
vpHomogeneousMatrix | m_worldMbase |
vpPoseVector | m_tipPose |
vpHomogeneousMatrix | m_worldMtip |
Friends | |
VISP_EXPORT std::ostream & | operator<< (std::ostream &s, const usNeedleModelBaseTip &needle) |
VISP_EXPORT std::istream & | operator>> (std::istream &s, usNeedleModelBaseTip &needle) |
VISP_EXPORT std::ostream & | operator<<= (std::ostream &s, const usNeedleModelBaseTip &needle) |
VISP_EXPORT std::istream & | operator>>= (std::istream &s, usNeedleModelBaseTip &needle) |
Definition at line 42 of file usNeedleModelBaseTip.h.
usNeedleModelBaseTip::usNeedleModelBaseTip | ( | ) |
Constructors, destructors.
Definition at line 38 of file usNeedleModelBaseTip.cpp.
Referenced by clone().
usNeedleModelBaseTip::usNeedleModelBaseTip | ( | const usNeedleModelBaseTip & | needle | ) |
Definition at line 40 of file usNeedleModelBaseTip.cpp.
|
virtual |
Definition at line 45 of file usNeedleModelBaseTip.cpp.
|
virtual |
Reimplemented in usNeedleModelSpline, and usNeedleModelPolynomial.
Definition at line 57 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip().
vpColVector usNeedleModelBaseTip::getBaseDirection | ( | ) | const |
Definition at line 65 of file usNeedleModelBaseTip.cpp.
References m_worldMbase.
vpPoseVector usNeedleModelBaseTip::getBasePose | ( | ) | const |
Parameters setters and getters.
Definition at line 59 of file usNeedleModelBaseTip.cpp.
References m_basePose.
Referenced by usNeedleInsertionModelKinematic::getBasePose(), usNeedleInsertionModelRayleighRitzSpline::getBasePose(), usNeedleInsertionModelVirtualSprings::getBasePose(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersDense(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigen(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigenFixedLength(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersOpenCV(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersSparseEigen(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersSparseEigen(), and usNeedleInsertionModelVirtualSprings::solveSegmentsParametersViSP().
vpColVector usNeedleModelBaseTip::getBasePosition | ( | ) | const |
Definition at line 63 of file usNeedleModelBaseTip.cpp.
References m_basePose.
Referenced by usNeedleInsertionModelRayleighRitzSpline::cutPathToPoint().
vpColVector usNeedleModelBaseTip::getTipDirection | ( | ) | const |
Definition at line 81 of file usNeedleModelBaseTip.cpp.
References m_worldMtip.
Referenced by usTissueTranslationEstimatorUKF::computeMeasureFromSigmaPoint(), and usNeedleInsertionModelRayleighRitzSpline::cutPathToPoint().
vpPoseVector usNeedleModelBaseTip::getTipPose | ( | ) | const |
Definition at line 76 of file usNeedleModelBaseTip.cpp.
References m_tipPose.
Referenced by usNeedleInsertionModelVirtualSprings::addInsertionPointOnSegmentHard(), usNeedleInsertionModelRayleighRitzSpline::setSurfaceAtTip(), and usNeedleInsertionModelVirtualSprings::setSurfaceAtTip().
vpColVector usNeedleModelBaseTip::getTipPosition | ( | ) | const |
Definition at line 79 of file usNeedleModelBaseTip.cpp.
References m_tipPose.
Referenced by usTissueTranslationEstimatorUKF::computeMeasureFromSigmaPoint(), usNeedleInsertionModelRayleighRitzSpline::IsNeedleInserted(), and usNeedleInsertionModelVirtualSprings::IsNeedleInserted().
vpHomogeneousMatrix usNeedleModelBaseTip::getWorldMbase | ( | ) | const |
Definition at line 61 of file usNeedleModelBaseTip.cpp.
References m_worldMbase.
Referenced by usNeedleModelingDisplayTools::displayBase(), usNeedleInsertionModelKinematic::setBasePose(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersDense(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigen(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigenFixedLength(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersOpenCV(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersSparseEigen(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersSparseEigen(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersViSP(), and usNeedleInsertionModelRayleighRitzSpline::updateTipPose().
vpHomogeneousMatrix usNeedleModelBaseTip::getWorldMtip | ( | ) | const |
Definition at line 77 of file usNeedleModelBaseTip.cpp.
References m_worldMtip.
Referenced by usNeedleModelingDisplayTools::displayTip(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersOpenCV(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersSparseEigen(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersViSP(), and usNeedleInsertionModelVirtualSprings::updateCutAngle().
void usNeedleModelBaseTip::moveBase | ( | const vpColVector & | control, |
double | time | ||
) |
Definition at line 138 of file usNeedleModelBaseTip.cpp.
Referenced by moveBase(), and moveBaseWorldFrame().
void usNeedleModelBaseTip::moveBase | ( | const vpColVector & | v | ) |
Definition at line 168 of file usNeedleModelBaseTip.cpp.
References moveBase().
void usNeedleModelBaseTip::moveBase | ( | const vpHomogeneousMatrix & | Hmotion | ) |
Definition at line 178 of file usNeedleModelBaseTip.cpp.
References m_worldMbase, and setBasePose().
void usNeedleModelBaseTip::moveBase | ( | const vpPoseVector & | pose | ) |
Definition at line 161 of file usNeedleModelBaseTip.cpp.
References moveBase().
void usNeedleModelBaseTip::moveBase | ( | double | tx, |
double | ty, | ||
double | tz, | ||
double | thetax, | ||
double | thetay, | ||
double | thetaz | ||
) |
Definition at line 154 of file usNeedleModelBaseTip.cpp.
References moveBase().
void usNeedleModelBaseTip::moveBaseWorldFrame | ( | const vpColVector & | command, |
double | time | ||
) |
Definition at line 186 of file usNeedleModelBaseTip.cpp.
Referenced by moveBaseWorldFrame().
void usNeedleModelBaseTip::moveBaseWorldFrame | ( | const vpColVector & | v | ) |
Definition at line 217 of file usNeedleModelBaseTip.cpp.
References moveBaseWorldFrame().
void usNeedleModelBaseTip::moveBaseWorldFrame | ( | const vpHomogeneousMatrix & | Hmotion | ) |
Definition at line 228 of file usNeedleModelBaseTip.cpp.
References m_worldMbase, and moveBase().
void usNeedleModelBaseTip::moveBaseWorldFrame | ( | const vpPoseVector & | pose | ) |
Definition at line 210 of file usNeedleModelBaseTip.cpp.
References moveBaseWorldFrame().
void usNeedleModelBaseTip::moveBaseWorldFrame | ( | double | tx, |
double | ty, | ||
double | tz, | ||
double | thetax, | ||
double | thetay, | ||
double | thetaz | ||
) |
Definition at line 202 of file usNeedleModelBaseTip.cpp.
References moveBaseWorldFrame().
void usNeedleModelBaseTip::moveTip | ( | const vpColVector & | control, |
double | time | ||
) |
Definition at line 245 of file usNeedleModelBaseTip.cpp.
Referenced by moveTip(), moveTipWorldFrame(), and usNeedleInsertionModelKinematic::setBasePose().
void usNeedleModelBaseTip::moveTip | ( | const vpColVector & | v | ) |
Definition at line 275 of file usNeedleModelBaseTip.cpp.
References moveTip().
void usNeedleModelBaseTip::moveTip | ( | const vpHomogeneousMatrix & | Hmotion | ) |
Definition at line 285 of file usNeedleModelBaseTip.cpp.
References m_worldMtip, and setTipPose().
void usNeedleModelBaseTip::moveTip | ( | const vpPoseVector & | pose | ) |
Definition at line 268 of file usNeedleModelBaseTip.cpp.
References moveTip().
void usNeedleModelBaseTip::moveTip | ( | double | tx, |
double | ty, | ||
double | tz, | ||
double | thetax, | ||
double | thetay, | ||
double | thetaz | ||
) |
Definition at line 261 of file usNeedleModelBaseTip.cpp.
References moveTip().
void usNeedleModelBaseTip::moveTipWorldFrame | ( | const vpColVector & | command, |
double | time | ||
) |
Definition at line 293 of file usNeedleModelBaseTip.cpp.
Referenced by moveTipWorldFrame().
void usNeedleModelBaseTip::moveTipWorldFrame | ( | const vpColVector & | v | ) |
Definition at line 323 of file usNeedleModelBaseTip.cpp.
References moveTipWorldFrame().
void usNeedleModelBaseTip::moveTipWorldFrame | ( | const vpHomogeneousMatrix & | Hmotion | ) |
Definition at line 334 of file usNeedleModelBaseTip.cpp.
References m_worldMtip, and moveTip().
void usNeedleModelBaseTip::moveTipWorldFrame | ( | const vpPoseVector & | pose | ) |
Definition at line 316 of file usNeedleModelBaseTip.cpp.
References moveTipWorldFrame().
void usNeedleModelBaseTip::moveTipWorldFrame | ( | double | tx, |
double | ty, | ||
double | tz, | ||
double | thetax, | ||
double | thetay, | ||
double | thetaz | ||
) |
Definition at line 308 of file usNeedleModelBaseTip.cpp.
References moveTipWorldFrame().
|
virtual |
Definition at line 47 of file usNeedleModelBaseTip.cpp.
References m_basePose, m_tipPose, m_worldMbase, and m_worldMtip.
Referenced by usNeedleModelPolynomial::operator=(), and usNeedleModelSpline::operator=().
void usNeedleModelBaseTip::setBasePose | ( | const vpHomogeneousMatrix & | Hpose | ) |
Definition at line 109 of file usNeedleModelBaseTip.cpp.
References m_basePose, and m_worldMbase.
void usNeedleModelBaseTip::setBasePose | ( | const vpPoseVector & | pose | ) |
Definition at line 103 of file usNeedleModelBaseTip.cpp.
References m_basePose, and m_worldMbase.
void usNeedleModelBaseTip::setBasePose | ( | double | tx, |
double | ty, | ||
double | tz, | ||
double | thetax, | ||
double | thetay, | ||
double | thetaz | ||
) |
Command of the needle.
Definition at line 92 of file usNeedleModelBaseTip.cpp.
References m_basePose, and m_worldMbase.
Referenced by moveBase(), usNeedleInsertionModelRayleighRitzSpline::setBasePose(), usNeedleInsertionModelVirtualSprings::setBasePose(), and usNeedleInsertionModelKinematic::setBasePose().
void usNeedleModelBaseTip::setTipPose | ( | const vpHomogeneousMatrix & | Hpose | ) |
Definition at line 132 of file usNeedleModelBaseTip.cpp.
References m_tipPose, and m_worldMtip.
void usNeedleModelBaseTip::setTipPose | ( | const vpPoseVector & | pose | ) |
Definition at line 126 of file usNeedleModelBaseTip.cpp.
References m_tipPose, and m_worldMtip.
void usNeedleModelBaseTip::setTipPose | ( | double | tx, |
double | ty, | ||
double | tz, | ||
double | thetax, | ||
double | thetay, | ||
double | thetaz | ||
) |
Definition at line 115 of file usNeedleModelBaseTip.cpp.
References m_tipPose, and m_worldMtip.
Referenced by moveTip(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersOpenCV(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersSparseEigen(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersViSP(), and usNeedleInsertionModelRayleighRitzSpline::updateTipPose().
|
friend |
|
friend |
Binary.
Definition at line 396 of file usNeedleModelBaseTip.cpp.
|
friend |
Definition at line 375 of file usNeedleModelBaseTip.cpp.
|
friend |
Definition at line 414 of file usNeedleModelBaseTip.cpp.
|
protected |
Definition at line 45 of file usNeedleModelBaseTip.h.
Referenced by getBasePose(), getBasePosition(), operator=(), and setBasePose().
|
protected |
Definition at line 48 of file usNeedleModelBaseTip.h.
Referenced by getTipPose(), getTipPosition(), operator=(), and setTipPose().
|
protected |
Definition at line 46 of file usNeedleModelBaseTip.h.
Referenced by getBaseDirection(), getWorldMbase(), moveBase(), moveBaseWorldFrame(), operator=(), and setBasePose().
|
protected |
Definition at line 49 of file usNeedleModelBaseTip.h.
Referenced by getTipDirection(), getWorldMtip(), moveTip(), moveTipWorldFrame(), operator=(), and setTipPose().