UsTK : Ultrasound ToolKit  version 2.0.1 under development (2024-11-21)
usNeedleInsertionModelVirtualSprings Class Reference

#include <visp3/ustk_needle_modeling/usNeedleInsertionModelVirtualSprings.h>

+ Inheritance diagram for usNeedleInsertionModelVirtualSprings:

Public Types

enum class  InsertionType : int { ForceInsert , ForceRemove , NaturalBehavior }
 
enum class  ModelPreset : int {
  BiopsyNeedle , BiopsyCannula , AbayazidRRM13 , MisraRSRO10_PlastisolA ,
  RoesthuisAM12 , SteelSoftTissue , SRL_BiopsyNID , NDI_Pink_Stylet
}
 

Public Member Functions

 usNeedleInsertionModelVirtualSprings ()
 
 usNeedleInsertionModelVirtualSprings (const usNeedleInsertionModelVirtualSprings &needle)
 
virtual ~usNeedleInsertionModelVirtualSprings ()
 
const usNeedleInsertionModelVirtualSpringsoperator= (const usNeedleInsertionModelVirtualSprings &needle)
 
virtual usNeedleInsertionModelVirtualSpringsclone () const
 
void loadPreset (const ModelPreset preset)
 
void setTipForce (double tipForce)
 
double getTipForce ()
 
void setBevelAngle (double angle)
 
double getBevelAngle () const
 
void setDefaultSpringStiffness (double K)
 
double getDefaultSpringStiffness () const
 
void setStiffnessPerUnitLength (double K)
 
double getStiffnessPerUnitLength () const
 
int getNbSprings () const
 
int getNbMeasureSprings () const
 
const usNeedleModelSplineaccessNeedle () const
 
usNeedleModelSplineaccessNeedle ()
 
bool IsNeedleInserted () const
 
vpColVector getNeedleInsertionPoint () const
 
vpColVector getTissueInsertionPoint () const
 
double getNeedleFreeLength () const
 
double getInsertionDepth () const
 
const usOrientedPlane3DaccessSurface () const
 
usOrientedPlane3DaccessSurface ()
 
const usVirtualSpringaccessSpring (int i) const
 
void setInterSpringDistance (double interSpringDistance)
 
double getInterSpringDistance () const
 
void setInterTipSpringDistance (double interTipSpringDistance)
 
double getInterTipSpringDistance () const
 
void setNbMinTipSprings (int nb)
 
int getNbMinTipSprings () const
 
void setNbMaxTipSprings (int nb)
 
int getNbMaxTipSprings () const
 
void AllowSpringAddition (bool flag)
 
void AllowSpringRemoval (bool flag)
 
void setInsertionBehavior (InsertionType type)
 
InsertionType getInsertionBehavior () const
 
void setAutomaticSpringAddition (bool flag)
 
bool getAutomaticSpringAddition () const
 
double getPathDistanceFromPoint (const vpColVector &P) const
 
double getTissueDeformationEnergy () const
 
double getSurfaceTissueStretch () const
 
double getMaxTissueStretch (double *lmax=nullptr) const
 
double getMeanTissueStretch () const
 
bool setBasePose (const vpPoseVector &p)
 
vpPoseVector getBasePose () const
 
void addMeasureSpring (const vpColVector &p, const vpColVector &d)
 
bool setSpringPosition (int index, const vpColVector &P, bool update=false)
 
bool setSpringDirection (int index, const vpColVector &D, bool update=false)
 
void setSpringStiffness (int index, double K, bool update=false)
 
bool moveSpringPosition (int index, const vpColVector &dP, bool update=false)
 
bool moveSpringDirection (int index, const vpThetaUVector &thetaU, bool update=false)
 
void addSpringStiffness (int index, double dK, bool update=false)
 
void setSurfaceAtTip ()
 
int addInsertionPoint (usVirtualSpring spg)
 
int addInsertionPoint (const vpColVector &p, const vpColVector &d)
 
void addInsertionPointOnSegmentHard (int segment, double s)
 
