23 #ifndef vtkOculusRenderWindowInteractor_h 24 #define vtkOculusRenderWindowInteractor_h 26 #include "vtkRenderingOculusModule.h" 63 static void SetClassExitMethod(
void (*f)(
void *),
void *arg);
64 static void SetClassExitMethodArgDelete(
void (*f)(
void *));
92 static void (*ClassExitMethod)(
void *);
93 static void (*ClassExitMethodArgDelete)(
void *);
virtual void SetPhysicalTranslation(vtkCamera *, double, double, double)
Set/Get the optional translation to map world coordinates into the 3D physical space (meters...
implements Oculus specific functions required by vtkRenderWindowInteractor.
virtual int InternalDestroyTimer(int platformTimerId)
Internal methods for creating and destroying timers that must be implemented by subclasses.
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Internal methods for creating and destroying timers that must be implemented by subclasses.
adds support for 3D events to vtkRenderWindowInteractor.
void TerminateApp(void) override
OpenVR specific application terminate, calls ClassExitMethod then calls PostQuitMessage(0) to termina...
virtual double * GetPhysicalTranslation(vtkCamera *)
Set/Get the optional translation to map world coordinates into the 3D physical space (meters...
virtual void Initialize()
Prepare for handling events and set the Enabled flag to true.
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
virtual void ExitCallback()
These methods correspond to the the Exit, User and Pick callbacks.
a virtual camera for 3D rendering
virtual void StartEventLoop()
Run the event loop (does not return until TerminateApp is called).
static void * ClassExitMethodArg
Class variables so an exit method can be defined for this class (used to set different exit methods f...
vtkNew< vtkTransform > PoseTransform
static vtkRenderWindowInteractor3D * New()
Construct object so that light follows camera motion.