16 #ifndef SURGSIM_GRAPHICS_VIEWELEMENT_H 17 #define SURGSIM_GRAPHICS_VIEWELEMENT_H 51 virtual bool setView(std::shared_ptr<View> view);
55 std::shared_ptr<View> getView();
59 void setCamera(std::shared_ptr<Camera> camera);
63 std::shared_ptr<Camera> getCamera();
67 virtual std::shared_ptr<SurgSim::Input::CommonDevice> getKeyboardDevice() = 0;
71 virtual void enableKeyboardDevice(
bool val) = 0;
75 virtual std::shared_ptr<SurgSim::Input::CommonDevice> getMouseDevice() = 0;
79 virtual void enableMouseDevice(
bool val) = 0;
84 bool doInitialize()
override;
97 #endif // SURGSIM_GRAPHICS_VIEWELEMENT_H Definition: CompoundShapeToGraphics.cpp:29
std::shared_ptr< Camera > m_camera
Camera component connected to the view.
Definition: ViewElement.h:91
Simple concrete implementation of a scene element that does not have any higher logic.
Definition: BasicSceneElement.h:29
Basic SceneElement that wraps a View so that it can be added to the Scene.
Definition: ViewElement.h:39
std::shared_ptr< View > m_view
View component that provides the visualization of the graphics representations.
Definition: ViewElement.h:88