void addInsertionPointAtTipHard ()
 
void addInsertionPointOnSegment (int segment, double s)
 
void addInsertionPointAtTip ()
 
void removeInsertionPointsHard (int first, int last=-1)
 
void removeLastInsertionPointHard ()
 
void removeInsertionPoints (int first, int last=-1)
 
void removeLastInsertionPoint ()
 
void removeAutoAddedSprings ()
 
void fusionSprings (int firstSpring, int lastSpring)
 
void updateSpringsStiffness ()
 
void updateCutAngle ()
 
void updateTipForce ()
 
void updateInsertionDirections ()
 
bool checkInactiveMeasureSprings ()
 
void solveSegmentsParametersSparseEigen ()
 
void solveSegmentsParametersOpenCV ()
 
void solveSegmentsParametersViSP ()
 
void solveSegmentsParameters ()
 
void computeSegmentsLengths ()
 
bool addRemoveSprings ()
 
bool updateState ()
 
void showInsertionPoints () const
 
void showInsertionDirections () const
 
void showStiffnesses () const
 
virtual bool setBasePose (const vpPoseVector &pose)=0
 
bool setBasePose (double tx, double ty, double tz, double thetax, double thetay, double thetaz)
 
bool setBasePose (const vpHomogeneousMatrix &Hpose)
 
bool setBasePose (double tx, double ty, double tz, double thetax, double thetay, double thetaz)
 
bool setBasePose (const vpHomogeneousMatrix &Hpose)
 
vpHomogeneousMatrix getWorldMbase () const
 
vpColVector getBasePosition () const
 
bool moveBase (const vpColVector &v, double time)
 
bool moveBase (double tx, double ty, double tz, double thetax, double thetay, double thetaz)
 
bool moveBase (const vpPoseVector &pose)
 
bool moveBase (const vpColVector &v)
 
bool moveBase (const vpHomogeneousMatrix &Hmotion)
 
bool moveBaseWorldFrame (const vpColVector &command, double time)
 
bool moveBaseWorldFrame (double tx, double ty, double tz, double thetax, double thetay, double thetaz)
 
bool moveBaseWorldFrame (const vpPoseVector &pose)
 
bool moveBaseWorldFrame (const vpColVector &v)
 
bool moveBaseWorldFrame (const vpHomogeneousMatrix &Hmotion)
 

Protected Attributes

usNeedleModelSpline m_needle
 
double m_tipForce
 
double m_tipMoment
 
double m_cutAngle
 
double m_bevelLength
 
double m_defaultSpringStiffness
 
double m_stiffnessPerUnitLength
 
std::vector< usVirtualSpringm_springs
 
std::vector< usVirtualSpringm_inactiveAutoAddedSprings
 
std::vector< usVirtualSpringm_inactiveMeasureSprings
 
usOrientedPlane3D m_tissueSurface
 
double m_interSpringDistance
 
double m_interTipSpringDistance
 
bool m_IsStateConsistent
 
bool m_LastSegmentLengthComputed
 
InsertionType m_insertionBehavior
 
bool m_IsInserting
 
bool m_AllowSpringAddition
 
bool m_AllowSpringRemoval
 
bool m_AutomaticSpringAddition
 
int m_tipSpringsIndex
 
int m_nbMinTipSprings
 
int m_nbMaxTipSprings
 

Friends

VISP_EXPORT std::ostream & operator<< (std::ostream &s, const usNeedleInsertionModelVirtualSprings &needle)
 
VISP_EXPORT std::istream & operator>> (std::istream &s, usNeedleInsertionModelVirtualSprings &needle)
 
VISP_EXPORT std::ostream & operator<<= (std::ostream &s, const usNeedleInsertionModelVirtualSprings &needle)
 
VISP_EXPORT std::istream & operator>>= (std::istream &s, usNeedleInsertionModelVirtualSprings &needle)
 

Detailed Description

Member Enumeration Documentation

◆ InsertionType

Enumerator
ForceInsert 
ForceRemove 
NaturalBehavior 

