33 #ifndef __usNeedleModelBaseTip_h_
34 #define __usNeedleModelBaseTip_h_
38 #include <visp3/core/vpColVector.h>
39 #include <visp3/core/vpHomogeneousMatrix.h>
40 #include <visp3/core/vpPoseVector.h>
63 vpPoseVector getBasePose()
const;
64 vpHomogeneousMatrix getWorldMbase()
const;
65 vpColVector getBasePosition()
const;
66 vpColVector getBaseDirection()
const;
68 vpPoseVector getTipPose()
const;
69 vpHomogeneousMatrix getWorldMtip()
const;
70 vpColVector getTipPosition()
const;
71 vpColVector getTipDirection()
const;
75 void setBasePose(
double tx,
double ty,
double tz,
double thetax,
double thetay,
double thetaz);
76 void setBasePose(
const vpPoseVector &pose);
77 void setBasePose(
const vpHomogeneousMatrix &Hpose);
79 void setTipPose(
double tx,
double ty,
double tz,
double thetax,
double thetay,
double thetaz);
80 void setTipPose(
const vpPoseVector &pose);
81 void setTipPose(
const vpHomogeneousMatrix &Hpose);
83 void moveBase(
const vpColVector &control,
double time);
84 void moveBase(
double tx,
double ty,
double tz,
double thetax,
double thetay,
double thetaz);
85 void moveBase(
const vpPoseVector &pose);
86 void moveBase(
const vpColVector &v);
87 void moveBase(
const vpHomogeneousMatrix &Hmotion);
89 void moveBaseWorldFrame(
const vpColVector &command,
double time);
90 void moveBaseWorldFrame(
double tx,
double ty,
double tz,
double thetax,
double thetay,
double thetaz);
91 void moveBaseWorldFrame(
const vpPoseVector &pose);
92 void moveBaseWorldFrame(
const vpColVector &v);
93 void moveBaseWorldFrame(
const vpHomogeneousMatrix &Hmotion);
95 void moveTip(
const vpColVector &control,
double time);
96 void moveTip(
double tx,
double ty,
double tz,
double thetax,
double thetay,
double thetaz);
97 void moveTip(
const vpPoseVector &pose);
98 void moveTip(
const vpColVector &v);
99 void moveTip(
const vpHomogeneousMatrix &Hmotion);
101 void moveTipWorldFrame(
const vpColVector &command,
double time);
102 void moveTipWorldFrame(
double tx,
double ty,
double tz,
double thetax,
double thetay,
double thetaz);
103 void moveTipWorldFrame(
const vpPoseVector &pose);
104 void moveTipWorldFrame(
const vpColVector &v);
105 void moveTipWorldFrame(
const vpHomogeneousMatrix &Hmotion);
110 friend VISP_EXPORT std::ostream &operator<<(std::ostream &s,
const usNeedleModelBaseTip &needle);
113 friend VISP_EXPORT std::ostream &operator<<=(std::ostream &s,
const usNeedleModelBaseTip &needle);
vpHomogeneousMatrix m_worldMtip
vpHomogeneousMatrix m_worldMbase