113 #ifndef vtkOpenVRRenderWindowInteractor_h
114 #define vtkOpenVRRenderWindowInteractor_h
117 #include "vtkRenderingOpenVRModule.h"
120 #include <functional>
125 VTK_ABI_NAMESPACE_BEGIN
166 bool UseFunction =
false;
167 bool IsAnalog =
false;
171 vr::VRActionSetHandle_t ActionsetVTK = vr::k_ulInvalidActionSetHandle;
183 vr::VRInputValueHandle_t Source = vr::k_ulInvalidInputValueHandle;
194 VTK_ABI_NAMESPACE_END
vr::VRActionHandle_t ActionHandle
vtkCommand::EventIds EventId
std::function< void(vtkEventData *)> Function
Implements OpenVR specific functions required by vtkVRRenderWindowInteractor.
void DoOneEvent(vtkVRRenderWindow *renWin, vtkRenderer *ren) override
Implements the event loop.
~vtkOpenVRRenderWindowInteractor() override=default
void Initialize() override
Initialize the event handler.
void AddAction(const std::string &path, bool isAnalog, const std::function< void(vtkEventData *)> &) override
Assign an event or std::function to an event path.
std::map< std::string, ActionData > ActionMap
vtkOpenVRRenderWindowInteractor()
Create and set the openvr style on this Set ActionManifestFileName to vtk_openvr_actions....
static vtkOpenVRRenderWindowInteractor * New()
void AddAction(const std::string &path, const vtkCommand::EventIds &, bool isAnalog) override
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