FirstPersonManipulator is base class for camera control based on position and orientation of camera, like walk, drive, and flight manipulators.
More...
#include <gepetto/viewer/OSGManipulator/keyboard-manipulator.h>
|
virtual bool | handleKeyDown (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | handleKeyUp (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | handleFrame (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | handleMousePush (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | handleMouseRelease (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
virtual bool | performMovementLeftMouseButton (const double eventTimeDelta, const double dx, const double dy) |
|
virtual void | rotateRoll (const double roll) |
|
virtual void | getUsage (osg::ApplicationUsage &usage) const |
|
bool | initKeyboard () |
|
FirstPersonManipulator is base class for camera control based on position and orientation of camera, like walk, drive, and flight manipulators.
osgGA::KeyboardManipulator::KeyboardManipulator |
( |
int |
flags = DEFAULT_SETTINGS | ) |
|
osgGA::KeyboardManipulator::KeyboardManipulator |
( |
const KeyboardManipulator & |
fpm, |
|
|
const osg::CopyOp & |
copyOp = osg::CopyOp::SHALLOW_COPY |
|
) |
| |
osgGA::KeyboardManipulator::KeyboardManipulator |
( |
osgViewer::GraphicsWindow * |
window, |
|
|
int |
flags = DEFAULT_SETTINGS |
|
) |
| |
Constructor with reference to the graphic window, needed for hidding mouse cursor.
virtual void osgGA::KeyboardManipulator::getUsage |
( |
osg::ApplicationUsage & |
usage | ) |
const |
|
protectedvirtual |
virtual bool osgGA::KeyboardManipulator::handleFrame |
( |
const osgGA::GUIEventAdapter & |
ea, |
|
|
osgGA::GUIActionAdapter & |
us |
|
) |
| |
|
protectedvirtual |
virtual bool osgGA::KeyboardManipulator::handleKeyDown |
( |
const osgGA::GUIEventAdapter & |
ea, |
|
|
osgGA::GUIActionAdapter & |
us |
|
) |
| |
|
protectedvirtual |
virtual bool osgGA::KeyboardManipulator::handleKeyUp |
( |
const osgGA::GUIEventAdapter & |
ea, |
|
|
osgGA::GUIActionAdapter & |
us |
|
) |
| |
|
protectedvirtual |
virtual bool osgGA::KeyboardManipulator::handleMousePush |
( |
const osgGA::GUIEventAdapter & |
ea, |
|
|
osgGA::GUIActionAdapter & |
us |
|
) |
| |
|
protectedvirtual |
virtual bool osgGA::KeyboardManipulator::handleMouseRelease |
( |
const osgGA::GUIEventAdapter & |
ea, |
|
|
osgGA::GUIActionAdapter & |
us |
|
) |
| |
|
protectedvirtual |
bool osgGA::KeyboardManipulator::initKeyboard |
( |
| ) |
|
|
protected |
virtual bool osgGA::KeyboardManipulator::performMovementLeftMouseButton |
( |
const double |
eventTimeDelta, |
|
|
const double |
dx, |
|
|
const double |
dy |
|
) |
| |
|
protectedvirtual |
virtual void osgGA::KeyboardManipulator::rotateRoll |
( |
const double |
roll | ) |
|
|
protectedvirtual |