9 #include "imstkKeyboardControl.h" 14 class SceneControlText;
40 void setSceneManager(std::weak_ptr<SceneManager> sceneManager) { m_sceneManager = sceneManager; }
42 void setSceneControlText(std::shared_ptr<SceneControlText> sceneControlText) { m_sceneControlText = sceneControlText; }
46 void OnKeyPress(
const char key)
override;
49 std::weak_ptr<ModuleDriver> m_driver;
50 std::weak_ptr<SceneManager> m_sceneManager;
51 std::shared_ptr<SceneControlText> m_sceneControlText;
void printControls() override
Prints the controls.
void setSceneManager(std::weak_ptr< SceneManager > sceneManager)
Set the scene manager whose fps we should track.
void setModuleDriver(std::weak_ptr< ModuleDriver > driver)
The driver is used to stop the simulation.
This implements keyboard controls to control a scene manager and viewer it may operate with both scen...