Definition at line 53 of file usNeedleInsertionModelVirtualSprings.h.

◆ ModelPreset

Enumerator
BiopsyNeedle 
BiopsyCannula 
AbayazidRRM13 
MisraRSRO10_PlastisolA 
RoesthuisAM12 
SteelSoftTissue 
SRL_BiopsyNID 
NDI_Pink_Stylet 

Definition at line 54 of file usNeedleInsertionModelVirtualSprings.h.

Constructor & Destructor Documentation

◆ usNeedleInsertionModelVirtualSprings() [1/2]

usNeedleInsertionModelVirtualSprings::usNeedleInsertionModelVirtualSprings ( )

Constructors, destructor.

Definition at line 58 of file usNeedleInsertionModelVirtualSprings.cpp.

References solveSegmentsParameters().

Referenced by clone().

◆ usNeedleInsertionModelVirtualSprings() [2/2]

usNeedleInsertionModelVirtualSprings::usNeedleInsertionModelVirtualSprings ( const usNeedleInsertionModelVirtualSprings needle)

Definition at line 82 of file usNeedleInsertionModelVirtualSprings.cpp.

◆ ~usNeedleInsertionModelVirtualSprings()

usNeedleInsertionModelVirtualSprings::~usNeedleInsertionModelVirtualSprings ( )
virtual

Definition at line 110 of file usNeedleInsertionModelVirtualSprings.cpp.

Member Function Documentation

◆ accessNeedle() [1/2]

usNeedleModelSpline & usNeedleInsertionModelVirtualSprings::accessNeedle ( )

Definition at line 298 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_needle.

◆ accessNeedle() [2/2]

const usNeedleModelSpline & usNeedleInsertionModelVirtualSprings::accessNeedle ( ) const

◆ accessSpring()

const usVirtualSpring & usNeedleInsertionModelVirtualSprings::accessSpring ( int  i) const

◆ accessSurface() [1/2]

usOrientedPlane3D & usNeedleInsertionModelVirtualSprings::accessSurface ( )

Definition at line 336 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_tissueSurface.

◆ accessSurface() [2/2]

const usOrientedPlane3D & usNeedleInsertionModelVirtualSprings::accessSurface ( ) const

Tissue.

Definition at line 331 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_tissueSurface.

Referenced by usNeedleModelingDisplayTools::display().

◆ addInsertionPoint() [1/2]

◆ addInsertionPoint() [2/2]

◆ addInsertionPointAtTip()

void usNeedleInsertionModelVirtualSprings::addInsertionPointAtTip ( )

◆ addInsertionPointAtTipHard()

void usNeedleInsertionModelVirtualSprings::addInsertionPointAtTipHard ( )

◆ addInsertionPointOnSegment()

◆ addInsertionPointOnSegmentHard()

◆ addMeasureSpring()

void usNeedleInsertionModelVirtualSprings::addMeasureSpring ( const vpColVector &  p,
const vpColVector &  d 
)

◆ addRemoveSprings()

◆ addSpringStiffness()

void usNeedleInsertionModelVirtualSprings::addSpringStiffness ( int  index,
double  dK,
bool  update = false 
)

Definition at line 595 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_springs, and setSpringStiffness().

◆ AllowSpringAddition()

void usNeedleInsertionModelVirtualSprings::AllowSpringAddition ( bool  flag)

Internal.

Definition at line 401 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_AllowSpringAddition.

◆ AllowSpringRemoval()

void usNeedleInsertionModelVirtualSprings::AllowSpringRemoval ( bool  flag)

Definition at line 406 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_AllowSpringRemoval.

◆ checkInactiveMeasureSprings()

◆ clone()

usNeedleInsertionModelVirtualSprings * usNeedleInsertionModelVirtualSprings::clone ( ) const
virtual

◆ computeSegmentsLengths()

◆ fusionSprings()

void usNeedleInsertionModelVirtualSprings::fusionSprings ( int  firstSpring,
int  lastSpring 
)

◆ getAutomaticSpringAddition()

