Go to the documentation of this file.
26 #ifndef vtkOpenVRRenderWindowInteractor_h
27 #define vtkOpenVRRenderWindowInteractor_h
29 #include "vtkRenderingOpenVRModule.h"
66 static void SetClassExitMethod(
void (*f)(
void *),
void *arg);
67 static void SetClassExitMethodArgDelete(
void (*f)(
void *));
91 void UpdateTouchPadPosition(vr::IVRSystem *pHMD,
92 vr::TrackedDeviceIndex_t tdi);
100 static void (*ClassExitMethod)(
void *);
101 static void (*ClassExitMethodArgDelete)(
void *);
126 void ConvertPoseToWorldCoordinates(
128 vr::TrackedDevicePose_t &tdPose,
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Internal methods for creating and destroying timers that must be implemented by subclasses.
virtual void StartEventLoop()
Run the event loop (does not return until TerminateApp is called).
virtual int InternalDestroyTimer(int platformTimerId)
adds support for 3D events to vtkRenderWindowInteractor.
vtkNew< vtkTransform > PoseTransform
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
a virtual camera for 3D rendering
virtual void SetPhysicalTranslation(vtkCamera *, double, double, double)
Set/Get the optional translation to map world coordinates into the 3D physical space (meters,...
virtual void ExitCallback()
These methods correspond to the the Exit, User and Pick callbacks.
virtual double * GetPhysicalTranslation(vtkCamera *)
abstract specification for renderers
virtual void Initialize()
Prepare for handling events and set the Enabled flag to true.
implements OpenVR specific functions required by vtkRenderWindowInteractor.
void TerminateApp(void)
OpenVR specific application terminate, calls ClassExitMethod then calls PostQuitMessage(0) to termina...
static void * ClassExitMethodArg
static vtkRenderWindowInteractor3D * New()
Construct object so that light follows camera motion.