16 #ifndef vtkOpenXRRenderWindowInteractor_h
17 #define vtkOpenXRRenderWindowInteractor_h
19 #include "vtkRenderingOpenXRModule.h"
30 VTK_ABI_NAMESPACE_BEGIN
49 XrPosef* GetHandPose(uint32_t hand);
61 void ConvertOpenXRPoseToWorldCoordinates(
const XrPosef& xrPose,
72 bool ApplyVibration(
const std::string& actionName,
int hand,
float amplitude = 0.5f,
73 float duration = 25000000.0f,
float frequency = XR_FREQUENCY_UNSPECIFIED);
89 void ProcessXrEvents();
100 bool LoadActions(
const std::string& actionFilename);
101 bool LoadDefaultBinding(
const std::string& bindingFilename);
122 bool UseFunction =
false;
135 VTK_ABI_NAMESPACE_END
implements OpenXR specific functions required by vtkRenderWindowInteractor.
virtual void DoOneEvent(vtkVRRenderWindow *renWin, vtkRenderer *ren)=0
Implements the event loop.
Implements VR specific functions required by vtkRenderWindowInteractor.
MapAction MapActionStruct_Name
vtkNew< vtkMatrix4x4 > PoseToWorldMatrix
abstract specification for renderers
vtkOpenXRManager::Action_t Action_t
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
void Initialize() override
Initialize the event handler.
std::function< void(vtkEventData *)> Function
vtkCommand::EventIds EventId
std::map< std::string, ActionData * > MapAction
static vtkRenderWindowInteractor3D * New()
Construct object so that light follows camera motion.