UsTK : Ultrasound ToolKit  version 2.0.1 under development (2024-12-17)
usTissueModelSpline.h
1 #ifndef __usTissueModelSpline_h
2 #define __usTissueModelSpline_h
3 
4 #include <iostream>
5 
6 #include <visp3/ustk_core/usBSpline3D.h>
7 #include <visp3/ustk_core/usOrientedPlane3D.h>
8 
9 class VISP_EXPORT usTissueModelSpline
10 {
11 public:
13 
16 
17 public:
19 
22  virtual ~usTissueModelSpline();
23  const usTissueModelSpline &operator=(const usTissueModelSpline &tissue);
24 
25  virtual usTissueModelSpline *clone() const; // Polymorph copy method
26 
28 
29  const usOrientedPlane3D &accessSurface() const;
30  usOrientedPlane3D &accessSurface();
31  const usBSpline3D &accessPath() const;
32  usBSpline3D &accessPath();
33 
34  bool moveInWorldFrame(const vpHomogeneousMatrix &H);
35  bool moveInWorldFrame(double x, double y, double z, double tx, double ty, double tz);
36  bool move(const vpHomogeneousMatrix &H);
37  bool move(double x, double y, double z, double tx, double ty, double tz);
38  bool setPose(const vpPoseVector &p);
39  vpPoseVector getPose() const;
40 
42 
44  friend VISP_EXPORT std::ostream &operator<<(std::ostream &s, const usTissueModelSpline &tissue);
45  friend VISP_EXPORT std::istream &operator>>(std::istream &s, usTissueModelSpline &tissue);
47  friend VISP_EXPORT std::ostream &operator<<=(std::ostream &s, const usTissueModelSpline &tissue);
48  friend VISP_EXPORT std::istream &operator>>=(std::istream &s, usTissueModelSpline &tissue);
49 };
50 
51 VISP_EXPORT std::ostream &operator<<(std::ostream &s, const usTissueModelSpline &tissue);
52 VISP_EXPORT std::istream &operator>>(std::istream &s, usTissueModelSpline &tissue);
53 
54 VISP_EXPORT std::ostream &operator<<=(std::ostream &s, const usTissueModelSpline &tissue);
55 VISP_EXPORT std::istream &operator>>=(std::istream &s, usTissueModelSpline &tissue);
56 
57 #endif // __usTissueModelSpline_h
usOrientedPlane3D m_surface
Tissue parameters.