11 #ifndef vtkVRRenderWindowInteractor_h
12 #define vtkVRRenderWindowInteractor_h
17 #include "vtkRenderingVRModule.h"
21 VTK_ABI_NAMESPACE_BEGIN
54 static void SetClassExitMethod(
void (*f)(
void*),
void* arg);
55 static void SetClassExitMethodArgDelete(
void (*f)(
void*));
107 void ConvertPoseToWorldCoordinates(
vtkMatrix4x4* poseInTrackingCoordinates,
double pos[3],
108 double wxyz[4],
double ppos[3],
double wdir[3]);
113 void GetStartingPhysicalToWorldMatrix(
vtkMatrix4x4* startingPhysicalToWorldMatrix);
178 virtual void HandleComplexGestureEvents(
vtkEventData* ed);
187 static void (*ClassExitMethod)(
void*);
188 static void (*ClassExitMethodArgDelete)(
void*);
209 VTK_ABI_NAMESPACE_END
virtual void SetPhysicalTranslation(vtkCamera *, double, double, double)
Set/get position of the physical coordinate system origin in world coordinates.
represent and manipulate 4x4 transformation matrices
Implements VR specific functions required by vtkRenderWindowInteractor.
virtual int InternalDestroyTimer(int platformTimerId)
Internal methods for creating and destroying timers that must be implemented by subclasses.
std::string ActionManifestDirectory
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Internal methods for creating and destroying timers that must be implemented by subclasses.
virtual double * GetPhysicalViewUp()
Set/get the direction of the physical coordinate system +Y axis in world coordinates.
virtual double * GetPhysicalViewDirection()
Set/get the direction of the physical coordinate system -Z axis in world coordinates.
std::string ActionSetName
adds support for 3D events to vtkRenderWindowInteractor.
abstract specification for renderers
virtual double * GetPhysicalTranslation(vtkCamera *)
Set/get position of the physical coordinate system origin in world coordinates.
const int vtkEventDataNumberOfDevices
std::string ActionManifestFileName
static void * ClassExitMethodArg
Class variables so an exit method can be defined for this class (used to set different exit methods f...
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 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).
virtual void SetPhysicalViewUp(double, double, double)
Set/get the direction of the physical coordinate system +Y axis in world coordinates.
virtual void SetPhysicalViewDirection(double, double, double)
Set/get the direction of the physical coordinate system -Z axis in world coordinates.
virtual double GetPhysicalScale()
Set/get the physical scale (world / physical distance ratio)
vtkEventDataDevice
platform-independent event data structures
virtual void ProcessEvents()
Process all user-interaction, timer events and return.
virtual void SetPhysicalScale(double)
Set/get the physical scale (world / physical distance ratio)
vtkNew< vtkMatrix4x4 > StartingPhysicalToWorldMatrix
Store physical to world matrix at the start of a complex gesture.