16 #ifndef SURGSIM_GRAPHICS_OSGVIEWELEMENT_H 17 #define SURGSIM_GRAPHICS_OSGVIEWELEMENT_H 19 #include <osg/ref_ptr> 55 virtual bool setView(std::shared_ptr<View> view)
override;
60 void enableManipulator(
bool val);
70 virtual std::shared_ptr<SurgSim::Input::CommonDevice> getKeyboardDevice()
override;
73 virtual void enableKeyboardDevice(
bool val)
override;
77 virtual std::shared_ptr<SurgSim::Input::CommonDevice> getMouseDevice()
override;
80 virtual void enableMouseDevice(
bool val)
override;
93 #endif // SURGSIM_GRAPHICS_OSGVIEWELEMENT_H Definition: DriveElementFromInputBehavior.cpp:27
bool m_keyboardEnabled
Indicate if a keyboard device is enabled.
Definition: OsgViewElement.h:84
string(TOUPPER ${DEVICE}DEVICE_UPPER_CASE) option(BUILD_DEVICE_ $
Definition: CMakeLists.txt:35
OSG-based implementation of graphics view element.
Definition: OsgViewElement.h:41
Basic SceneElement that wraps a View so that it can be added to the Scene.
Definition: ViewElement.h:39
Definitions of small fixed-size vector types.
bool m_mouseEnabled
Indicate if a mouse device is enabled.
Definition: OsgViewElement.h:86
Eigen::Matrix< double, 3, 1 > Vector3d
A 3D vector of doubles.
Definition: Vector.h:56