UsTK : Ultrasound ToolKit  version 2.0.1 under development (2023-12-07)
usOrientedPlane3D Class Reference

#include <visp3/ustk_core/usOrientedPlane3D.h>

+ Inheritance diagram for usOrientedPlane3D:

Public Member Functions

 usOrientedPlane3D ()
 
 usOrientedPlane3D (const usOrientedPlane3D &plane)
 
 usOrientedPlane3D (const vpPoseVector &pose)
 
 usOrientedPlane3D (const vpColVector &p, const vpColVector &d)
 
virtual ~usOrientedPlane3D ()
 
const usOrientedPlane3Doperator= (const usOrientedPlane3D &plane)
 
void setPose (const vpPoseVector &pose)
 
vpPoseVector getPose () const
 
void setPosition (const vpColVector &P)
 
vpColVector getPosition () const
 
void setDirection (const vpColVector &D)
 
vpColVector getDirection () const
 
void moveInLocalFrame (const vpHomogeneousMatrix &H)
 
void moveInLocalFrame (double x, double y, double z, double tx, double ty, double tz)
 
void moveInWorldFrame (const vpHomogeneousMatrix &H)
 
void moveInWorldFrame (double x, double y, double z, double tx, double ty, double tz)
 

Protected Attributes

vpColVector m_direction
 
vpPoseVector m_pose
 

Friends

VISP_EXPORT std::ostream & operator<< (std::ostream &s, const usOrientedPlane3D &plane)
 
VISP_EXPORT std::istream & operator>> (std::istream &s, usOrientedPlane3D &plane)
 
VISP_EXPORT std::ostream & operator<<= (std::ostream &s, const usOrientedPlane3D &plane)
 
VISP_EXPORT std::istream & operator>>= (std::istream &s, usOrientedPlane3D &plane)
 

Detailed Description

Constructor & Destructor Documentation

◆ usOrientedPlane3D() [1/4]

usOrientedPlane3D::usOrientedPlane3D ( )

Constructors, destructor.

Definition at line 39 of file usOrientedPlane3D.cpp.

◆ usOrientedPlane3D() [2/4]

usOrientedPlane3D::usOrientedPlane3D ( const usOrientedPlane3D plane)

Definition at line 41 of file usOrientedPlane3D.cpp.

◆ usOrientedPlane3D() [3/4]

usOrientedPlane3D::usOrientedPlane3D ( const vpPoseVector &  pose)

Definition at line 46 of file usOrientedPlane3D.cpp.

◆ usOrientedPlane3D() [4/4]

usOrientedPlane3D::usOrientedPlane3D ( const vpColVector &  p,
const vpColVector &  d 
)

Definition at line 48 of file usOrientedPlane3D.cpp.

References setDirection(), and setPosition().

◆ ~usOrientedPlane3D()

usOrientedPlane3D::~usOrientedPlane3D ( )
virtual

Definition at line 54 of file usOrientedPlane3D.cpp.

Member Function Documentation

◆ getDirection()

◆ getPose()

vpPoseVector usOrientedPlane3D::getPose ( ) const

◆ getPosition()

◆ moveInLocalFrame() [1/2]

void usOrientedPlane3D::moveInLocalFrame ( const vpHomogeneousMatrix &  H)
Examples
testUsOrientedPlane3D.cpp.

Definition at line 118 of file usOrientedPlane3D.cpp.

References m_pose, and setPose().

Referenced by moveInLocalFrame().

◆ moveInLocalFrame() [2/2]

void usOrientedPlane3D::moveInLocalFrame ( double  x,
double  y,
double  z,
double  tx,
double  ty,
double  tz 
)

Definition at line 123 of file usOrientedPlane3D.cpp.

References moveInLocalFrame().

◆ moveInWorldFrame() [1/2]

◆ moveInWorldFrame() [2/2]

void usOrientedPlane3D::moveInWorldFrame ( double  x,
double  y,
double  z,
double  tx,
double  ty,
double  tz 
)

Definition at line 133 of file usOrientedPlane3D.cpp.

References moveInWorldFrame().

◆ operator=()

const usOrientedPlane3D & usOrientedPlane3D::operator= ( const usOrientedPlane3D plane)

Definition at line 56 of file usOrientedPlane3D.cpp.

References m_direction, and m_pose.

Referenced by usVirtualSpring::operator=().

◆ setDirection()

◆ setPose()

void usOrientedPlane3D::setPose ( const vpPoseVector &  pose)

Parameters setters and getters.

Examples
testUsOrientedPlane3D.cpp.

Definition at line 64 of file usOrientedPlane3D.cpp.

References m_direction, and m_pose.

Referenced by moveInLocalFrame(), moveInWorldFrame(), and usNeedleInsertionModelRayleighRitzSpline::setSurfaceAtTip().

◆ setPosition()

Friends And Related Function Documentation

◆ operator<<

VISP_EXPORT std::ostream& operator<< ( std::ostream &  s,
const usOrientedPlane3D plane 
)
friend

Data saving.

Text

Definition at line 138 of file usOrientedPlane3D.cpp.

◆ operator<<=

VISP_EXPORT std::ostream& operator<<= ( std::ostream &  s,
const usOrientedPlane3D plane 
)
friend

Binary.

Definition at line 166 of file usOrientedPlane3D.cpp.

◆ operator>>

VISP_EXPORT std::istream& operator>> ( std::istream &  s,
usOrientedPlane3D plane 
)
friend

Definition at line 149 of file usOrientedPlane3D.cpp.

◆ operator>>=

VISP_EXPORT std::istream& operator>>= ( std::istream &  s,
usOrientedPlane3D plane 
)
friend

Definition at line 175 of file usOrientedPlane3D.cpp.

Member Data Documentation

◆ m_direction

vpColVector usOrientedPlane3D::m_direction
protected

Definition at line 45 of file usOrientedPlane3D.h.

Referenced by getDirection(), operator=(), setDirection(), and setPose().

◆ m_pose

vpPoseVector usOrientedPlane3D::m_pose
protected