16 #ifndef SURGSIM_BLOCKS_TRANSFERPHYSICSTOVERTICESBEHAVIOR_H 17 #define SURGSIM_BLOCKS_TRANSFERPHYSICSTOVERTICESBEHAVIOR_H 29 class DeformableRepresentation;
33 class CurveRepresentation;
50 std::shared_ptr<Physics::DeformableRepresentation> getSource()
const;
55 void setSource(
const std::shared_ptr<Framework::Component>& source);
58 std::shared_ptr<Framework::Component> getTarget()
const;
64 void setTarget(
const std::shared_ptr<Framework::Component>& target);
68 void update(
double dt)
override;
70 bool doInitialize()
override;
72 bool doWakeUp()
override;
76 std::shared_ptr<Physics::DeformableRepresentation>
m_source;
77 std::shared_ptr<Framework::Component>
m_target;
Definition: CompoundShapeToGraphics.cpp:29
Transfer Physics State to any representation that has a Vertices property, the "Vertices" property on...
Definition: TransferPhysicsToVerticesBehavior.h:41
std::shared_ptr< Physics::DeformableRepresentation > m_source
Definition: TransferPhysicsToVerticesBehavior.h:76
DataStructures::VerticesPlain m_vertices
< Target representation
Definition: TransferPhysicsToVerticesBehavior.h:80
Behaviors perform actions.
Definition: Behavior.h:40
std::shared_ptr< Framework::Component > m_target
< Source representation
Definition: TransferPhysicsToVerticesBehavior.h:77
Base class for mesh structures, handling basic vertex functionality.
Definition: Vertices.h:51