113#ifndef vtkOpenVRRenderWindowInteractor_h
114#define vtkOpenVRRenderWindowInteractor_h
117#include "vtkRenderingOpenVRModule.h"
125VTK_ABI_NAMESPACE_BEGIN
148 const std::string& path,
bool isAnalog,
const std::function<
void(
vtkEventData*)>&)
override;
166 bool UseFunction =
false;
167 bool IsAnalog =
false;
171 vr::VRActionSetHandle_t ActionsetVTK = vr::k_ulInvalidActionSetHandle;
183 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 DoOneEvent(vtkVRRenderWindow *renWin, vtkRenderer *ren) override
Implements the event loop.
~vtkOpenVRRenderWindowInteractor() override=default
void Initialize() override
Initialize the event handler.
static vtkOpenVRRenderWindowInteractor * New()
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....
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