16 #ifndef SURGSIM_BLOCKS_TRANSFERPHYSICSTOVERTICESBEHAVIOR_H 17 #define SURGSIM_BLOCKS_TRANSFERPHYSICSTOVERTICESBEHAVIOR_H 19 #include "SurgSim/DataStructures/EmptyData.h" 21 #include "SurgSim/DataStructures/Vertices.h" 22 #include "SurgSim/Framework/Behavior.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;
Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
Transfer Physics State to any representation that has a Vertices property, the "Vertices" property on...
Definition: TransferPhysicsToVerticesBehavior.h:41
Behaviors perform actions.
Definition: Behavior.h:40
Base class for mesh structures, handling basic vertex functionality.
Definition: Vertices.h:51