bool usNeedleInsertionModelVirtualSprings::getAutomaticSpringAddition ( ) const

◆ getBasePose()

vpPoseVector usNeedleInsertionModelVirtualSprings::getBasePose ( ) const
virtual

◆ getBasePosition()

vpColVector usNeedleInsertionModelInterface::getBasePosition ( ) const
inherited

◆ getBevelAngle()

double usNeedleInsertionModelVirtualSprings::getBevelAngle ( ) const

◆ getDefaultSpringStiffness()

double usNeedleInsertionModelVirtualSprings::getDefaultSpringStiffness ( ) const

◆ getInsertionBehavior()

usNeedleInsertionModelVirtualSprings::InsertionType usNeedleInsertionModelVirtualSprings::getInsertionBehavior ( ) const

Definition at line 416 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_insertionBehavior.

◆ getInsertionDepth()

double usNeedleInsertionModelVirtualSprings::getInsertionDepth ( ) const

◆ getInterSpringDistance()

double usNeedleInsertionModelVirtualSprings::getInterSpringDistance ( ) const

Definition at line 351 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_interSpringDistance.

◆ getInterTipSpringDistance()

double usNeedleInsertionModelVirtualSprings::getInterTipSpringDistance ( ) const

◆ getMaxTissueStretch()

double usNeedleInsertionModelVirtualSprings::getMaxTissueStretch ( double *  lmax = nullptr) const

◆ getMeanTissueStretch()

double usNeedleInsertionModelVirtualSprings::getMeanTissueStretch ( ) const

◆ getNbMaxTipSprings()

int usNeedleInsertionModelVirtualSprings::getNbMaxTipSprings ( ) const

Definition at line 396 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_nbMaxTipSprings.

◆ getNbMeasureSprings()

int usNeedleInsertionModelVirtualSprings::getNbMeasureSprings ( ) const

Definition at line 285 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_springs.

◆ getNbMinTipSprings()

int usNeedleInsertionModelVirtualSprings::getNbMinTipSprings ( ) const

Definition at line 380 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_nbMinTipSprings.

◆ getNbSprings()

int usNeedleInsertionModelVirtualSprings::getNbSprings ( ) const

◆ getNeedleFreeLength()

double usNeedleInsertionModelVirtualSprings::getNeedleFreeLength ( ) const

◆ getNeedleInsertionPoint()

vpColVector usNeedleInsertionModelVirtualSprings::getNeedleInsertionPoint ( ) const

◆ getPathDistanceFromPoint()

double usNeedleInsertionModelVirtualSprings::getPathDistanceFromPoint ( const vpColVector &  P) const

Measure model information.

Needle position

Definition at line 431 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_springs, and usGeometryTools::projectPointOnPlane().

◆ getStiffnessPerUnitLength()

double usNeedleInsertionModelVirtualSprings::getStiffnessPerUnitLength ( ) const

◆ getSurfaceTissueStretch()

double usNeedleInsertionModelVirtualSprings::getSurfaceTissueStretch ( ) const

◆ getTipForce()

double usNeedleInsertionModelVirtualSprings::getTipForce ( )

Definition at line 240 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_tipForce.

◆ getTissueDeformationEnergy()

double usNeedleInsertionModelVirtualSprings::getTissueDeformationEnergy ( ) const

◆ getTissueInsertionPoint()

vpColVector usNeedleInsertionModelVirtualSprings::getTissueInsertionPoint ( ) const

Definition at line 313 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_springs.

Referenced by getSurfaceTissueStretch().

◆ getWorldMbase()

vpHomogeneousMatrix usNeedleInsertionModelInterface::getWorldMbase ( ) const
inherited

◆ IsNeedleInserted()

bool usNeedleInsertionModelVirtualSprings::IsNeedleInserted ( ) const

◆ loadPreset()

◆ moveBase() [1/5]

bool usNeedleInsertionModelInterface::moveBase ( const vpColVector &  v)
inherited

◆ moveBase() [2/5]

◆ moveBase() [3/5]

