11#ifndef vtkOpenVRRenderWindowInteractor_h
12#define vtkOpenVRRenderWindowInteractor_h
15#include "vtkRenderingOpenVRModule.h"
23VTK_ABI_NAMESPACE_BEGIN
63 bool UseFunction =
false;
64 bool IsAnalog =
false;
68 vr::VRActionSetHandle_t ActionsetVTK = vr::k_ulInvalidActionSetHandle;
80 vr::VRInputValueHandle_t Source = vr::k_ulInvalidInputValueHandle;
vr::VRActionHandle_t ActionHandle
vtkCommand::EventIds EventId
std::function< void(vtkEventData *)> Function
Implements OpenVR specific functions required by vtkVRRenderWindowInteractor.
void AddAction(std::string path, bool isAnalog, std::function< void(vtkEventData *)>)
Assign an event or std::function to an event path.
void DoOneEvent(vtkVRRenderWindow *renWin, vtkRenderer *ren) override
Implements the event loop.
~vtkOpenVRRenderWindowInteractor() override=default
void Initialize() override
Initialize the event handler.
static vtkOpenVRRenderWindowInteractor * New()
std::map< std::string, ActionData > ActionMap
vtkOpenVRRenderWindowInteractor()
Create and set the openvr style on this Set ActionManifestFileName to vtk_openvr_actions....
void AddAction(std::string path, vtkCommand::EventIds, bool isAnalog)
Assign an event or std::function to an event path.
abstract specification for renderers
Implements VR specific functions required by vtkRenderWindowInteractor.
vr::TrackedDevicePose_t LastPose