16 #ifndef SURGSIM_BLOCKS_DRIVEELEMENTFROMINPUTBEHAVIOR_H 17 #define SURGSIM_BLOCKS_DRIVEELEMENTFROMINPUTBEHAVIOR_H 19 #include "SurgSim/Framework/Behavior.h" 20 #include "SurgSim/Framework/ObjectFactory.h" 33 SURGSIM_STATIC_REGISTRATION(DriveElementFromInputBehavior);
49 int getTargetManagerType()
const override;
53 void setSource(std::shared_ptr<SurgSim::Framework::Component> source);
57 std::shared_ptr<SurgSim::Framework::Component> getSource();
61 void setPoseName(
const std::string& poseName);
65 std::string getPoseName();
69 virtual void update(
double dt);
73 virtual bool doInitialize();
76 virtual bool doWakeUp();
80 std::shared_ptr<SurgSim::Input::InputComponent> m_source;
82 std::string m_poseName;
91 #endif // SURGSIM_BLOCKS_DRIVEELEMENTFROMINPUTBEHAVIOR_H 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