8#ifndef vtkVRRenderWindowInteractor_h 
    9#define vtkVRRenderWindowInteractor_h 
   14#include "vtkRenderingVRModule.h"  
   18VTK_ABI_NAMESPACE_BEGIN
 
  105    double wxyz[4], 
double ppos[3], 
double wdir[3]);
 
  118  vtkGetMacro(ActionManifestFileName, std::string);
 
  119  vtkSetMacro(ActionManifestFileName, std::string);
 
  127  vtkGetMacro(ActionManifestDirectory, std::string);
 
  128  vtkSetMacro(ActionManifestDirectory, std::string);
 
  135  vtkGetMacro(ActionSetName, std::string);
 
  136  vtkSetMacro(ActionSetName, std::string);
 
  184  static void (*ClassExitMethod)(
void*);
 
  185  static void (*ClassExitMethodArgDelete)(
void*);
 
a virtual camera for 3D rendering
 
a simple class to control print indentation
 
represent and manipulate 4x4 transformation matrices
 
Allocate and hold a VTK object.
 
adds support for 3D events to vtkRenderWindowInteractor.
 
abstract specification for renderers
 
Implements VR specific functions required by vtkRenderWindowInteractor.
 
std::string ActionManifestFileName
 
void ProcessEvents() override
Run the event loop and return.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
vtkVRRenderWindowInteractor()
 
void SetPhysicalScale(double) override
Set/get the physical scale (world / physical distance ratio)
 
double GetPhysicalScale() override
Set/get the physical scale (world / physical distance ratio)
 
void Initialize() override
Initialize the event handler.
 
std::string ActionSetName
 
static void * ClassExitMethodArg
Class variables so an exit method can be defined for this class (used to set different exit methods f...
 
double * GetPhysicalViewDirection() override
Set/get the direction of the physical coordinate system -Z axis in world coordinates.
 
vtkNew< vtkMatrix4x4 > StartingPhysicalToWorldMatrix
Store physical to world matrix at the start of a complex gesture.
 
double * GetPhysicalTranslation(vtkCamera *) override
Set/get position of the physical coordinate system origin in world coordinates.
 
void ExitCallback() override
This method corresponds to the Exit callback, allowing for the style to invoke it.
 
int InternalDestroyTimer(int platformTimerId) override
internal timer methods.
 
int InternalCreateTimer(int timerId, int timerType, unsigned long duration) override
internal timer methods.
 
vtkEventDataDevice GetPointerDevice()
 
virtual void RecognizeComplexGesture(vtkEventDataDevice3D *edata)
Handle complex gesture events.
 
void SetPhysicalTranslation(vtkCamera *, double, double, double) override
Set/get position of the physical coordinate system origin in world coordinates.
 
void SetPhysicalViewUp(double, double, double) override
Set/get the direction of the physical coordinate system +Y axis in world coordinates.
 
void GetStartingPhysicalToWorldMatrix(vtkMatrix4x4 *startingPhysicalToWorldMatrix)
 
static void SetClassExitMethodArgDelete(void(*f)(void *))
Methods to set the default exit method for the class.
 
double * GetPhysicalViewUp() override
Set/get the direction of the physical coordinate system +Y axis in world coordinates.
 
~vtkVRRenderWindowInteractor() override
 
virtual void HandleComplexGestureEvents(vtkEventData *ed)
Handle complex gesture events.
 
void StartEventLoop() override
This will start up the event loop and never return.
 
void ConvertPoseToWorldCoordinates(vtkMatrix4x4 *poseInTrackingCoordinates, double pos[3], double wxyz[4], double ppos[3], double wdir[3])
 
virtual void DoOneEvent(vtkVRRenderWindow *renWin, vtkRenderer *ren)=0
Implements the event loop.
 
std::string ActionManifestDirectory
 
void SetPhysicalViewDirection(double, double, double) override
Set/get the direction of the physical coordinate system -Z axis in world coordinates.
 
static void SetClassExitMethod(void(*f)(void *), void *arg)
Methods to set the default exit method for the class.
 
vtkEventDataDevice
platform-independent event data structures
 
const int vtkEventDataNumberOfDevices