16 #ifndef SURGSIM_BLOCKS_SINGLEKEYBEHAVIOR_H 17 #define SURGSIM_BLOCKS_SINGLEKEYBEHAVIOR_H 22 #include "SurgSim/Blocks/KeyBehavior.h" 45 bool doWakeUp()
override;
55 void setDescription(
const std::string& description);
57 virtual void onKey() = 0;
59 void onKeyDown(
int actualKey)
override;
61 void onKeyUp(
int actualKey)
override;
63 std::shared_ptr<Input::InputComponent> m_inputComponent;
68 std::string m_description;
74 #endif // SURGSIM_BLOCKS_SINGLEKEYBEHAVIOR_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
int m_actionKey
Registered key to trigger action.
Definition: SingleKeyBehavior.h:66
Behavior to abstract the functionality of keyboard driven behaviors, can be programmed to react to a ...
Definition: SingleKeyBehavior.h:36
Behavior to abstract the functionality of keyboard driven behaviors, can be programmed to react to a ...
Definition: KeyBehavior.h:36