bool usNeedleInsertionModelInterface::moveBase ( const vpHomogeneousMatrix &  Hmotion)
inherited

◆ moveBase() [4/5]

bool usNeedleInsertionModelInterface::moveBase ( const vpPoseVector &  pose)
inherited

◆ moveBase() [5/5]

bool usNeedleInsertionModelInterface::moveBase ( double  tx,
double  ty,
double  tz,
double  thetax,
double  thetay,
double  thetaz 
)
inherited

◆ moveBaseWorldFrame() [1/5]

bool usNeedleInsertionModelInterface::moveBaseWorldFrame ( const vpColVector &  command,
double  time 
)
inherited

◆ moveBaseWorldFrame() [2/5]

bool usNeedleInsertionModelInterface::moveBaseWorldFrame ( const vpColVector &  v)
inherited

◆ moveBaseWorldFrame() [3/5]

bool usNeedleInsertionModelInterface::moveBaseWorldFrame ( const vpHomogeneousMatrix &  Hmotion)
inherited

◆ moveBaseWorldFrame() [4/5]

bool usNeedleInsertionModelInterface::moveBaseWorldFrame ( const vpPoseVector &  pose)
inherited

◆ moveBaseWorldFrame() [5/5]

bool usNeedleInsertionModelInterface::moveBaseWorldFrame ( double  tx,
double  ty,
double  tz,
double  thetax,
double  thetay,
double  thetaz 
)
inherited

◆ moveSpringDirection()

bool usNeedleInsertionModelVirtualSprings::moveSpringDirection ( int  index,
const vpThetaUVector &  thetaU,
bool  update = false 
)

Definition at line 589 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_springs, and setSpringDirection().

◆ moveSpringPosition()

bool usNeedleInsertionModelVirtualSprings::moveSpringPosition ( int  index,
const vpColVector &  dP,
bool  update = false 
)

Definition at line 584 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_springs, and setSpringPosition().

◆ operator=()

◆ removeAutoAddedSprings()

void usNeedleInsertionModelVirtualSprings::removeAutoAddedSprings ( )

◆ removeInsertionPoints()

◆ removeInsertionPointsHard()

void usNeedleInsertionModelVirtualSprings::removeInsertionPointsHard ( int  first,
int  last = -1 
)

◆ removeLastInsertionPoint()

void usNeedleInsertionModelVirtualSprings::removeLastInsertionPoint ( )

Definition at line 948 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_springs, and removeInsertionPoints().

◆ removeLastInsertionPointHard()

void usNeedleInsertionModelVirtualSprings::removeLastInsertionPointHard ( )

◆ setAutomaticSpringAddition()

void usNeedleInsertionModelVirtualSprings::setAutomaticSpringAddition ( bool  flag)

◆ setBasePose() [1/6]

bool usNeedleInsertionModelInterface::setBasePose ( const vpHomogeneousMatrix &  Hpose)
inherited

◆ setBasePose() [2/6]

bool usNeedleInsertionModelInterface::setBasePose

Control of the needle.

Control of the needle

Definition at line 51 of file usNeedleInsertionModelInterface.cpp.

◆ setBasePose() [3/6]

bool usNeedleInsertionModelVirtualSprings::setBasePose ( const vpPoseVector &  pose)
virtual

◆ setBasePose() [4/6]

virtual bool usNeedleInsertionModelInterface::setBasePose

Control of the needle.

Control of the needle

◆ setBasePose() [5/6]

bool usNeedleInsertionModelInterface::setBasePose ( double  tx,
double  ty,
double  tz,
double  thetax,
double  thetay,
double  thetaz 
)
inherited

These function simply overload the previous ones.

Definition at line 40 of file usNeedleInsertionModelInterface.cpp.

References usNeedleInsertionModelInterface::setBasePose().

◆ setBasePose() [6/6]

bool usNeedleInsertionModelInterface::setBasePose

Control of the needle.

Control of the needle

Definition at line 50 of file usNeedleInsertionModelInterface.cpp.

◆ setBevelAngle()

void usNeedleInsertionModelVirtualSprings::setBevelAngle ( double  angle)

