9 #include "imstkComponent.h" 10 #include "imstkPuncture.h" 36 std::shared_ptr<Puncture> getPuncture(
const PunctureId&
id);
39 bool getPunctured()
const;
42 PunctureMap m_punctures;
49 std::shared_ptr<Puncturable> puncturable,
50 const int supportId = -1);
PunctureId getPunctureId(std::shared_ptr< Needle > needle, std::shared_ptr< Puncturable > puncturable, const int supportId)
Get puncture id between needle and puncturable.
Place this on an object to make it puncturable by a needle. This allows puncturables to know they've ...
Represents a part of an entity, involved in a system. The component system is doubly linked meaning t...
void setPuncture(const PunctureId &id, std::shared_ptr< Puncture > data)
Get/Set puncture data.
std::tuple< int, int, int > PunctureId
Punctures are identified via three ints. The needle id, the puncturable id, and a local id that allow...