#ifndef vtkOpenXR_h #define vtkOpenXR_h // Needed for WIN32 and VTK_USE_X #include "vtkRenderingOpenGLConfigure.h" #include "vtk_glew.h" #if defined(VTK_USE_X) // X11 defines globally some names that conflict with things in these classes // X11/Xutil.h contains "#define AllValues 0x000F" // X11/Xlib.h contains "#define Status int" #include "vtkGenericDataArray.h" #include #endif #ifdef _WIN32 #define XR_USE_PLATFORM_WIN32 #include "GL/gl.h" #include "Unknwn.h" #include "vtkWindows.h" #endif #ifdef VTK_USE_X #define XR_USE_PLATFORM_XLIB // Required headers for the XrGraphicsBindingOpenGLXlibKHR struct #include #include #endif // Needed for XR_KHR_OPENGL_ENABLE_EXTENSION_NAME // We only supports OpenGL #define XR_USE_GRAPHICS_API_OPENGL #include #include #include #include "XrExtensions.h" #define HAND_COUNT 2 #define LEFT_EYE 0 #define RIGHT_EYE 1 #endif // VTK-HeaderTest-Exclude: vtkOpenXR.h