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

#include <visp3/ustk_needle_modeling/usNeedleTipBeveled.h>

+ Inheritance diagram for usNeedleTipBeveled:

Public Member Functions

 usNeedleTipBeveled ()
 
 usNeedleTipBeveled (const usNeedleTipBeveled &needle)
 
virtual ~usNeedleTipBeveled ()
 
virtual usNeedleTipBeveledoperator= (const usNeedleTipBeveled &needle)
 
virtual usNeedleTipBeveledclone () const
 
void setDiameter (double diameter)
 
double getDiameter () const
 
void setLength (double l)
 
double getLength () const
 
double getAngle () const
 
void setBasePose (const vpPoseVector &pose)
 
vpPoseVector getBasePose () const
 
void setWorldMbase (const vpHomogeneousMatrix &worldMbase)
 
vpHomogeneousMatrix getWorldMbase () const
 
void setBasePosition (const vpColVector &position)
 
vpColVector getBasePosition () const
 
vpPoseVector getTipPose () const
 
vpHomogeneousMatrix getWorldMtip () const
 
vpColVector getTipPosition () const
 
vpColVector getTipDirection () const
 
vpColVector getBaseAxisX () const
 
vpColVector getBaseAxisY () const
 
vpColVector getBaseAxisZ () const
 

Protected Attributes

double _diameter
 
double _length
 
vpPoseVector m_basePose
 
vpHomogeneousMatrix m_worldMbase
 
vpPoseVector m_tipPose
 
vpHomogeneousMatrix m_worldMtip
 

Friends

VISP_EXPORT std::ostream & operator<< (std::ostream &s, const usNeedleTipBeveled &tip)
 
VISP_EXPORT std::istream & operator>> (std::istream &s, usNeedleTipBeveled &tip)
 
VISP_EXPORT std::ostream & operator<<= (std::ostream &s, const usNeedleTipBeveled &tip)
 
VISP_EXPORT std::istream & operator>>= (std::istream &s, usNeedleTipBeveled &tip)
 

Detailed Description

Definition at line 40 of file usNeedleTipBeveled.h.

Constructor & Destructor Documentation

◆ usNeedleTipBeveled() [1/2]

usNeedleTipBeveled::usNeedleTipBeveled ( )

Constructors, destructors.

Definition at line 38 of file usNeedleTipBeveled.cpp.

Referenced by clone().

◆ usNeedleTipBeveled() [2/2]

usNeedleTipBeveled::usNeedleTipBeveled ( const usNeedleTipBeveled needle)

Definition at line 40 of file usNeedleTipBeveled.cpp.

◆ ~usNeedleTipBeveled()

usNeedleTipBeveled::~usNeedleTipBeveled ( )
virtual

Definition at line 45 of file usNeedleTipBeveled.cpp.

Member Function Documentation

◆ clone()

usNeedleTipBeveled * usNeedleTipBeveled::clone ( ) const
virtual

Reimplemented from usNeedleTip.

Definition at line 57 of file usNeedleTipBeveled.cpp.

References usNeedleTipBeveled().

◆ getAngle()

double usNeedleTipBeveled::getAngle ( ) const

Definition at line 75 of file usNeedleTipBeveled.cpp.

References _diameter, and _length.

◆ getBaseAxisX()

vpColVector usNeedleTip::getBaseAxisX ( ) const
inherited

Definition at line 105 of file usNeedleTip.cpp.

References usNeedleTip::m_worldMbase.

◆ getBaseAxisY()

vpColVector usNeedleTip::getBaseAxisY ( ) const
inherited

Definition at line 107 of file usNeedleTip.cpp.

References usNeedleTip::m_worldMbase.

Referenced by usNeedleModelingDisplayTools::display().

◆ getBaseAxisZ()

◆ getBasePose()

vpPoseVector usNeedleTip::getBasePose ( ) const
inherited

◆ getBasePosition()

◆ getDiameter()

double usNeedleTipBeveled::getDiameter ( ) const

Definition at line 65 of file usNeedleTipBeveled.cpp.

References _diameter.

Referenced by usNeedleModelingDisplayTools::display().

◆ getLength()

double usNeedleTipBeveled::getLength ( ) const

