Event handler that enables clicking on an image using VR controllers.
More...
#include <OpenVRDevice.hpp>
|
class | PickData |
| Data used when computing world transformations during user events. More...
|
|
|
| OpenVRImageHandler (const OpenVRDevice *ovrDevice, osg::Image *image) |
|
| META_Object (OpenFrames, OpenVRImageHandler) |
|
virtual bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa, osg::Object *obj, osg::NodeVisitor *nv) |
|
void | setSelectedWidth (const float &width) |
|
float | getSelectedWidth () |
|
void | setSelectedColor (const osg::Vec4 &color) |
|
const osg::Vec4 & | getSelectedColor () const |
|
void | setTriggerThreshold (const float &threshold) |
|
float | getTriggerThreshold () const |
|
|
| OpenVRImageHandler (const OpenVRImageHandler &ovrih, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
|
void | processImagePick () |
| Process the image pick operatoin at each frame.
|
|
float | getTriggerValue (const vr::VRControllerState_t *controllerState) const |
| Get the value of the controller's trigger button.
|
|
void | saveCurrentPickData (PickMode mode, osgViewer::View *view, osg::NodeVisitor *nv, uint32_t device1ID) |
|
Event handler that enables clicking on an image using VR controllers.
◆ PickMode
Type of image pick action currently being handled
The documentation for this class was generated from the following file: