14 #ifndef vtkOpenVRRenderWindowInteractor_h
15 #define vtkOpenVRRenderWindowInteractor_h
18 #include "vtkRenderingOpenVRModule.h"
26 VTK_ABI_NAMESPACE_BEGIN
67 bool UseFunction =
false;
68 bool IsAnalog =
false;
72 vr::VRActionSetHandle_t ActionsetVTK = vr::k_ulInvalidActionSetHandle;
84 vr::VRInputValueHandle_t Source = vr::k_ulInvalidInputValueHandle;
virtual void DoOneEvent(vtkVRRenderWindow *renWin, vtkRenderer *ren)=0
Implements the event loop.
Implements OpenVR specific functions required by vtkVRRenderWindowInteractor.
Implements VR specific functions required by vtkRenderWindowInteractor.
vr::TrackedDevicePose_t LastPose
abstract specification for renderers
vr::VRActionHandle_t ActionHandle
std::map< std::string, ActionData > ActionMap
virtual void AddAction(const std::string &path, const vtkCommand::EventIds &, bool isAnalog)=0
Assign an event or std::function to an event path.
void Initialize() override
Initialize the event handler.
vtkCommand::EventIds EventId
std::function< void(vtkEventData *)> Function
static vtkRenderWindowInteractor3D * New()
Construct object so that light follows camera motion.