1 #ifndef GEPETTO_VIEWER_FPSMANIPULATOR_H 2 #define GEPETTO_VIEWER_FPSMANIPULATOR_H 14 #include <osgGA/FirstPersonManipulator> 15 #include <osgViewer/Viewer> 17 #include <osgViewer/GraphicsWindow> 30 typedef FirstPersonManipulator inherited;
42 virtual bool handleKeyDown(
const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& us );
43 virtual bool handleKeyUp(
const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& us );
44 virtual bool handleFrame(
const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& us );
45 virtual bool handleMousePush(
const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& us );
46 virtual bool handleMouseRelease(
const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& us );
48 virtual bool performMovementLeftMouseButton(
const double eventTimeDelta,
const double dx,
const double dy );
50 virtual void rotateRoll(
const double roll);
51 virtual void getUsage(osg::ApplicationUsage &usage)
const;
64 osg::Quat rotateRoll_;
71 osgViewer::GraphicsWindow* gWindow_;
101 #endif // FPSMANIPULATOR_H Definition: keyboard-manipulator.h:88
Definition: keyboard-manipulator.h:98
Definition: keyboard-manipulator.h:98
Definition: keyboard-manipulator.h:94
Definition: keyboard-manipulator.h:93
Definition: keyboard-manipulator.h:91
Definition: keyboard-manipulator.h:89
KeyBinding
Definition: keyboard-manipulator.h:85
Definition: keyboard-manipulator.h:23
Definition: keyboard-manipulator.h:92
keyLayout
Definition: keyboard-manipulator.h:97
Definition: keyboard-manipulator.h:87
Definition: keyboard-manipulator.h:90
Definition: keyboard-manipulator.h:98
Definition: keyboard-manipulator.h:28
const double startSpeed_
Definition: keyboard-manipulator.h:25