◆ setDefaultSpringStiffness()

void usNeedleInsertionModelVirtualSprings::setDefaultSpringStiffness ( double  K)

Tissue parameters.

Definition at line 255 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_defaultSpringStiffness.

◆ setInsertionBehavior()

void usNeedleInsertionModelVirtualSprings::setInsertionBehavior ( InsertionType  type)

Definition at line 411 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_insertionBehavior.

◆ setInterSpringDistance()

void usNeedleInsertionModelVirtualSprings::setInterSpringDistance ( double  interSpringDistance)

◆ setInterTipSpringDistance()

void usNeedleInsertionModelVirtualSprings::setInterTipSpringDistance ( double  interTipSpringDistance)

◆ setNbMaxTipSprings()

void usNeedleInsertionModelVirtualSprings::setNbMaxTipSprings ( int  nb)

◆ setNbMinTipSprings()

void usNeedleInsertionModelVirtualSprings::setNbMinTipSprings ( int  nb)

◆ setSpringDirection()

bool usNeedleInsertionModelVirtualSprings::setSpringDirection ( int  index,
const vpColVector &  D,
bool  update = false 
)

Definition at line 554 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_springs, and updateState().

Referenced by moveSpringDirection().

◆ setSpringPosition()

bool usNeedleInsertionModelVirtualSprings::setSpringPosition ( int  index,
const vpColVector &  P,
bool  update = false 
)

Definition at line 537 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_springs, and updateState().

Referenced by moveSpringPosition().

◆ setSpringStiffness()

void usNeedleInsertionModelVirtualSprings::setSpringStiffness ( int  index,
double  K,
bool  update = false 
)

Definition at line 570 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_springs, and updateState().

Referenced by addSpringStiffness().

◆ setStiffnessPerUnitLength()

void usNeedleInsertionModelVirtualSprings::setStiffnessPerUnitLength ( double  K)

◆ setSurfaceAtTip()

◆ setTipForce()

void usNeedleInsertionModelVirtualSprings::setTipForce ( double  tipForce)

Parameters setters and getters.

Needle parameters

Definition at line 235 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_tipForce.

◆ showInsertionDirections()

void usNeedleInsertionModelVirtualSprings::showInsertionDirections ( ) const

Definition at line 2116 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_springs.

◆ showInsertionPoints()

void usNeedleInsertionModelVirtualSprings::showInsertionPoints ( ) const

Display.

Definition at line 2103 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_springs.

◆ showStiffnesses()

void usNeedleInsertionModelVirtualSprings::showStiffnesses ( ) const

Definition at line 2129 of file usNeedleInsertionModelVirtualSprings.cpp.

References m_springs.

◆ solveSegmentsParameters()

void usNeedleInsertionModelVirtualSprings::solveSegmentsParameters ( )

◆ solveSegmentsParametersOpenCV()

◆ solveSegmentsParametersSparseEigen()

◆ solveSegmentsParametersViSP()

◆ updateCutAngle()

void usNeedleInsertionModelVirtualSprings::updateCutAngle ( )

◆ updateInsertionDirections()

void usNeedleInsertionModelVirtualSprings::updateInsertionDirections ( )

◆ updateSpringsStiffness()

◆ updateState()

◆ updateTipForce()

void usNeedleInsertionModelVirtualSprings::updateTipForce ( )

Friends And Related Function Documentation

◆ operator<<

VISP_EXPORT std::ostream& operator<< ( std::ostream &  s,
const usNeedleInsertionModelVirtualSprings needle 
)
friend

Data saving.

Text

Definition at line 2138 of file usNeedleInsertionModelVirtualSprings.cpp.

◆ operator<<=

VISP_EXPORT std::ostream& operator<<= ( std::ostream &  s,
const usNeedleInsertionModelVirtualSprings needle 
)
friend

Binary.

Definition at line 2244 of file usNeedleInsertionModelVirtualSprings.cpp.

◆ operator>>

