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

#include <visp3/ustk_needle_modeling/usNeedleModelBaseTip.h>

+ Inheritance diagram for usNeedleModelBaseTip:

Public Member Functions

 usNeedleModelBaseTip ()
 
 usNeedleModelBaseTip (const usNeedleModelBaseTip &needle)
 
virtual ~usNeedleModelBaseTip ()
 
virtual usNeedleModelBaseTipoperator= (const usNeedleModelBaseTip &needle)
 
virtual usNeedleModelBaseTipclone () 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)
 

Protected Attributes

vpPoseVector m_basePose
 
vpHomogeneousMatrix m_worldMbase
 
vpPoseVector m_tipPose
 
vpHomogeneousMatrix m_worldMtip
 

Friends

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

Detailed Description

Definition at line 42 of file usNeedleModelBaseTip.h.

Constructor & Destructor Documentation

◆ usNeedleModelBaseTip() [1/2]

usNeedleModelBaseTip::usNeedleModelBaseTip ( )

Constructors, destructors.

Definition at line 38 of file usNeedleModelBaseTip.cpp.

Referenced by clone().

◆ usNeedleModelBaseTip() [2/2]

usNeedleModelBaseTip::usNeedleModelBaseTip ( const usNeedleModelBaseTip needle)

Definition at line 40 of file usNeedleModelBaseTip.cpp.

◆ ~usNeedleModelBaseTip()

usNeedleModelBaseTip::~usNeedleModelBaseTip ( )
virtual

Definition at line 45 of file usNeedleModelBaseTip.cpp.

Member Function Documentation

◆ clone()

usNeedleModelBaseTip * usNeedleModelBaseTip::clone ( ) const
virtual

Reimplemented in usNeedleModelSpline, and usNeedleModelPolynomial.

Definition at line 57 of file usNeedleModelBaseTip.cpp.

References usNeedleModelBaseTip().

◆ getBaseDirection()

vpColVector usNeedleModelBaseTip::getBaseDirection ( ) const

Definition at line 65 of file usNeedleModelBaseTip.cpp.

References m_worldMbase.

◆ getBasePose()

◆ getBasePosition()

vpColVector usNeedleModelBaseTip::getBasePosition ( ) const

◆ getTipDirection()

◆ getTipPose()

◆ getTipPosition()

◆ getWorldMbase()

◆ getWorldMtip()

◆ moveBase() [1/5]

void usNeedleModelBaseTip::moveBase ( const vpColVector &  control,
double  time 
)

Definition at line 138 of file usNeedleModelBaseTip.cpp.

Referenced by moveBase(), and moveBaseWorldFrame().

◆ moveBase() [2/5]

void usNeedleModelBaseTip::moveBase ( const vpColVector &  v)

Definition at line 168 of file usNeedleModelBaseTip.cpp.

References moveBase().

◆ moveBase() [3/5]

void usNeedleModelBaseTip::moveBase ( const vpHomogeneousMatrix &  Hmotion)

Definition at line 178 of file usNeedleModelBaseTip.cpp.

References m_worldMbase, and setBasePose().

◆ moveBase() [4/5]

void usNeedleModelBaseTip::moveBase ( const vpPoseVector &  pose)

Definition at line 161 of file usNeedleModelBaseTip.cpp.

References moveBase().

◆ moveBase() [5/5]

void usNeedleModelBaseTip::moveBase ( double  tx,
double  ty,
double  tz,
double  thetax,
double  thetay,
double  thetaz 
)

Definition at line 154 of file usNeedleModelBaseTip.cpp.

References moveBase().

◆ moveBaseWorldFrame() [1/5]

void usNeedleModelBaseTip::moveBaseWorldFrame ( const vpColVector &  command,
double  time 
)

Definition at line 186 of file usNeedleModelBaseTip.cpp.

Referenced by moveBaseWorldFrame().

◆ moveBaseWorldFrame() [2/5]

void usNeedleModelBaseTip::moveBaseWorldFrame ( const vpColVector &  v)

Definition at line 217 of file usNeedleModelBaseTip.cpp.

References moveBaseWorldFrame().

◆ moveBaseWorldFrame() [3/5]

void usNeedleModelBaseTip::moveBaseWorldFrame ( const vpHomogeneousMatrix &  Hmotion)

Definition at line 228 of file usNeedleModelBaseTip.cpp.

References m_worldMbase, and moveBase().

◆ moveBaseWorldFrame() [4/5]

void usNeedleModelBaseTip::moveBaseWorldFrame ( const vpPoseVector &  pose)

Definition at line 210 of file usNeedleModelBaseTip.cpp.

References moveBaseWorldFrame().

◆ moveBaseWorldFrame() [5/5]

void usNeedleModelBaseTip::moveBaseWorldFrame ( double  tx,
double  ty,
double  tz,
double  thetax,
double  thetay,
double  thetaz 
)

Definition at line 202 of file usNeedleModelBaseTip.cpp.

References moveBaseWorldFrame().

◆ moveTip() [1/5]

void usNeedleModelBaseTip::moveTip ( const vpColVector &  control,
double  time 
)

◆ moveTip() [2/5]

void usNeedleModelBaseTip::moveTip ( const vpColVector &  v)

Definition at line 275 of file usNeedleModelBaseTip.cpp.

References moveTip().

◆ moveTip() [3/5]

void usNeedleModelBaseTip::moveTip ( const vpHomogeneousMatrix &  Hmotion)

Definition at line 285 of file usNeedleModelBaseTip.cpp.

References m_worldMtip, and setTipPose().

◆ moveTip() [4/5]

void usNeedleModelBaseTip::moveTip ( const vpPoseVector &  pose)

Definition at line 268 of file usNeedleModelBaseTip.cpp.

References moveTip().

◆ moveTip() [5/5]

void usNeedleModelBaseTip::moveTip ( double  tx,
double  ty,
double  tz,
double  thetax,
double  thetay,
double  thetaz 
)

Definition at line 261 of file usNeedleModelBaseTip.cpp.

References moveTip().

◆ moveTipWorldFrame() [1/5]

void usNeedleModelBaseTip::moveTipWorldFrame ( const vpColVector &  command,
double  time 
)

Definition at line 293 of file usNeedleModelBaseTip.cpp.

Referenced by moveTipWorldFrame().

◆ moveTipWorldFrame() [2/5]

void usNeedleModelBaseTip::moveTipWorldFrame ( const vpColVector &  v)

Definition at line 323 of file usNeedleModelBaseTip.cpp.

References moveTipWorldFrame().

◆ moveTipWorldFrame() [3/5]

void usNeedleModelBaseTip::moveTipWorldFrame ( const vpHomogeneousMatrix &  Hmotion)

Definition at line 334 of file usNeedleModelBaseTip.cpp.

References m_worldMtip, and moveTip().

◆ moveTipWorldFrame() [4/5]

void usNeedleModelBaseTip::moveTipWorldFrame ( const vpPoseVector &  pose)

Definition at line 316 of file usNeedleModelBaseTip.cpp.

References moveTipWorldFrame().

◆ moveTipWorldFrame() [5/5]

void usNeedleModelBaseTip::moveTipWorldFrame ( double  tx,
double  ty,
double  tz,
double  thetax,
double  thetay,
double  thetaz 
)

Definition at line 308 of file usNeedleModelBaseTip.cpp.

References moveTipWorldFrame().

◆ operator=()

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

◆ setBasePose() [1/3]

void usNeedleModelBaseTip::setBasePose ( const vpHomogeneousMatrix &  Hpose)

Definition at line 109 of file usNeedleModelBaseTip.cpp.

References m_basePose, and m_worldMbase.

◆ setBasePose() [2/3]

void usNeedleModelBaseTip::setBasePose ( const vpPoseVector &  pose)

Definition at line 103 of file usNeedleModelBaseTip.cpp.

References m_basePose, and m_worldMbase.

◆ setBasePose() [3/3]

void usNeedleModelBaseTip::setBasePose ( double  tx,
double  ty,
double  tz,
double  thetax,
double  thetay,
double  thetaz 
)

◆ setTipPose() [1/3]

void usNeedleModelBaseTip::setTipPose ( const vpHomogeneousMatrix &  Hpose)

Definition at line 132 of file usNeedleModelBaseTip.cpp.

References m_tipPose, and m_worldMtip.

◆ setTipPose() [2/3]

void usNeedleModelBaseTip::setTipPose ( const vpPoseVector &  pose)

Definition at line 126 of file usNeedleModelBaseTip.cpp.

References m_tipPose, and m_worldMtip.

◆ setTipPose() [3/3]

Friends And Related Function Documentation

◆ operator<<

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

Data saving.

Text

Definition at line 351 of file usNeedleModelBaseTip.cpp.

◆ operator<<=

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

Binary.

Definition at line 396 of file usNeedleModelBaseTip.cpp.

◆ operator>>

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

Definition at line 375 of file usNeedleModelBaseTip.cpp.

◆ operator>>=

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

Definition at line 414 of file usNeedleModelBaseTip.cpp.

Member Data Documentation

◆ m_basePose

vpPoseVector usNeedleModelBaseTip::m_basePose
protected

Definition at line 45 of file usNeedleModelBaseTip.h.

Referenced by getBasePose(), getBasePosition(), operator=(), and setBasePose().

◆ m_tipPose

vpPoseVector usNeedleModelBaseTip::m_tipPose
protected

Definition at line 48 of file usNeedleModelBaseTip.h.

Referenced by getTipPose(), getTipPosition(), operator=(), and setTipPose().

◆ m_worldMbase

vpHomogeneousMatrix usNeedleModelBaseTip::m_worldMbase
protected

◆ m_worldMtip

vpHomogeneousMatrix usNeedleModelBaseTip::m_worldMtip
protected