VTK  9.3.0
vtkOpenXRCamera.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
19#ifndef vtkOpenXRCamera_h
20#define vtkOpenXRCamera_h
21
22#include "vtkRenderingOpenXRModule.h" // For export macro
23#include "vtkVRHMDCamera.h"
24
25VTK_ABI_NAMESPACE_BEGIN
26class VTKRENDERINGOPENXR_EXPORT vtkOpenXRCamera : public vtkVRHMDCamera
27{
28public:
31
35 void Render(vtkRenderer* ren) override;
36
37protected:
39 ~vtkOpenXRCamera() override;
40
41 // gets the pose and projections for the left and right eyes from
42 // the openvr library
45
46private:
47 vtkOpenXRCamera(const vtkOpenXRCamera&) = delete;
48 void operator=(const vtkOpenXRCamera&) = delete;
49};
50
51VTK_ABI_NAMESPACE_END
52#endif
OpenXR camera.
static vtkOpenXRCamera * New()
void Render(vtkRenderer *ren) override
Implement base class method.
~vtkOpenXRCamera() override
void UpdateEyeToProjectionMatrices(vtkRenderer *) override
void UpdateWorldToEyeMatrices(vtkRenderer *) override
abstract specification for renderers
Definition vtkRenderer.h:59
A superclass for HMD style cameras.