16 #ifndef SURGSIM_BLOCKS_POSEINTERPOLATOR_H 17 #define SURGSIM_BLOCKS_POSEINTERPOLATOR_H 22 #include "SurgSim/DataStructures/OptionalValue.h" 23 #include "SurgSim/Framework/Behavior.h" 62 void setTarget(std::shared_ptr<SurgSim::Framework::SceneElement> target);
66 void setDuration(
double t);
70 double getDuration()
const;
74 void setLoop(
bool val);
82 void setPingPong(
bool val);
85 bool isPingPong()
const;
87 void update(
double dt)
override;
101 std::shared_ptr<SurgSim::Framework::SceneElement> m_target;
107 double m_currentTime;
115 bool doWakeUp()
override;
117 bool doInitialize()
override;
119 void doRetire()
override;
Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
Behaviors perform actions.
Definition: Behavior.h:40
Perform linear interpolation on two poses.
Definition: PoseInterpolator.h:41