Definition at line 73 of file usNeedleTipBeveled.cpp.

References _length.

Referenced by usNeedleModelingDisplayTools::display().

◆ getTipDirection()

vpColVector usNeedleTip::getTipDirection ( ) const
inherited

◆ getTipPose()

vpPoseVector usNeedleTip::getTipPose ( ) const
inherited

Definition at line 97 of file usNeedleTip.cpp.

References usNeedleTip::m_tipPose.

◆ getTipPosition()

◆ getWorldMbase()

vpHomogeneousMatrix usNeedleTip::getWorldMbase ( ) const
inherited

Definition at line 76 of file usNeedleTip.cpp.

References usNeedleTip::m_worldMbase.

Referenced by usNeedleModelingDisplayTools::display().

◆ getWorldMtip()

vpHomogeneousMatrix usNeedleTip::getWorldMtip ( ) const
inherited

Definition at line 99 of file usNeedleTip.cpp.

References usNeedleTip::m_worldMtip.

◆ operator=()

usNeedleTipBeveled & usNeedleTipBeveled::operator= ( const usNeedleTipBeveled needle)
virtual

Definition at line 47 of file usNeedleTipBeveled.cpp.

References _diameter, _length, and usNeedleTip::operator=().

◆ setBasePose()

void usNeedleTip::setBasePose ( const vpPoseVector &  pose)
inherited

◆ setBasePosition()

void usNeedleTip::setBasePosition ( const vpColVector &  position)
inherited

Definition at line 78 of file usNeedleTip.cpp.

References usNeedleTip::m_basePose, and usNeedleTip::m_worldMbase.

◆ setDiameter()

void usNeedleTipBeveled::setDiameter ( double  diameter)

Parameters setters and getters.

Definition at line 59 of file usNeedleTipBeveled.cpp.

References _diameter.

Referenced by usNeedleInsertionModelRayleighRitzSpline::loadPreset().

◆ setLength()

void usNeedleTipBeveled::setLength ( double  l)

Definition at line 67 of file usNeedleTipBeveled.cpp.

References _length.

Referenced by usNeedleInsertionModelRayleighRitzSpline::loadPreset().

◆ setWorldMbase()

void usNeedleTip::setWorldMbase ( const vpHomogeneousMatrix &  worldMbase)
inherited

Definition at line 68 of file usNeedleTip.cpp.

References usNeedleTip::m_basePose, and usNeedleTip::m_worldMbase.

Friends And Related Function Documentation

◆ operator<<

VISP_EXPORT std::ostream& operator<< ( std::ostream &  s,
const usNeedleTipBeveled tip 
)
friend

Data saving.

Text

Definition at line 77 of file usNeedleTipBeveled.cpp.

◆ operator<<=

VISP_EXPORT std::ostream& operator<<= ( std::ostream &  s,
const usNeedleTipBeveled tip 
)
friend

Binary.

Definition at line 105 of file usNeedleTipBeveled.cpp.

◆ operator>>

VISP_EXPORT std::istream& operator>> ( std::istream &  s,
usNeedleTipBeveled tip 
)
friend

Definition at line 89 of file usNeedleTipBeveled.cpp.

◆ operator>>=

VISP_EXPORT std::istream& operator>>= ( std::istream &  s,
usNeedleTipBeveled tip 
)
friend

Definition at line 117 of file usNeedleTipBeveled.cpp.

Member Data Documentation

◆ _diameter

double usNeedleTipBeveled::_diameter
protected

Definition at line 43 of file usNeedleTipBeveled.h.

Referenced by getAngle(), getDiameter(), operator=(), and setDiameter().

◆ _length

double usNeedleTipBeveled::_length
protected

Definition at line 44 of file usNeedleTipBeveled.h.

Referenced by getAngle(), getLength(), operator=(), and setLength().

◆ m_basePose

◆ m_tipPose

vpPoseVector usNeedleTip::m_tipPose
protectedinherited

Definition at line 47 of file usNeedleTip.h.

Referenced by usNeedleTip::getTipPose(), and usNeedleTip::operator=().

◆ m_worldMbase

◆ m_worldMtip

vpHomogeneousMatrix usNeedleTip::m_worldMtip
protectedinherited