This class extends FollowingTrackball to include the OpenVR HMD transform.
More...
#include <OpenVRDevice.hpp>
|
class | MotionData |
| Data used when computing world transformations during user events. More...
|
|
|
enum | OneButtonMode { ONEBUTTON_TRANSLATE,
ONEBUTTON_ROTATE,
ONEBUTTON_DISABLE
} |
|
enum | TwoButtonMode { TWOBUTTON_ROTATESCALE,
TWOBUTTON_DISABLE
} |
|
|
| OpenVRTrackball (OpenVRDevice *ovrDevice) |
|
virtual const char * | className () const |
|
virtual osg::Matrixd | getMatrix () const |
|
virtual osg::Matrixd | getInverseMatrix () const |
|
const osg::Matrixd & | getRoomToTrackballMatrix () const |
|
void | setRoomToTrackballMatrix (const osg::Matrixd &roomPose) |
|
double | getDefaultWorldUnitsPerMeterRatio () const |
|
void | setDefaultWorldUnitsPerMeterRatio (const double &wum) |
|
void | setOneButtonMode (OneButtonMode mode) |
|
OneButtonMode | getOneButtonMode () const |
|
void | setTwoButtonMode (TwoButtonMode mode) |
|
TwoButtonMode | getTwoButtonMode () const |
|
virtual bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
|
void | setTransformSources (TransformAccumulator *xform, TransformAccumulator *xform_lookat, View::ViewFrameType frameType, View::ViewRotationType rotationType) |
|
|
enum | MotionMode { NONE = 0,
ONEBUTTON,
TWOBUTTON
} |
|
|
void | processMotion () |
|
void | processOneButtonMotion () |
|
void | processTwoButtonMotion () |
|
virtual void | saveState () |
|
virtual void | restoreState () |
|
virtual void | resetState () |
|
void | saveCurrentMotionData () |
|
void | computeWorldToViewMatrix (osg::Matrixd &matrix) const |
|
This class extends FollowingTrackball to include the OpenVR HMD transform.
This class extends FollowingTrackball to include the OpenVR HMD transform, resulting in the World->Head transform. That can be combined with the Head->Eye transform to create the per-eye view matrices.
◆ MotionMode
Type of user motion when one or two buttons are pressed
The documentation for this class was generated from the following file: