35#ifndef vtkOpenXRRenderWindowInteractor_h
36#define vtkOpenXRRenderWindowInteractor_h
38#include "vtkRenderingOpenXRModule.h"
47VTK_ABI_NAMESPACE_BEGIN
81 const std::string& path,
bool isAnalog,
const std::function<
void(
vtkEventData*)>&)
override;
89 bool ApplyVibration(
const std::string& actionName,
int hand,
float amplitude = 0.5,
90 float duration = 25000000.0,
float frequency = 0.0);
a simple class to control print indentation
Allocate and hold a VTK object.
void AddAction(const std::string &path, bool isAnalog, const std::function< void(vtkEventData *)> &) override
Assign an event or std::function to an event path.
void DoOneEvent(vtkVRRenderWindow *renWin, vtkRenderer *ren) override
Implements the event loop.
void AddAction(const std::string &path, const std::function< void(vtkEventData *)> &)
Assign an event or std::function to an event path.
vtkNew< vtkMatrix4x4 > PoseToWorldMatrix
std::unique_ptr< vtkInternal > Internal
bool ApplyVibration(const std::string &actionName, int hand, float amplitude=0.5, float duration=25000000.0, float frequency=0.0)
Apply haptic vibration using the provided action action to emit vibration on hand to emit on amplitud...
void AddAction(const std::string &path, const vtkCommand::EventIds &)
Assign an event or std::function to an event path.
~vtkOpenXRRenderWindowInteractor() override
void AddAction(const std::string &path, const vtkCommand::EventIds &, bool isAnalog) override
Assign an event or std::function to an event path.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkOpenXRRenderWindowInteractor * New()
void Initialize() override
Initialize the event handler.
vtkOpenXRRenderWindowInteractor()
Create and set the openxr style on this Set ActionManifestFileName to vtk_openxr_actions....
abstract specification for renderers
vtkVRRenderWindowInteractor()