7 #include "imstkStraightNeedle.h" 8 #include "imstkLineMesh.h" 15 return (-m_needleGeom->getRotation().col(1)).normalized();
19 StraightNeedle::getNeedleStart()
const 21 return (*m_needleGeom->getVertexPositions())[0];
25 StraightNeedle::getNeedleEnd()
const 27 return (*m_needleGeom->getVertexPositions())[1];
Vec3d getNeedleDirection() const override
Returns axes/direciton of the needle.