9 #include "imstkNeedle.h" 26 void setNeedleGeometry(std::shared_ptr<LineMesh> straightNeedleGeom) { m_needleGeom = straightNeedleGeom; }
27 std::shared_ptr<LineMesh> getNeedleGeometry()
const {
return m_needleGeom; }
39 const Vec3d& getNeedleStart()
const;
40 const Vec3d& getNeedleEnd()
const;
43 std::shared_ptr<LineMesh> m_needleGeom;
Vec3d getNeedleDirection() const override
Returns axes/direciton of the needle.
Vec3d getNeedleTip() const override
Returns tip of the needle.
Definition of straight, single segment needle.
Base for all needles in imstk it supports global puncture state, per object puncture state...