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

#include <visp3/ustk_needle_modeling/usNeedleTipPrebent.h>

+ Inheritance diagram for usNeedleTipPrebent:

Public Member Functions

 usNeedleTipPrebent ()
 
 usNeedleTipPrebent (const usNeedleTipPrebent &needle)
 
virtual ~usNeedleTipPrebent ()
 
virtual usNeedleTipPrebentoperator= (const usNeedleTipPrebent &needle)
 
virtual usNeedleTipPrebentclone () const
 
void setDiameter (double diameter)
 
double getDiameter () const
 
void setLength (double l)
 
double getLength () const
 
void setAngleRad (double angle)
 
double getAngleRad () const
 
void setAngleDeg (double angle)
 
double getAngleDeg () 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
 
double _angle
 
vpPoseVector m_basePose
 
vpHomogeneousMatrix m_worldMbase
 
vpPoseVector m_tipPose
 
vpHomogeneousMatrix m_worldMtip
 

Friends

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

Detailed Description

Definition at line 45 of file usNeedleTipPrebent.h.

Constructor & Destructor Documentation

◆ usNeedleTipPrebent() [1/2]

usNeedleTipPrebent::usNeedleTipPrebent ( )

Constructors, destructors.

Definition at line 39 of file usNeedleTipPrebent.cpp.

Referenced by clone().

◆ usNeedleTipPrebent() [2/2]

usNeedleTipPrebent::usNeedleTipPrebent ( const usNeedleTipPrebent needle)

Definition at line 41 of file usNeedleTipPrebent.cpp.

◆ ~usNeedleTipPrebent()

usNeedleTipPrebent::~usNeedleTipPrebent ( )
virtual

Definition at line 46 of file usNeedleTipPrebent.cpp.

Member Function Documentation

◆ clone()

usNeedleTipPrebent * usNeedleTipPrebent::clone ( ) const
virtual

Reimplemented from usNeedleTip.

Definition at line 59 of file usNeedleTipPrebent.cpp.

References usNeedleTipPrebent().

◆ getAngleDeg()

double usNeedleTipPrebent::getAngleDeg ( ) const

Definition at line 91 of file usNeedleTipPrebent.cpp.

References _angle.

◆ getAngleRad()

double usNeedleTipPrebent::getAngleRad ( ) const

Definition at line 83 of file usNeedleTipPrebent.cpp.

References _angle.

◆ 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 usNeedleTipPrebent::getDiameter ( ) const

Definition at line 67 of file usNeedleTipPrebent.cpp.

References _diameter.

Referenced by usNeedleModelingDisplayTools::display().

◆ getLength()

double usNeedleTipPrebent::getLength ( ) const

Definition at line 75 of file usNeedleTipPrebent.cpp.

References _length.

◆ 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=()

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

Definition at line 48 of file usNeedleTipPrebent.cpp.

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

◆ setAngleDeg()

void usNeedleTipPrebent::setAngleDeg ( double  angle)

Definition at line 85 of file usNeedleTipPrebent.cpp.

References _angle.

◆ setAngleRad()

void usNeedleTipPrebent::setAngleRad ( double  angle)

Definition at line 77 of file usNeedleTipPrebent.cpp.

References _angle.

◆ 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 usNeedleTipPrebent::setDiameter ( double  diameter)

Parameters setters and getters.

Definition at line 61 of file usNeedleTipPrebent.cpp.

References _diameter.

◆ setLength()

void usNeedleTipPrebent::setLength ( double  l)

Definition at line 69 of file usNeedleTipPrebent.cpp.

References _length.

◆ 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 usNeedleTipPrebent tip 
)
friend

Data saving.

Text

Definition at line 93 of file usNeedleTipPrebent.cpp.

◆ operator<<=

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

Binary.

Definition at line 123 of file usNeedleTipPrebent.cpp.

◆ operator>>

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

Definition at line 106 of file usNeedleTipPrebent.cpp.

◆ operator>>=

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

Definition at line 136 of file usNeedleTipPrebent.cpp.

Member Data Documentation

◆ _angle

double usNeedleTipPrebent::_angle
protected

Definition at line 50 of file usNeedleTipPrebent.h.

Referenced by getAngleDeg(), getAngleRad(), operator=(), setAngleDeg(), and setAngleRad().

◆ _diameter

double usNeedleTipPrebent::_diameter
protected

Definition at line 48 of file usNeedleTipPrebent.h.

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

◆ _length

double usNeedleTipPrebent::_length
protected

Definition at line 49 of file usNeedleTipPrebent.h.

Referenced by 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