9 #include "imstkGeometryMap.h" 10 #include "imstkMacros.h" 11 #include "imstkMath.h" 25 std::shared_ptr<Geometry> child)
44 void setLocalOffset(
const Vec3d& offset)
46 m_localOffset = offset;
58 bool m_useOffset =
false;
59 Vec3d m_localOffset = Vec3d::Zero();
void requestUpdate() override
Apply the map.
void setParentGeometry(std::shared_ptr< Geometry > parent)
Get/Set parent geometry.
const Vec3d & getLocalOffset() const
Get/Set an offset for the child that transforms locally with the parent.
void setChildGeometry(std::shared_ptr< Geometry > child)
Get/Set child geometry.
A maps that lets the child follow the parent transform.
Base class for any geometric map.
void compute() override
Compute the map.