UsTK : Ultrasound ToolKit
version 2.0.1 under development (2025-01-22)
|
Functions | |
template<class NeedleInsertionModel > | |
bool | getJacobian (NeedleInsertionModel model, std::function< bool(NeedleInsertionModel &, const vpColVector &)> InputVectorMethod, std::function< vpColVector(const NeedleInsertionModel &)> OutputVectorMethod, std::function< vpColVector(const vpColVector &, const vpColVector &, const double step)> DifferenceMethod, vpMatrix &J, const vpColVector &discretizationStep, bool centeredDifference=true) |
template<class NeedleInsertionModel > | |
bool | getJacobianScalarToScalar (NeedleInsertionModel model, std::function< bool(NeedleInsertionModel &, double)> InputScalarMethod, std::function< double(const NeedleInsertionModel &)> OutputScalarMethod, vpMatrix &J, double discretizationStep=1e-5, bool centeredDifference=true) |
template<class NeedleInsertionModel > | |
bool | getJacobianScalarToVector (NeedleInsertionModel model, std::function< bool(NeedleInsertionModel &, double)> InputScalarMethod, std::function< vpColVector(const NeedleInsertionModel &)> OutputVectorMethod, vpMatrix &J, double discretizationStep=1e-5, bool centeredDifference=true) |
template<class NeedleInsertionModel > | |
bool | getJacobianVectorToScalar (NeedleInsertionModel model, std::function< bool(NeedleInsertionModel &, const vpColVector &)> InputVectorMethod, std::function< double(const NeedleInsertionModel &)> OutputScalarMethod, vpMatrix &J, const vpColVector &discretizationStep, bool centeredDifference=true) |
template<class NeedleInsertionModel > | |
bool | getJacobianVectorToVector (NeedleInsertionModel model, std::function< bool(NeedleInsertionModel &, const vpColVector &)> InputVectorMethod, std::function< vpColVector(const NeedleInsertionModel &)> OutputVectorMethod, vpMatrix &J, const vpColVector &discretizationStep, bool centeredDifference=true) |
template<class NeedleInsertionModel > | |
bool | getJacobianVectorToPose (NeedleInsertionModel model, std::function< bool(NeedleInsertionModel &, const vpColVector &)> InputVectorMethod, std::function< vpHomogeneousMatrix(const NeedleInsertionModel &)> OutputVectorMethod, vpMatrix &J, const vpColVector &discretizationStep, bool centeredDifference=true) |
template<class NeedleInsertionModel > | |
bool | getJacobianWorldBaseVelocityToWorldTipVelocity (const NeedleInsertionModel &model, vpMatrix &J) |
template<class NeedleInsertionModel > | |
bool | getJacobianBaseVelocityToWorldTipVelocity (const NeedleInsertionModel &model, vpMatrix &J) |
template<class NeedleInsertionModel > | |
bool | getJacobianWorldBaseVelocityToTipVelocity (const NeedleInsertionModel &model, vpMatrix &J) |
template<class NeedleInsertionModel > | |
bool | getJacobianBaseVelocityToTipVelocity (const NeedleInsertionModel &model, vpMatrix &J) |
template<class NeedleInsertionModel > | |
bool | getJacobianBaseVelocityToBendingEnergy (const NeedleInsertionModel &model, vpMatrix &J) |
template<class NeedleInsertionModel > | |
bool | getJacobianWorldBaseVelocityToBendingEnergy (const NeedleInsertionModel &model, vpMatrix &J) |
template<class NeedleInsertionModel > | |
bool | getJacobianBaseVelocityToTissueEnergy (const NeedleInsertionModel &model, vpMatrix &J) |
template<class NeedleInsertionModel > | |
bool | getJacobianWorldBaseVelocityToTissueEnergy (const NeedleInsertionModel &model, vpMatrix &J) |
template<class NeedleInsertionModel > | |
bool | getJacobianBaseVelocityToNeedleInsertionPointVelocity (const NeedleInsertionModel &model, vpMatrix &J) |
template<class NeedleInsertionModel > | |
bool | getJacobianBaseVelocityToSurfaceTissueStretch (const NeedleInsertionModel &model, vpMatrix &J) |
template<class NeedleInsertionModel > | |
bool | getJacobianBaseVelocityToMaxTissueStretch (const NeedleInsertionModel &model, vpMatrix &J) |
template<class NeedleInsertionModel > | |
bool | getJacobianBaseVelocityToMeanTissueStretch (const NeedleInsertionModel &model, vpMatrix &J) |
template<class NeedleInsertionModel > | |
bool | getJacobianBaseVelocityToPointVelocity (const NeedleInsertionModel &model, vpMatrix &J, double l) |
template<class NeedleInsertionModel > | |
bool | getJacobianWorldBaseVelocityToPointVelocity (const NeedleInsertionModel &model, vpMatrix &J, double l) |
template<class NeedleInsertionModel > | |
bool | getJacobianBaseVelocityToTransversalTargetDistance (const NeedleInsertionModel &model, vpMatrix &J, const vpColVector &target) |
template<class NeedleInsertionModel > | |
bool | getJacobianBaseVelocityToTargetAngle (const NeedleInsertionModel &model, vpMatrix &J, const vpColVector &target) |
template<class NeedleInsertionModel > | |
bool | getJacobianSpringVelocityToPointVelocity (const NeedleInsertionModel &model, vpMatrix &J, int spring, double l) |
template<class NeedleInsertionModel > | |
bool | getJacobianSpringVelocityToPointsDistance (const NeedleInsertionModel &model, vpMatrix &J, int spring, const std::vector< vpColVector > &points) |
template<class NeedleInsertionModel > | |
bool | getJacobianRestPathPointVelocityToPointsVelocity (const NeedleInsertionModel &model, vpMatrix &J, int restPoint, const std::vector< double > &l) |
template<class NeedleInsertionModel > | |
bool | getJacobianRestPathPointVelocityToPointsDistance (const NeedleInsertionModel &model, vpMatrix &J, int restPoint, const std::vector< vpColVector > &points) |
template<class NeedleInsertionModel > | |
bool | getJacobianStiffnessPerUnitLengthToPointsDistance (const NeedleInsertionModel &model, vpMatrix &J, const std::vector< vpColVector > &points) |
template<class NeedleInsertionModel > | |
bool | getJacobianStiffnessPerUnitLengthToPointsVelocity (const NeedleInsertionModel &model, vpMatrix &J, const std::vector< double > &l) |
template<class NeedleInsertionModel > | |
bool | getJacobianBaseVelocityToBaseForceTorque (const NeedleInsertionModel &model, vpMatrix &J) |
template<class NeedleInsertionModel > | |
bool | getJacobianBaseVelocityToInsertionLength (const NeedleInsertionModel &model, vpMatrix &J) |
template<class NeedleInsertionModel > | |
bool | getJacobianStiffnessPerUnitLengthToPointsVelocity (const NeedleInsertionModel &model, vpMatrix &J, int i, const std::vector< double > &l) |
bool usNeedleJacobians::getJacobian | ( | NeedleInsertionModel | model, |
std::function< bool(NeedleInsertionModel &, const vpColVector &)> | InputVectorMethod, | ||
std::function< vpColVector(const NeedleInsertionModel &)> | OutputVectorMethod, | ||
std::function< vpColVector(const vpColVector &, const vpColVector &, const double step)> | DifferenceMethod, | ||
vpMatrix & | J, | ||
const vpColVector & | discretizationStep, | ||
bool | centeredDifference | ||
) |
Generic Jacobians.
Generic Jacobian computation.
Implementation
!
Definition at line 163 of file usNeedleJacobians.h.
Referenced by getJacobianScalarToScalar(), getJacobianScalarToVector(), getJacobianVectorToPose(), getJacobianVectorToScalar(), and getJacobianVectorToVector().
bool usNeedleJacobians::getJacobianBaseVelocityToBaseForceTorque | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J | ||
) |
Definition at line 465 of file usNeedleJacobians.h.
References getJacobianVectorToVector().
bool usNeedleJacobians::getJacobianBaseVelocityToBendingEnergy | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J | ||
) |
Base to bending energy (1x6)
Definition at line 398 of file usNeedleJacobians.h.
References getJacobianVectorToScalar().
bool usNeedleJacobians::getJacobianBaseVelocityToInsertionLength | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J | ||
) |
Definition at line 485 of file usNeedleJacobians.h.
References getJacobianVectorToScalar().
bool usNeedleJacobians::getJacobianBaseVelocityToMaxTissueStretch | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J | ||
) |
Definition at line 515 of file usNeedleJacobians.h.
References getJacobianVectorToScalar().
bool usNeedleJacobians::getJacobianBaseVelocityToMeanTissueStretch | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J | ||
) |
Definition at line 528 of file usNeedleJacobians.h.
References getJacobianVectorToScalar().
bool usNeedleJacobians::getJacobianBaseVelocityToNeedleInsertionPointVelocity | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J | ||
) |
Definition at line 452 of file usNeedleJacobians.h.
References getJacobianVectorToVector().
Referenced by getJacobianBaseVelocityToSurfaceTissueStretch().
bool usNeedleJacobians::getJacobianBaseVelocityToPointVelocity | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J, | ||
double | l | ||
) |
Base to needle point (3x6)
Base to model point (3x6)
Definition at line 543 of file usNeedleJacobians.h.
References getJacobianVectorToVector().
bool usNeedleJacobians::getJacobianBaseVelocityToSurfaceTissueStretch | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J | ||
) |
Definition at line 498 of file usNeedleJacobians.h.
References getJacobianBaseVelocityToNeedleInsertionPointVelocity().
bool usNeedleJacobians::getJacobianBaseVelocityToTargetAngle | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J, | ||
const vpColVector & | target | ||
) |
Definition at line 590 of file usNeedleJacobians.h.
References getJacobianVectorToScalar().
bool usNeedleJacobians::getJacobianBaseVelocityToTipVelocity | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J | ||
) |
Definition at line 321 of file usNeedleJacobians.h.
References getJacobianVectorToPose().
Referenced by getJacobianBaseVelocityToWorldTipVelocity().
bool usNeedleJacobians::getJacobianBaseVelocityToTissueEnergy | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J | ||
) |
Base to tissue deformation energy (1x6)
Definition at line 426 of file usNeedleJacobians.h.
References getJacobianVectorToScalar().
bool usNeedleJacobians::getJacobianBaseVelocityToTransversalTargetDistance | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J, | ||
const vpColVector & | target | ||
) |
Base to features (1x6)
Definition at line 571 of file usNeedleJacobians.h.
References getJacobianVectorToScalar().
bool usNeedleJacobians::getJacobianBaseVelocityToWorldTipVelocity | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J | ||
) |
Definition at line 368 of file usNeedleJacobians.h.
References getJacobianBaseVelocityToTipVelocity().
bool usNeedleJacobians::getJacobianRestPathPointVelocityToPointsDistance | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J, | ||
int | restPoint, | ||
const std::vector< vpColVector > & | points | ||
) |
Rest path points distance from points (nbPointsx3)
Definition at line 679 of file usNeedleJacobians.h.
References getJacobianVectorToVector().
bool usNeedleJacobians::getJacobianRestPathPointVelocityToPointsVelocity | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J, | ||
int | restPoint, | ||
const std::vector< double > & | l | ||
) |
Rest path points to model point (3x3)
Definition at line 642 of file usNeedleJacobians.h.
References getJacobianVectorToVector().
bool usNeedleJacobians::getJacobianScalarToScalar | ( | NeedleInsertionModel | model, |
std::function< bool(NeedleInsertionModel &, double)> | InputScalarMethod, | ||
std::function< double(const NeedleInsertionModel &)> | OutputScalarMethod, | ||
vpMatrix & | J, | ||
double | discretizationStep = 1e-5 , |
||
bool | centeredDifference = true |
||
) |
Definition at line 206 of file usNeedleJacobians.h.
References getJacobian().
bool usNeedleJacobians::getJacobianScalarToVector | ( | NeedleInsertionModel | model, |
std::function< bool(NeedleInsertionModel &, double)> | InputScalarMethod, | ||
std::function< vpColVector(const NeedleInsertionModel &)> | OutputVectorMethod, | ||
vpMatrix & | J, | ||
double | discretizationStep = 1e-5 , |
||
bool | centeredDifference = true |
||
) |
Definition at line 230 of file usNeedleJacobians.h.
References getJacobian().
Referenced by getJacobianStiffnessPerUnitLengthToPointsDistance(), and getJacobianStiffnessPerUnitLengthToPointsVelocity().
bool usNeedleJacobians::getJacobianSpringVelocityToPointsDistance | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J, | ||
int | spring, | ||
const std::vector< vpColVector > & | points | ||
) |
Springs to distance from points (nbPointsx6)
Springs to distance from points (nbPointsx3)
Definition at line 622 of file usNeedleJacobians.h.
References getJacobianVectorToVector().
bool usNeedleJacobians::getJacobianSpringVelocityToPointVelocity | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J, | ||
int | spring, | ||
double | l | ||
) |
Springs to needle point (3x6)
Springs to model point (3x3)
Definition at line 611 of file usNeedleJacobians.h.
References getJacobianVectorToVector().
bool usNeedleJacobians::getJacobianStiffnessPerUnitLengthToPointsDistance | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J, | ||
const std::vector< vpColVector > & | points | ||
) |
Stiffness per unit length to distance from points (nbPointsx1)
Definition at line 715 of file usNeedleJacobians.h.
References getJacobianScalarToVector().
bool usNeedleJacobians::getJacobianStiffnessPerUnitLengthToPointsVelocity | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J, | ||
const std::vector< double > & | l | ||
) |
Stiffness per unit length to needle point ( (3*nbPoints)x1 matrix)
Stiffness per unit length to model point ( (3*nbPoints)x1 matrix)
Definition at line 735 of file usNeedleJacobians.h.
References getJacobianScalarToVector().
bool usNeedleJacobians::getJacobianStiffnessPerUnitLengthToPointsVelocity | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J, | ||
int | i, | ||
const std::vector< double > & | l | ||
) |
Stiffness per unit length to model point (multilayer) ( (3*nbPoints) x 1 matrix)
Definition at line 759 of file usNeedleJacobians.h.
References getJacobianScalarToVector().
bool usNeedleJacobians::getJacobianVectorToPose | ( | NeedleInsertionModel | model, |
std::function< bool(NeedleInsertionModel &, const vpColVector &)> | InputVectorMethod, | ||
std::function< vpHomogeneousMatrix(const NeedleInsertionModel &)> | OutputVectorMethod, | ||
vpMatrix & | J, | ||
const vpColVector & | discretizationStep, | ||
bool | centeredDifference = true |
||
) |
Definition at line 280 of file usNeedleJacobians.h.
References getJacobian().
Referenced by getJacobianBaseVelocityToTipVelocity(), and getJacobianWorldBaseVelocityToTipVelocity().
bool usNeedleJacobians::getJacobianVectorToScalar | ( | NeedleInsertionModel | model, |
std::function< bool(NeedleInsertionModel &, const vpColVector &)> | InputVectorMethod, | ||
std::function< double(const NeedleInsertionModel &)> | OutputScalarMethod, | ||
vpMatrix & | J, | ||
const vpColVector & | discretizationStep, | ||
bool | centeredDifference = true |
||
) |
Definition at line 249 of file usNeedleJacobians.h.
References getJacobian().
Referenced by getJacobianBaseVelocityToBendingEnergy(), getJacobianBaseVelocityToInsertionLength(), getJacobianBaseVelocityToMaxTissueStretch(), getJacobianBaseVelocityToMeanTissueStretch(), getJacobianBaseVelocityToTargetAngle(), getJacobianBaseVelocityToTissueEnergy(), getJacobianBaseVelocityToTransversalTargetDistance(), getJacobianWorldBaseVelocityToBendingEnergy(), and getJacobianWorldBaseVelocityToTissueEnergy().
bool usNeedleJacobians::getJacobianVectorToVector | ( | NeedleInsertionModel | model, |
std::function< bool(NeedleInsertionModel &, const vpColVector &)> | InputVectorMethod, | ||
std::function< vpColVector(const NeedleInsertionModel &)> | OutputVectorMethod, | ||
vpMatrix & | J, | ||
const vpColVector & | discretizationStep, | ||
bool | centeredDifference = true |
||
) |
Definition at line 267 of file usNeedleJacobians.h.
References getJacobian().
Referenced by getJacobianBaseVelocityToBaseForceTorque(), getJacobianBaseVelocityToNeedleInsertionPointVelocity(), getJacobianBaseVelocityToPointVelocity(), getJacobianRestPathPointVelocityToPointsDistance(), getJacobianRestPathPointVelocityToPointsVelocity(), getJacobianSpringVelocityToPointsDistance(), getJacobianSpringVelocityToPointVelocity(), and getJacobianWorldBaseVelocityToPointVelocity().
bool usNeedleJacobians::getJacobianWorldBaseVelocityToBendingEnergy | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J | ||
) |
Definition at line 411 of file usNeedleJacobians.h.
References getJacobianVectorToScalar().
bool usNeedleJacobians::getJacobianWorldBaseVelocityToPointVelocity | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J, | ||
double | l | ||
) |
Definition at line 556 of file usNeedleJacobians.h.
References getJacobianVectorToVector().
bool usNeedleJacobians::getJacobianWorldBaseVelocityToTipVelocity | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J | ||
) |
Base to tip.
Definition at line 302 of file usNeedleJacobians.h.
References getJacobianVectorToPose().
Referenced by getJacobianWorldBaseVelocityToWorldTipVelocity().
bool usNeedleJacobians::getJacobianWorldBaseVelocityToTissueEnergy | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J | ||
) |
Definition at line 439 of file usNeedleJacobians.h.
References getJacobianVectorToScalar().
bool usNeedleJacobians::getJacobianWorldBaseVelocityToWorldTipVelocity | ( | const NeedleInsertionModel & | model, |
vpMatrix & | J | ||
) |
Base to tip (manipulation Jacobian) (6x6)
Definition at line 340 of file usNeedleJacobians.h.
References getJacobianWorldBaseVelocityToTipVelocity().