33 #ifndef __usNeedleTip_h
34 #define __usNeedleTip_h
38 #include <visp3/core/vpColVector.h>
39 #include <visp3/core/vpHomogeneousMatrix.h>
40 #include <visp3/core/vpPoseVector.h>
61 void setBasePose(
const vpPoseVector &pose);
62 vpPoseVector getBasePose()
const;
63 void setWorldMbase(
const vpHomogeneousMatrix &worldMbase);
64 vpHomogeneousMatrix getWorldMbase()
const;
65 void setBasePosition(
const vpColVector &position);
66 vpColVector getBasePosition()
const;
68 vpPoseVector getTipPose()
const;
69 vpHomogeneousMatrix getWorldMtip()
const;
70 vpColVector getTipPosition()
const;
71 vpColVector getTipDirection()
const;
73 vpColVector getBaseAxisX()
const;
74 vpColVector getBaseAxisY()
const;
75 vpColVector getBaseAxisZ()
const;
80 friend VISP_EXPORT std::ostream &operator<<(std::ostream &s,
const usNeedleTip &tip);
81 friend VISP_EXPORT std::istream &operator>>(std::istream &s,
usNeedleTip &tip);
83 friend VISP_EXPORT std::ostream &operator<<=(std::ostream &s,
const usNeedleTip &tip);
84 friend VISP_EXPORT std::istream &operator>>=(std::istream &s,
usNeedleTip &tip);
87 virtual void updateTipPose();
90 VISP_EXPORT std::ostream &operator<<(std::ostream &s,
const usNeedleTip &tip);
91 VISP_EXPORT std::istream &operator>>(std::istream &s,
usNeedleTip &tip);
93 VISP_EXPORT std::ostream &operator<<=(std::ostream &s,
const usNeedleTip &tip);
94 VISP_EXPORT std::istream &operator>>=(std::istream &s,
usNeedleTip &tip);
vpHomogeneousMatrix m_worldMbase
vpHomogeneousMatrix m_worldMtip