VTK  9.1.0
vtkVRCamera.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4
5 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
6 All rights reserved.
7 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12
13=========================================================================*/
22#ifndef vtkVRCamera_h
23#define vtkVRCamera_h
24
25#include "vtkOpenGLCamera.h"
26#include "vtkRenderingVRModule.h" // For export macro
27#include "vtkTransform.h" // ivars
28
29class vtkMatrix4x4;
30
31class VTKRENDERINGVR_EXPORT vtkVRCamera : public vtkOpenGLCamera
32{
33public:
35
40 virtual void GetTrackingToDCMatrix(vtkMatrix4x4*& TCDCMatrix) = 0;
41
42protected:
43 vtkVRCamera() = default;
44 ~vtkVRCamera() override = default;
45
46private:
47 vtkVRCamera(const vtkVRCamera&) = delete;
48 void operator=(const vtkVRCamera&) = delete;
49};
50
51#endif
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:145
OpenGL camera.
VR camera.
Definition: vtkVRCamera.h:32
vtkVRCamera()=default
virtual void GetTrackingToDCMatrix(vtkMatrix4x4 *&TCDCMatrix)=0
Provides a matrix to go from absolute VR tracking coordinates to device coordinates.
~vtkVRCamera() override=default