VISP_EXPORT std::istream& operator>> ( std::istream &  s,
usNeedleInsertionModelVirtualSprings needle 
)
friend

Definition at line 2186 of file usNeedleInsertionModelVirtualSprings.cpp.

◆ operator>>=

VISP_EXPORT std::istream& operator>>= ( std::istream &  s,
usNeedleInsertionModelVirtualSprings needle 
)
friend

Definition at line 2290 of file usNeedleInsertionModelVirtualSprings.cpp.

Member Data Documentation

◆ m_AllowSpringAddition

bool usNeedleInsertionModelVirtualSprings::m_AllowSpringAddition
protected

Definition at line 107 of file usNeedleInsertionModelVirtualSprings.h.

Referenced by AllowSpringAddition(), and operator=().

◆ m_AllowSpringRemoval

bool usNeedleInsertionModelVirtualSprings::m_AllowSpringRemoval
protected

Definition at line 108 of file usNeedleInsertionModelVirtualSprings.h.

Referenced by AllowSpringRemoval(), and operator=().

◆ m_AutomaticSpringAddition

bool usNeedleInsertionModelVirtualSprings::m_AutomaticSpringAddition
protected

◆ m_bevelLength

◆ m_cutAngle

double usNeedleInsertionModelVirtualSprings::m_cutAngle
protected

◆ m_defaultSpringStiffness

double usNeedleInsertionModelVirtualSprings::m_defaultSpringStiffness
protected

◆ m_inactiveAutoAddedSprings

std::vector<usVirtualSpring> usNeedleInsertionModelVirtualSprings::m_inactiveAutoAddedSprings
protected

Definition at line 85 of file usNeedleInsertionModelVirtualSprings.h.

Referenced by operator=().

◆ m_inactiveMeasureSprings

std::vector<usVirtualSpring> usNeedleInsertionModelVirtualSprings::m_inactiveMeasureSprings
protected

◆ m_insertionBehavior

InsertionType usNeedleInsertionModelVirtualSprings::m_insertionBehavior
protected

Insertion type.

Definition at line 105 of file usNeedleInsertionModelVirtualSprings.h.

Referenced by getInsertionBehavior(), operator=(), setInsertionBehavior(), and updateState().

◆ m_interSpringDistance

double usNeedleInsertionModelVirtualSprings::m_interSpringDistance
protected

◆ m_interTipSpringDistance

double usNeedleInsertionModelVirtualSprings::m_interTipSpringDistance
protected

◆ m_IsInserting

bool usNeedleInsertionModelVirtualSprings::m_IsInserting
protected

◆ m_IsStateConsistent

bool usNeedleInsertionModelVirtualSprings::m_IsStateConsistent
protected

Internal.

Linear system solving

Definition at line 97 of file usNeedleInsertionModelVirtualSprings.h.

Referenced by operator=().

◆ m_LastSegmentLengthComputed

bool usNeedleInsertionModelVirtualSprings::m_LastSegmentLengthComputed
protected

Segments lengths measurement.

Definition at line 101 of file usNeedleInsertionModelVirtualSprings.h.

Referenced by addRemoveSprings(), computeSegmentsLengths(), operator=(), and updateState().

◆ m_nbMaxTipSprings

int usNeedleInsertionModelVirtualSprings::m_nbMaxTipSprings
protected

◆ m_nbMinTipSprings

int usNeedleInsertionModelVirtualSprings::m_nbMinTipSprings
protected

◆ m_needle

◆ m_springs

◆ m_stiffnessPerUnitLength

double usNeedleInsertionModelVirtualSprings::m_stiffnessPerUnitLength
protected

◆ m_tipForce

double usNeedleInsertionModelVirtualSprings::m_tipForce
protected

◆ m_tipMoment

double usNeedleInsertionModelVirtualSprings::m_tipMoment
protected

◆ m_tipSpringsIndex

int usNeedleInsertionModelVirtualSprings::m_tipSpringsIndex
protected

◆ m_tissueSurface

usOrientedPlane3D usNeedleInsertionModelVirtualSprings::m_tissueSurface
protected