VTK  9.3.20240328
vtkZSpaceCamera.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
11 #ifndef vtkZSpaceCamera_h
12 #define vtkZSpaceCamera_h
13 
14 #include "vtkOpenGLCamera.h"
15 #include "vtkRenderingZSpaceModule.h" // for export macro
16 
17 VTK_ABI_NAMESPACE_BEGIN
18 
19 class VTKRENDERINGZSPACE_EXPORT vtkZSpaceCamera : public vtkOpenGLCamera
20 {
21 public:
22  static vtkZSpaceCamera* New();
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
30 
34  vtkMatrix4x4* GetProjectionTransformMatrix(double aspect, double nearz, double farz) override;
35 
36 protected:
37  vtkZSpaceCamera() = default;
38  ~vtkZSpaceCamera() override = default;
39 
40 private:
41  vtkZSpaceCamera(const vtkZSpaceCamera&) = delete;
42  void operator=(const vtkZSpaceCamera&) = delete;
43 };
44 
45 VTK_ABI_NAMESPACE_END
46 
47 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:140
OpenGL camera.
Extends vtkOpenGLCamera to use custom view and projection matrix given by zSpace SDK.
vtkZSpaceCamera()=default
vtkMatrix4x4 * GetModelViewTransformMatrix() override
Return the model view matrix of model view transform given by zSpace SDK.
static vtkZSpaceCamera * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMatrix4x4 * GetProjectionTransformMatrix(double aspect, double nearz, double farz) override
Return the projection transform matrix given by zSpace SDK.
~vtkZSpaceCamera() override=default