UsTK : Ultrasound ToolKit
version 2.0.1 under development (2024-11-21)
|
#include <visp3/ustk_needle_modeling/usNeedleModelPolynomial.h>
Public Types | |
enum class | NeedlePreset : int { BiopsyNeedle , BiopsyCannula , AbayazidRRM13 , MisraRSRO10_PlastisolA , RoesthuisAM12 , SteelSoftTissue } |
Public Member Functions | |
usNeedleModelPolynomial () | |
usNeedleModelPolynomial (const usNeedleModelPolynomial &needle) | |
virtual | ~usNeedleModelPolynomial () |
const usNeedleModelPolynomial & | operator= (const usNeedleModelPolynomial &needle) |
virtual usNeedleModelPolynomial * | clone () const |
void | loadPreset (const NeedlePreset preset) |
void | setOuterDiameter (double diameter) |
double | getOuterDiameter () const |
void | setInsideDiameter (double diameter) |
double | getInsideDiameter () const |
void | setNeedleYoungModulus (double E) |
double | getNeedleYoungModulus () const |
double | getEI () const |
void | init () |
vpColVector | getNeedlePoint (double l) const |
vpColVector | getNeedleDirection (double l) const |
double | getDistanceFromPoint (const vpColVector &P, double start=0, double stop=-1, double threshold=1e-5) const |
double | getBendingEnergy () const |
vpColVector | getBaseStaticTorsor () const |
double | getCurvatureFromNeedleShape (double start, double end, vpColVector ¢er3D, vpColVector &direction3D) 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) |
void | setOrder (unsigned int order) |
unsigned int | getOrder () const |
void | setStartParameter (double startParameter) |
double | getStartParameter () const |
void | setEndParameter (double endParameter) |
double | getEndParameter () const |
void | setBoundaries (double startParameter, double endParamter) |
void | setParametricLength (double length) |
double | getParametricLength () const |
void | setLength (double length, double precision=1e-4) |
double | getLength (int nbCountSeg=50) const |
void | setPolynomialCoefficients (const vpMatrix &polynomialCoefficients) |
vpMatrix | getPolynomialCoefficients () const |
vpColVector | getPoint (double parameter) const |
vpMatrix | getPoints (const vpColVector ¶meters) const |
vpColVector | getStartPoint () const |
vpColVector | getEndPoint () const |
vpColVector | getTangent (double parameter) const |
vpColVector | getStartTangent () const |
vpColVector | getEndTangent () const |
vpColVector | getDerivative (double parameter, unsigned int order) const |
void | defineFromPoints (const std::vector< vpColVector > &points, const std::vector< double > ¶m, unsigned int order=0) |
void | defineFromPoints (const vpMatrix points, const vpColVector ¶m, unsigned int order=0) |
void | defineFromPointsAuto (const std::vector< vpColVector > &points, unsigned int order=0) |
void | defineFromPointsAuto (const vpMatrix &points, unsigned int order=0) |
void | defineFromPointsAuto (const std::vector< vpColVector > &points, const vpColVector &direction, unsigned int order=0) |
void | defineFromPointsAuto (const vpMatrix &points, const vpColVector &direction, unsigned int order=0) |
void | defineFromWeightedPoints (const std::vector< vpColVector > &points, const std::vector< double > ¶m, const std::vector< double > &weights, unsigned int order=0) |
void | defineFromWeightedPoints (const vpMatrix &points, const vpColVector ¶m, const vpColVector &weights, unsigned int order=0) |
void | defineFromWeightedPointsAuto (const std::vector< vpColVector > &points, const std::vector< double > &weights, unsigned int order=0) |
void | defineFromWeightedPointsAuto (const vpMatrix &points, const vpColVector &weights, unsigned int order=0) |
void | defineFromWeightedPointsAuto (const std::vector< vpColVector > &points, const std::vector< double > &weights, const vpColVector &direction, unsigned int order=0) |
void | defineFromWeightedPointsAuto (const vpMatrix &points, const vpColVector &weights, const vpColVector &direction, unsigned int order=0) |
double | getCurvature (double param) const |
double | getCurvatureFromShape (double start, double end, vpColVector ¢er3D, vpColVector &direction3D) const |
double | getMeanAxisDeviation (int nbCountSeg=50) const |
void | setControlPoints (const vpMatrix &controlPoints) |
void | setControlPoints (double **controlPoints) |
vpMatrix | getControlPoints () const |
vpMatrix | getRenderingPoints () const |
usPolynomialCurve3D | getSubPolynomialCurve (double startParameter, double endParameter) const |
usPolynomialCurve3D | getNewOrderPolynomialCurve (unsigned int order) const |
void | changeCoefficientsToFitBoundaries (double startParameter, double endParameter) |
void | reverse () |
void | changeCoefficientsToFitMetricLength () |
void | move (const vpHomogeneousMatrix &H) |
void | move (double x, double y, double z, double tx, double ty, double tz) |
void | scale (double s) |
Static Public Member Functions | |
static double | curveDistance (const usPolynomialCurve3D &n1, const usPolynomialCurve3D &n2) |
Protected Attributes | |
double | m_outerDiameter |
double | m_insideDiameter |
double | m_needleYoungModulus |
vpPoseVector | m_basePose |
vpHomogeneousMatrix | m_worldMbase |
vpPoseVector | m_tipPose |
vpHomogeneousMatrix | m_worldMtip |
unsigned int | m_order |
double | m_startParameter |
double | m_endParameter |
vpMatrix | m_polynomialCoefficients |
Friends | |
VISP_EXPORT std::ostream & | operator<< (std::ostream &s, const usNeedleModelPolynomial &needle) |
VISP_EXPORT std::istream & | operator>> (std::istream &s, usNeedleModelPolynomial &needle) |
VISP_EXPORT std::ostream & | operator<<= (std::ostream &s, const usNeedleModelPolynomial &needle) |
VISP_EXPORT std::istream & | operator>>= (std::istream &s, usNeedleModelPolynomial &needle) |
Definition at line 43 of file usNeedleModelPolynomial.h.
|
strong |
Enumerator | |
---|---|
BiopsyNeedle | |
BiopsyCannula | |
AbayazidRRM13 | |
MisraRSRO10_PlastisolA | |
RoesthuisAM12 | |
SteelSoftTissue |
Definition at line 46 of file usNeedleModelPolynomial.h.
usNeedleModelPolynomial::usNeedleModelPolynomial | ( | ) |
Constructors, destructor.
Definition at line 42 of file usNeedleModelPolynomial.cpp.
References init().
usNeedleModelPolynomial::usNeedleModelPolynomial | ( | const usNeedleModelPolynomial & | needle | ) |
Definition at line 50 of file usNeedleModelPolynomial.cpp.
|
virtual |
Definition at line 58 of file usNeedleModelPolynomial.cpp.
|
inherited |
Modify the polynomial coefficients such that the parametric variable now goes from two different boundaries, without changing the shape of the curve in space.
Definition at line 1185 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_endParameter, usPolynomialCurve3D::m_order, usPolynomialCurve3D::m_polynomialCoefficients, and usPolynomialCurve3D::m_startParameter.
Referenced by usNeedleInsertionModelVirtualSprings::addInsertionPointOnSegmentHard(), usPolynomialCurve3D::changeCoefficientsToFitMetricLength(), usNeedleInsertionModelRayleighRitzSpline::fitLength(), usBSpline3D::getSubSpline(), usPolynomialCurve3D::reverse(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersDense(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigen(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigenFixedLength(), and usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersSparseEigen().
|
inherited |
Modify the polynomial coefficients such that the metric length of the curve corresponds to the parametric length.
Definition at line 1229 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::changeCoefficientsToFitBoundaries(), usPolynomialCurve3D::getLength(), usPolynomialCurve3D::m_endParameter, usPolynomialCurve3D::m_startParameter, and usPolynomialCurve3D::setBoundaries().
|
inlinevirtual |
Reimplemented from usNeedleModelBaseTip.
Definition at line 70 of file usNeedleModelPolynomial.h.
|
staticinherited |
Compute the distance between two curves. (to remove)
Definition at line 1143 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::getOrder(), and usPolynomialCurve3D::getPolynomialCoefficients().
|
inherited |
Define the polynomial curve to fit as best as possible a set of control points at given parametric values.
points | The desired control points. |
param | The desired parametric values. |
order | The order of the resulting polynomial curve (keep the current order of the curve if given value is <1 (default)) |
Definition at line 278 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_order, usPolynomialCurve3D::setBoundaries(), and usPolynomialCurve3D::setPolynomialCoefficients().
Referenced by usGeometryTools::convertBSplineToPolynomial(), usPolynomialCurve3D::defineFromPointsAuto(), and usNeedleModelingDisplayTools::displayNeedle().
|
inherited |
Define the polynomial curve to fit as best as possible a set of control points at given parametric values.
points | The desired control points. |
param | The desired parametric values. |
order | The order of the resulting polynomial curve (keep the current order of the curve if given value is <1 (default)) |
Definition at line 337 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_order, usPolynomialCurve3D::setBoundaries(), and usPolynomialCurve3D::setPolynomialCoefficients().
|
inherited |
Define the polynomial curve to fit as best as possible a set of weighted control points at given parametric values. Parametric values for the different points are automatically computed according to their position along a given straight direction.
points | The desired control points. |
direction | The direction used to compute the parametric values associated to each point. |
order | The order of the resulting polynomial curve (keep the current order of the curve if given value is <1 (default)) |
Definition at line 452 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::defineFromPoints(), usPolynomialCurve3D::getParametricLength(), usPolynomialCurve3D::m_order, and usPolynomialCurve3D::m_startParameter.
|
inherited |
Define the polynomial curve to fit as best as possible a set of control points. Parametric values for the different points are automatically computed.
points | The desired control points. |
order | The order of the resulting polynomial curve (keep the current order of the curve if given value is <1 (default)) |
Definition at line 395 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_order.
Referenced by usPolynomialCurve3D::defineFromPointsAuto(), and usPolynomialCurve3D::setControlPoints().
|
inherited |
Define the polynomial curve to fit as best as possible a set of control points at given parametric values. Parametric values for the different points are automatically computed according to their position along a given straight direction.
points | The desired control points. |
direction | The direction used to compute the parametric values associated to each point. |
order | The order of the resulting polynomial curve (keep the current order of the curve if given value is <1 (default)) |
Definition at line 502 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::defineFromPoints(), usPolynomialCurve3D::getParametricLength(), usPolynomialCurve3D::m_order, and usPolynomialCurve3D::m_startParameter.
|
inherited |
Define the polynomial curve to fit as best as possible a set of control points. Parametric values for the different points are automatically computed.
points | The desired control points. |
order | The order of the resulting polynomial curve (keep the current order of the curve if given value is <1 (default)) |
Definition at line 424 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::defineFromPointsAuto(), and usPolynomialCurve3D::m_order.
|
inherited |
Define the polynomial curve to fit as best as possible a set of weighted control points at given parametric values.
points | The desired control points. |
param | The desired parametric values. |
weights | Set of weights describing the importance of fitting each point with the curve. |
order | The order of the resulting polynomial curve (keep the current order of the curve if given value is <1 (default)) |
Definition at line 553 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_order, usPolynomialCurve3D::setBoundaries(), and usPolynomialCurve3D::setPolynomialCoefficients().
Referenced by usPolynomialCurve3D::defineFromWeightedPointsAuto().
|
inherited |
Define the polynomial curve to fit as best as possible a set of weighted control points at given parametric values.
points | The desired control points. |
param | The desired parametric values. |
weights | Set of weights describing the importance of fitting each point with the curve. |
order | The order of the resulting polynomial curve (keep the current order of the curve if given value is <1 (default)) |
Definition at line 617 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_order, usPolynomialCurve3D::setBoundaries(), and usPolynomialCurve3D::setPolynomialCoefficients().
|
inherited |
Define the polynomial curve to fit as best as possible a set of control points at given parametric values. Parametric values for the different points are automatically computed according to their position along a given straight direction.
points | The desired control points. |
weights | Set of weights describing the importance of fitting each point with the curve. |
direction | The direction used to compute the parametric values associated to each point. |
order | The order of the resulting polynomial curve (keep the current order of the curve if given value is <1 (default)) |
Definition at line 826 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::defineFromWeightedPoints(), usPolynomialCurve3D::getParametricLength(), usPolynomialCurve3D::m_order, and usPolynomialCurve3D::m_startParameter.
|
inherited |
Define the polynomial curve to fit as best as possible a set of control points at given parametric values. Parametric values for the different points are automatically computed.
points | The desired control points. |
weights | Set of weights describing the importance of fitting each point with the curve. |
order | The order of the resulting polynomial curve (keep the current order of the curve if given value is <1 (default)) |
Definition at line 678 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::defineFromWeightedPoints(), usPolynomialCurve3D::getParametricLength(), usPolynomialCurve3D::m_order, and usPolynomialCurve3D::m_startParameter.
|
inherited |
Define the polynomial curve to fit as best as possible a set of control points at given parametric values. Parametric values for the different points are automatically computed according to their position along a given straight direction.
points | The desired control points. |
weights | Set of weights describing the importance of fitting each point with the curve. |
direction | The direction used to compute the parametric values associated to each point. |
order | The order of the resulting polynomial curve (keep the current order of the curve if given value is <1 (default)) |
Definition at line 886 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::defineFromWeightedPoints(), usPolynomialCurve3D::getParametricLength(), usPolynomialCurve3D::m_order, and usPolynomialCurve3D::m_startParameter.
|
inherited |
Define the polynomial curve to fit as best as possible a set of control points at given parametric values. Parametric values for the different points are automatically computed.
points | The desired control points. |
weights | Set of weights describing the importance of fitting each point with the curve. |
order | The order of the resulting polynomial curve (keep the current order of the curve if given value is <1 (default)) |
Definition at line 751 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::defineFromWeightedPoints(), usPolynomialCurve3D::getParametricLength(), usPolynomialCurve3D::m_order, and usPolynomialCurve3D::m_startParameter.
|
inherited |
Definition at line 65 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_worldMbase.
|
inherited |
Parameters setters and getters.
Definition at line 59 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::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().
|
inherited |
Definition at line 63 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_basePose.
Referenced by usNeedleInsertionModelRayleighRitzSpline::cutPathToPoint().
vpColVector usNeedleModelPolynomial::getBaseStaticTorsor | ( | ) | const |
Force at base.
Definition at line 238 of file usNeedleModelPolynomial.cpp.
References usPolynomialCurve3D::getDerivative(), getEI(), and usPolynomialCurve3D::getStartTangent().
Referenced by usNeedleModelingDisplayTools::displayBaseStaticTorsor().
double usNeedleModelPolynomial::getBendingEnergy | ( | ) | const |
Needle bending.
Definition at line 211 of file usNeedleModelPolynomial.cpp.
References getEI(), usPolynomialCurve3D::m_endParameter, usPolynomialCurve3D::m_order, usPolynomialCurve3D::m_polynomialCoefficients, and usPolynomialCurve3D::m_startParameter.
|
inherited |
Get the control points. (to remove)
Definition at line 1117 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::getParametricLength(), usPolynomialCurve3D::getPoints(), usPolynomialCurve3D::getStartPoint(), usPolynomialCurve3D::m_order, and usPolynomialCurve3D::m_startParameter.
|
inherited |
Get the curvature of the curve at a specific point.
param | Parametric value where the curvature should be computed. |
Definition at line 945 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::getDerivative().
double usNeedleModelPolynomial::getCurvatureFromNeedleShape | ( | double | start, |
double | end, | ||
vpColVector & | center3D, | ||
vpColVector & | direction3D | ||
) | const |
Curvature.
Definition at line 261 of file usNeedleModelPolynomial.cpp.
References usPolynomialCurve3D::getParametricLength(), usPolynomialCurve3D::m_endParameter, and usPolynomialCurve3D::m_startParameter.
|
inherited |
Get the approximate curvature of a portion of the curve
start | Starting parametric value of the portion of the curve. |
end | Ending parametric value of the portion of the curve. |
center3D | Center of the circle fitting the portion of the curve. |
direction3D | Normal of the circle fitting the portion of the curve. |
Definition at line 956 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::getParametricLength(), and usPolynomialCurve3D::getPoints().
Referenced by usGeometryDisplayTools::displayCurvatureFromShape().
|
inherited |
Get the derivative of the polynmial curve at a given parametric value.
Definition at line 257 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_order, and usPolynomialCurve3D::m_polynomialCoefficients.
Referenced by getBaseStaticTorsor(), usNeedleModelSpline::getBaseStaticTorsor(), usNeedleModelSpline::getBendingEnergy(), and usPolynomialCurve3D::getCurvature().
double usNeedleModelPolynomial::getDistanceFromPoint | ( | const vpColVector & | P, |
double | start = 0 , |
||
double | stop = -1 , |
||
double | threshold = 1e-5 |
||
) | const |
Definition at line 172 of file usNeedleModelPolynomial.cpp.
References getNeedlePoint(), and usPolynomialCurve3D::m_endParameter.
double usNeedleModelPolynomial::getEI | ( | ) | const |
Definition at line 143 of file usNeedleModelPolynomial.cpp.
References m_insideDiameter, m_needleYoungModulus, and m_outerDiameter.
Referenced by getBaseStaticTorsor(), and getBendingEnergy().
|
inherited |
Get the ending value of the parametric variable of the polynomial curve.
Definition at line 144 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_endParameter.
Referenced by usGeometryDisplayTools::display(), usNeedleModelSpline::getBendingEnergy(), usGeometryTools::getPlaneCurveCrossingPoint(), and usGeometryTools::projectPointOnCurve().
|
inherited |
Get the ending extremity of the polynomial curve.
Definition at line 239 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::getPoint(), and usPolynomialCurve3D::m_endParameter.
Referenced by usNeedleInsertionModelVirtualSprings::addInsertionPoint(), usNeedleInsertionModelVirtualSprings::addInsertionPointOnSegmentHard(), usNeedleInsertionModelRayleighRitzSpline::cutPathToPoint(), usGeometryDisplayTools::displayExtremities(), usNeedleModelingDisplayTools::displayNeedle(), usGeometryTools::DoesSegmentCrossPlane(), usGeometryTools::DoesSegmentCrossPlaneDirect(), usNeedleInsertionModelVirtualSprings::getMaxTissueStretch(), usNeedleInsertionModelVirtualSprings::getMeanTissueStretch(), usNeedleInsertionModelRayleighRitzSpline::getNeedleFreeLength(), usNeedleInsertionModelVirtualSprings::getNeedleInsertionPoint(), usNeedleInsertionModelVirtualSprings::getTissueDeformationEnergy(), usGeometryTools::projectPointOnCurve(), usNeedleInsertionModelVirtualSprings::setSurfaceAtTip(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersOpenCV(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersSparseEigen(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersViSP(), usNeedleInsertionModelRayleighRitzSpline::updatePath(), usNeedleInsertionModelRayleighRitzSpline::updateState(), and usNeedleInsertionModelRayleighRitzSpline::updateTipPose().
|
inherited |
Get the tangent vector at the starting extremity of the polynomial curve.
Definition at line 255 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::getTangent(), and usPolynomialCurve3D::m_endParameter.
Referenced by usNeedleInsertionModelVirtualSprings::addInsertionPointOnSegmentHard(), usNeedleModelingDisplayTools::displayNeedle(), usNeedleInsertionModelVirtualSprings::setSurfaceAtTip(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersOpenCV(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersSparseEigen(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersViSP(), usNeedleInsertionModelVirtualSprings::updateInsertionDirections(), usNeedleInsertionModelRayleighRitzSpline::updatePath(), usNeedleInsertionModelRayleighRitzSpline::updateState(), and usNeedleInsertionModelRayleighRitzSpline::updateTipPose().
double usNeedleModelPolynomial::getInsideDiameter | ( | ) | const |
Definition at line 133 of file usNeedleModelPolynomial.cpp.
References m_insideDiameter.
|
inherited |
Get the curve length in metric space.
Definition at line 186 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::getParametricLength(), usPolynomialCurve3D::getPoints(), and usPolynomialCurve3D::m_startParameter.
Referenced by usPolynomialCurve3D::changeCoefficientsToFitMetricLength(), usNeedleInsertionModelVirtualSprings::computeSegmentsLengths(), usNeedleInsertionModelRayleighRitzSpline::fitLength(), usPolynomialCurve3D::setLength(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersDense(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigen(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigenFixedLength(), and usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersSparseEigen().
|
inherited |
Get the mean deviation of the polynomial with respect to the straight axis between the two extremities.
nbCountSeg | number of segments used to approximate the deviation. |
Definition at line 1072 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::getParametricLength(), usPolynomialCurve3D::getPoints(), and usPolynomialCurve3D::m_startParameter.
vpColVector usNeedleModelPolynomial::getNeedleDirection | ( | double | l | ) | const |
Definition at line 164 of file usNeedleModelPolynomial.cpp.
References usPolynomialCurve3D::getTangent(), and usPolynomialCurve3D::m_endParameter.
vpColVector usNeedleModelPolynomial::getNeedlePoint | ( | double | l | ) | const |
Measure model information.
Needle position
Definition at line 156 of file usNeedleModelPolynomial.cpp.
References usPolynomialCurve3D::getPoint(), and usPolynomialCurve3D::m_endParameter.
Referenced by getDistanceFromPoint().
double usNeedleModelPolynomial::getNeedleYoungModulus | ( | ) | const |
Definition at line 141 of file usNeedleModelPolynomial.cpp.
References m_needleYoungModulus.
|
inherited |
Get new curve with new polynomial order.
Definition at line 1176 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::setOrder().
|
inherited |
Get the order of the polynomial curve.
Definition at line 136 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_order.
Referenced by usPolynomialCurve3D::curveDistance(), usNeedleModelingDisplayTools::displayNeedle(), usNeedleModelSpline::getBendingEnergy(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersDense(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigen(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigenFixedLength(), and usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersSparseEigen().
double usNeedleModelPolynomial::getOuterDiameter | ( | ) | const |
Definition at line 125 of file usNeedleModelPolynomial.cpp.
References m_outerDiameter.
Referenced by usNeedleModelingDisplayTools::displayNeedle().
|
inherited |
Get the length of the curve in the parametric variable space.
Definition at line 160 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_endParameter, and usPolynomialCurve3D::m_startParameter.
Referenced by usNeedleInsertionModelVirtualSprings::addInsertionPoint(), usNeedleInsertionModelVirtualSprings::addInsertionPointAtTip(), usNeedleInsertionModelVirtualSprings::addInsertionPointAtTipHard(), usNeedleInsertionModelVirtualSprings::addInsertionPointOnSegment(), usNeedleInsertionModelVirtualSprings::addInsertionPointOnSegmentHard(), usNeedleInsertionModelVirtualSprings::addRemoveSprings(), usBSpline3D::addSegment(), usGeometryTools::convertPolynomialToBSpline(), usPolynomialCurve3D::defineFromPointsAuto(), usPolynomialCurve3D::defineFromWeightedPointsAuto(), usNeedleModelingDisplayTools::displayNeedle(), usNeedleModelingDisplayTools::displayTissueLayers(), usNeedleInsertionModelVirtualSprings::fusionSprings(), usPolynomialCurve3D::getControlPoints(), usNeedleInsertionModelRayleighRitzSpline::getCorrespondingPathPoint(), getCurvatureFromNeedleShape(), usPolynomialCurve3D::getCurvatureFromShape(), usNeedleInsertionModelVirtualSprings::getInsertionDepth(), usPolynomialCurve3D::getLength(), usNeedleInsertionModelRayleighRitzSpline::getMaxTissueStretch(), usNeedleInsertionModelVirtualSprings::getMaxTissueStretch(), usPolynomialCurve3D::getMeanAxisDeviation(), usNeedleInsertionModelRayleighRitzSpline::getMeanTissueStretch(), usNeedleInsertionModelVirtualSprings::getMeanTissueStretch(), usNeedleInsertionModelVirtualSprings::getNeedleFreeLength(), usNeedleInsertionModelRayleighRitzSpline::getNeedleFreeLength(), usGeometryTools::getPlaneCurveCrossingPoint(), usPolynomialCurve3D::getRenderingPoints(), usBSpline3D::getSubSpline(), usNeedleInsertionModelRayleighRitzSpline::getTissueDeformationEnergy(), usNeedleInsertionModelVirtualSprings::removeInsertionPoints(), usNeedleInsertionModelVirtualSprings::removeInsertionPointsHard(), usPolynomialCurve3D::setLength(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersDense(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigen(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigenFixedLength(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersOpenCV(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersSparseEigen(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersSparseEigen(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersViSP(), usNeedleInsertionModelRayleighRitzSpline::updatePath(), usNeedleInsertionModelVirtualSprings::updateSpringsStiffness(), and usNeedleInsertionModelVirtualSprings::updateState().
|
inherited |
Get the polynomial curve point at a given parametric value.
Definition at line 217 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_order, and usPolynomialCurve3D::m_polynomialCoefficients.
Referenced by usNeedleInsertionModelVirtualSprings::addInsertionPoint(), usTissueTranslationEstimatorUKF::computeMeasureFromSigmaPoint(), usGeometryTools::convertPolynomialToBSpline(), usNeedleModelingDisplayTools::displayInteraction(), usNeedleModelingDisplayTools::displayNeedle(), usPolynomialCurve3D::getEndPoint(), usNeedleInsertionModelRayleighRitzSpline::getMaxTissueStretch(), usNeedleInsertionModelRayleighRitzSpline::getMeanTissueStretch(), getNeedlePoint(), usGeometryTools::getNormalPlane(), usGeometryTools::getPlaneCurveCrossingPoint(), usTissueModelPolynomial::getPose(), usPolynomialCurve3D::getStartPoint(), usNeedleInsertionModelRayleighRitzSpline::getTissueDeformationEnergy(), and usGeometryTools::projectPointOnCurve().
|
inherited |
Get the polynomial curve points at given parametric values.
Definition at line 226 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_order, and usPolynomialCurve3D::m_polynomialCoefficients.
Referenced by usGeometryDisplayTools::display(), usPolynomialCurve3D::getControlPoints(), usPolynomialCurve3D::getCurvatureFromShape(), usPolynomialCurve3D::getLength(), usPolynomialCurve3D::getMeanAxisDeviation(), and usPolynomialCurve3D::getRenderingPoints().
|
inherited |
Get the polynomial coefficients.
Definition at line 215 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_polynomialCoefficients.
Referenced by usPolynomialCurve3D::curveDistance(), usNeedleModelSpline::getBendingEnergy(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersDense(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigen(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigenFixedLength(), and usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersSparseEigen().
|
inherited |
Get the rendering points. (to remove)
Definition at line 1131 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::getParametricLength(), usPolynomialCurve3D::getPoints(), usPolynomialCurve3D::m_order, and usPolynomialCurve3D::m_startParameter.
|
inherited |
Get the starting value of the parametric variable of the polynomial curve.
Definition at line 140 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_startParameter.
Referenced by usGeometryDisplayTools::display(), usNeedleModelSpline::getBendingEnergy(), usGeometryTools::getPlaneCurveCrossingPoint(), and usGeometryTools::projectPointOnCurve().
|
inherited |
Get the starting extremity of the polynomial curve.
Definition at line 237 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::getPoint(), and usPolynomialCurve3D::m_startParameter.
Referenced by usNeedleInsertionModelVirtualSprings::addInsertionPoint(), usNeedleInsertionModelVirtualSprings::addInsertionPointOnSegmentHard(), usNeedleModelingDisplayTools::displayBaseStaticTorsor(), usGeometryDisplayTools::displayExtremities(), usNeedleModelingDisplayTools::displayNeedle(), usGeometryTools::DoesSegmentCrossPlane(), usGeometryTools::DoesSegmentCrossPlaneDirect(), usPolynomialCurve3D::getControlPoints(), usNeedleInsertionModelRayleighRitzSpline::getNeedleFreeLength(), usGeometryTools::getPlaneCurveCrossingPoint(), and usGeometryTools::projectPointOnCurve().
|
inherited |
Get the tangent vector at the starting extremity of the polynomial curve.
Definition at line 253 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::getTangent(), and usPolynomialCurve3D::m_startParameter.
Referenced by usNeedleModelingDisplayTools::displayNeedle(), getBaseStaticTorsor(), usNeedleModelSpline::getBaseStaticTorsor(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersOpenCV(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersSparseEigen(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersViSP(), and usNeedleInsertionModelRayleighRitzSpline::updateTipPose().
|
inherited |
Get new curve starting at different parametric coefficients .
Definition at line 1167 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::setBoundaries().
Referenced by usNeedleInsertionModelVirtualSprings::addInsertionPointOnSegmentHard(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersDense(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigen(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigenFixedLength(), and usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersSparseEigen().
|
inherited |
Get the tangent vector at a given parametric value.
Definition at line 241 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_order, and usPolynomialCurve3D::m_polynomialCoefficients.
Referenced by usNeedleModelingDisplayTools::displayNeedle(), usPolynomialCurve3D::getEndTangent(), getNeedleDirection(), usGeometryTools::getNormalPlane(), and usPolynomialCurve3D::getStartTangent().
|
inherited |
Definition at line 81 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_worldMtip.
Referenced by usTissueTranslationEstimatorUKF::computeMeasureFromSigmaPoint(), and usNeedleInsertionModelRayleighRitzSpline::cutPathToPoint().
|
inherited |
Definition at line 76 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_tipPose.
Referenced by usNeedleInsertionModelVirtualSprings::addInsertionPointOnSegmentHard(), usNeedleInsertionModelRayleighRitzSpline::setSurfaceAtTip(), and usNeedleInsertionModelVirtualSprings::setSurfaceAtTip().
|
inherited |
Definition at line 79 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_tipPose.
Referenced by usTissueTranslationEstimatorUKF::computeMeasureFromSigmaPoint(), usNeedleInsertionModelRayleighRitzSpline::IsNeedleInserted(), and usNeedleInsertionModelVirtualSprings::IsNeedleInserted().
|
inherited |
Definition at line 61 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::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().
|
inherited |
Definition at line 77 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_worldMtip.
Referenced by usNeedleModelingDisplayTools::displayTip(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersOpenCV(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersSparseEigen(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersViSP(), and usNeedleInsertionModelVirtualSprings::updateCutAngle().
void usNeedleModelPolynomial::init | ( | ) |
Spline definition.
Definition at line 148 of file usNeedleModelPolynomial.cpp.
References usPolynomialCurve3D::setBoundaries(), and usPolynomialCurve3D::setPolynomialCoefficients().
Referenced by usNeedleModelPolynomial().
void usNeedleModelPolynomial::loadPreset | ( | const NeedlePreset | preset | ) |
Parameters saving and loading.
Definition at line 71 of file usNeedleModelPolynomial.cpp.
References AbayazidRRM13, BiopsyCannula, BiopsyNeedle, MisraRSRO10_PlastisolA, RoesthuisAM12, setInsideDiameter(), setNeedleYoungModulus(), setOuterDiameter(), usPolynomialCurve3D::setParametricLength(), and SteelSoftTissue.
|
inherited |
Apply an homogeneous transformation to the polynomial curve.
Definition at line 1236 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_polynomialCoefficients, and usPolynomialCurve3D::setPolynomialCoefficients().
Referenced by usTissueModelPolynomial::move(), usPolynomialCurve3D::move(), usTissueModelPolynomial::moveInWorldFrame(), and usTissueModelPolynomial::setPose().
|
inherited |
Apply an homogeneous transformation to the polynomial curve.
Definition at line 1246 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::move().
|
inherited |
Definition at line 138 of file usNeedleModelBaseTip.cpp.
Referenced by usNeedleModelBaseTip::moveBase(), and usNeedleModelBaseTip::moveBaseWorldFrame().
|
inherited |
Definition at line 168 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::moveBase().
|
inherited |
Definition at line 178 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_worldMbase, and usNeedleModelBaseTip::setBasePose().
|
inherited |
Definition at line 161 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::moveBase().
|
inherited |
Definition at line 154 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::moveBase().
|
inherited |
Definition at line 186 of file usNeedleModelBaseTip.cpp.
Referenced by usNeedleModelBaseTip::moveBaseWorldFrame().
|
inherited |
Definition at line 217 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::moveBaseWorldFrame().
|
inherited |
Definition at line 228 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_worldMbase, and usNeedleModelBaseTip::moveBase().
|
inherited |
Definition at line 210 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::moveBaseWorldFrame().
|
inherited |
Definition at line 202 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::moveBaseWorldFrame().
|
inherited |
Definition at line 245 of file usNeedleModelBaseTip.cpp.
Referenced by usNeedleModelBaseTip::moveTip(), usNeedleModelBaseTip::moveTipWorldFrame(), and usNeedleInsertionModelKinematic::setBasePose().
|
inherited |
Definition at line 275 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::moveTip().
|
inherited |
Definition at line 285 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_worldMtip, and usNeedleModelBaseTip::setTipPose().
|
inherited |
Definition at line 268 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::moveTip().
|
inherited |
Definition at line 261 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::moveTip().
|
inherited |
Definition at line 293 of file usNeedleModelBaseTip.cpp.
Referenced by usNeedleModelBaseTip::moveTipWorldFrame().
|
inherited |
Definition at line 323 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::moveTipWorldFrame().
|
inherited |
Definition at line 334 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_worldMtip, and usNeedleModelBaseTip::moveTip().
|
inherited |
Definition at line 316 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::moveTipWorldFrame().
|
inherited |
Definition at line 308 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::moveTipWorldFrame().
const usNeedleModelPolynomial & usNeedleModelPolynomial::operator= | ( | const usNeedleModelPolynomial & | needle | ) |
Definition at line 60 of file usNeedleModelPolynomial.cpp.
References m_insideDiameter, m_needleYoungModulus, m_outerDiameter, and usNeedleModelBaseTip::operator=().
|
inherited |
Invert the direction of displacement along the curve with respect to the parametric variable.
Definition at line 1227 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::changeCoefficientsToFitBoundaries(), usPolynomialCurve3D::m_endParameter, and usPolynomialCurve3D::m_startParameter.
Referenced by usPolynomialCurve3D::setBoundaries().
|
inherited |
Scale the polynomial curve.
Definition at line 1251 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_polynomialCoefficients.
|
inherited |
Definition at line 109 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_basePose, and usNeedleModelBaseTip::m_worldMbase.
|
inherited |
Definition at line 103 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_basePose, and usNeedleModelBaseTip::m_worldMbase.
|
inherited |
Command of the needle.
Definition at line 92 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_basePose, and usNeedleModelBaseTip::m_worldMbase.
Referenced by usNeedleModelBaseTip::moveBase(), usNeedleInsertionModelRayleighRitzSpline::setBasePose(), usNeedleInsertionModelVirtualSprings::setBasePose(), and usNeedleInsertionModelKinematic::setBasePose().
|
inherited |
Set the starting and ending values of the parametric variable of the polynomial curve. If the starting value is higher than the ending value, these values are inverted as well as the direction of displacement along the curve.
Definition at line 146 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_endParameter, usPolynomialCurve3D::m_startParameter, and usPolynomialCurve3D::reverse().
Referenced by usPolynomialCurve3D::changeCoefficientsToFitMetricLength(), usPolynomialCurve3D::defineFromPoints(), usPolynomialCurve3D::defineFromWeightedPoints(), usPolynomialCurve3D::getSubPolynomialCurve(), init(), and usNeedleModelSpline::init().
|
inherited |
Set the control points. The input matrix has to be of size 2xn, where n is the order of the polynomial curve.
controlPoints | Reference to the desired control points. |
Definition at line 1096 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::defineFromPointsAuto().
Referenced by usPolynomialCurve3D::setControlPoints().
|
inherited |
Set the control points.
Definition at line 1110 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_order, and usPolynomialCurve3D::setControlPoints().
|
inherited |
Set the ending value of the parametric variable of the polynomial curve.
Definition at line 142 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_endParameter.
void usNeedleModelPolynomial::setInsideDiameter | ( | double | diameter | ) |
Definition at line 127 of file usNeedleModelPolynomial.cpp.
References m_insideDiameter.
Referenced by loadPreset().
|
inherited |
Set the curve length in metric space.
Definition at line 162 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::getLength(), usPolynomialCurve3D::getParametricLength(), and usPolynomialCurve3D::m_endParameter.
void usNeedleModelPolynomial::setNeedleYoungModulus | ( | double | E | ) |
Definition at line 135 of file usNeedleModelPolynomial.cpp.
References m_needleYoungModulus.
Referenced by loadPreset().
|
inherited |
Change the order of the polynomial curve.
Definition at line 67 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_endParameter, usPolynomialCurve3D::m_order, usPolynomialCurve3D::m_polynomialCoefficients, and usPolynomialCurve3D::m_startParameter.
Referenced by usPolynomialCurve3D::getNewOrderPolynomialCurve().
void usNeedleModelPolynomial::setOuterDiameter | ( | double | diameter | ) |
Parameters setters and getters.
Needle parameters
Definition at line 119 of file usNeedleModelPolynomial.cpp.
References m_outerDiameter.
Referenced by loadPreset().
|
inherited |
Set the length of the curve in the parametric variable space.
Definition at line 158 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_endParameter, and usPolynomialCurve3D::m_startParameter.
Referenced by usNeedleInsertionModelVirtualSprings::addInsertionPointOnSegmentHard(), usNeedleInsertionModelVirtualSprings::addRemoveSprings(), usNeedleInsertionModelVirtualSprings::computeSegmentsLengths(), usNeedleInsertionModelRayleighRitzSpline::cutPathToPoint(), usBSpline3D::defineFromPoints(), usNeedleInsertionModelRayleighRitzSpline::fitLength(), loadPreset(), usNeedleInsertionModelVirtualSprings::removeInsertionPointsHard(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersDense(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigen(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigenFixedLength(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersSparseEigen(), and usNeedleInsertionModelRayleighRitzSpline::updatePath().
|
inherited |
Set the curve polynomial coefficients.
Definition at line 202 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_order, and usPolynomialCurve3D::m_polynomialCoefficients.
Referenced by usNeedleInsertionModelRayleighRitzSpline::cutPathToPoint(), usBSpline3D::defineFromPoints(), usPolynomialCurve3D::defineFromPoints(), usPolynomialCurve3D::defineFromWeightedPoints(), init(), usNeedleModelSpline::init(), usPolynomialCurve3D::move(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersDense(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigen(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersFullSparseEigenFixedLength(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersOpenCV(), usNeedleInsertionModelRayleighRitzSpline::solveSegmentsParametersSparseEigen(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersSparseEigen(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersViSP(), and usNeedleInsertionModelRayleighRitzSpline::updatePath().
|
inherited |
Set the starting value of the parametric variable of the polynomial curve.
Definition at line 138 of file usPolynomialCurve3D.cpp.
References usPolynomialCurve3D::m_startParameter.
|
inherited |
Definition at line 132 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_tipPose, and usNeedleModelBaseTip::m_worldMtip.
|
inherited |
Definition at line 126 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_tipPose, and usNeedleModelBaseTip::m_worldMtip.
|
inherited |
Definition at line 115 of file usNeedleModelBaseTip.cpp.
References usNeedleModelBaseTip::m_tipPose, and usNeedleModelBaseTip::m_worldMtip.
Referenced by usNeedleModelBaseTip::moveTip(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersOpenCV(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersSparseEigen(), usNeedleInsertionModelVirtualSprings::solveSegmentsParametersViSP(), and usNeedleInsertionModelRayleighRitzSpline::updateTipPose().
|
friend |
|
friend |
Binary.
Definition at line 395 of file usNeedleModelPolynomial.cpp.
|
friend |
Definition at line 378 of file usNeedleModelPolynomial.cpp.
|
friend |
Definition at line 408 of file usNeedleModelPolynomial.cpp.
|
protectedinherited |
Definition at line 45 of file usNeedleModelBaseTip.h.
Referenced by usNeedleModelBaseTip::getBasePose(), usNeedleModelBaseTip::getBasePosition(), usNeedleModelBaseTip::operator=(), and usNeedleModelBaseTip::setBasePose().
|
protectedinherited |
Definition at line 433 of file usPolynomialCurve3D.h.
Referenced by usPolynomialCurve3D::changeCoefficientsToFitBoundaries(), usPolynomialCurve3D::changeCoefficientsToFitMetricLength(), getBendingEnergy(), getCurvatureFromNeedleShape(), getDistanceFromPoint(), usPolynomialCurve3D::getEndParameter(), usPolynomialCurve3D::getEndPoint(), usPolynomialCurve3D::getEndTangent(), getNeedleDirection(), getNeedlePoint(), usPolynomialCurve3D::getParametricLength(), usPolynomialCurve3D::operator=(), usPolynomialCurve3D::reverse(), usPolynomialCurve3D::setBoundaries(), usPolynomialCurve3D::setEndParameter(), usPolynomialCurve3D::setLength(), usPolynomialCurve3D::setOrder(), and usPolynomialCurve3D::setParametricLength().
|
protected |
Definition at line 59 of file usNeedleModelPolynomial.h.
Referenced by getEI(), getInsideDiameter(), operator=(), and setInsideDiameter().
|
protected |
Definition at line 60 of file usNeedleModelPolynomial.h.
Referenced by getEI(), getNeedleYoungModulus(), operator=(), and setNeedleYoungModulus().
|
protectedinherited |
Definition at line 431 of file usPolynomialCurve3D.h.
Referenced by usPolynomialCurve3D::changeCoefficientsToFitBoundaries(), usPolynomialCurve3D::defineFromPoints(), usPolynomialCurve3D::defineFromPointsAuto(), usPolynomialCurve3D::defineFromWeightedPoints(), usPolynomialCurve3D::defineFromWeightedPointsAuto(), getBendingEnergy(), usPolynomialCurve3D::getControlPoints(), usPolynomialCurve3D::getDerivative(), usPolynomialCurve3D::getOrder(), usPolynomialCurve3D::getPoint(), usPolynomialCurve3D::getPoints(), usPolynomialCurve3D::getRenderingPoints(), usPolynomialCurve3D::getTangent(), usPolynomialCurve3D::operator=(), usPolynomialCurve3D::setControlPoints(), usPolynomialCurve3D::setOrder(), and usPolynomialCurve3D::setPolynomialCoefficients().
|
protected |
Needle parameters.
Definition at line 58 of file usNeedleModelPolynomial.h.
Referenced by getEI(), getOuterDiameter(), operator=(), and setOuterDiameter().
|
protectedinherited |
Definition at line 434 of file usPolynomialCurve3D.h.
Referenced by usPolynomialCurve3D::changeCoefficientsToFitBoundaries(), getBendingEnergy(), usPolynomialCurve3D::getDerivative(), usPolynomialCurve3D::getPoint(), usPolynomialCurve3D::getPoints(), usPolynomialCurve3D::getPolynomialCoefficients(), usPolynomialCurve3D::getTangent(), usPolynomialCurve3D::move(), usPolynomialCurve3D::operator=(), usPolynomialCurve3D::scale(), usPolynomialCurve3D::setOrder(), and usPolynomialCurve3D::setPolynomialCoefficients().
|
protectedinherited |
Definition at line 432 of file usPolynomialCurve3D.h.
Referenced by usPolynomialCurve3D::changeCoefficientsToFitBoundaries(), usPolynomialCurve3D::changeCoefficientsToFitMetricLength(), usPolynomialCurve3D::defineFromPointsAuto(), usPolynomialCurve3D::defineFromWeightedPointsAuto(), getBendingEnergy(), usPolynomialCurve3D::getControlPoints(), getCurvatureFromNeedleShape(), usPolynomialCurve3D::getLength(), usPolynomialCurve3D::getMeanAxisDeviation(), usPolynomialCurve3D::getParametricLength(), usPolynomialCurve3D::getRenderingPoints(), usPolynomialCurve3D::getStartParameter(), usPolynomialCurve3D::getStartPoint(), usPolynomialCurve3D::getStartTangent(), usPolynomialCurve3D::operator=(), usPolynomialCurve3D::reverse(), usPolynomialCurve3D::setBoundaries(), usPolynomialCurve3D::setOrder(), usPolynomialCurve3D::setParametricLength(), and usPolynomialCurve3D::setStartParameter().
|
protectedinherited |
Definition at line 48 of file usNeedleModelBaseTip.h.
Referenced by usNeedleModelBaseTip::getTipPose(), usNeedleModelBaseTip::getTipPosition(), usNeedleModelBaseTip::operator=(), and usNeedleModelBaseTip::setTipPose().
|
protectedinherited |
Definition at line 46 of file usNeedleModelBaseTip.h.
Referenced by usNeedleModelBaseTip::getBaseDirection(), usNeedleModelBaseTip::getWorldMbase(), usNeedleModelBaseTip::moveBase(), usNeedleModelBaseTip::moveBaseWorldFrame(), usNeedleModelBaseTip::operator=(), and usNeedleModelBaseTip::setBasePose().
|
protectedinherited |