VTK: Rendering/ZSpace/vtkZSpaceCamera.h Source File

| VTK 9.3.1

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();
23 vtkTypeMacro(vtkZSpaceCamera, vtkOpenGLCamera);
24 void PrintSelf(ostream& os, vtkIndent indent) override;
25
29 vtkMatrix4x4* GetModelViewTransformMatrix() override;
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
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkMatrix4x4
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:40
vtkOpenGLCamera
OpenGL camera.
Definition: vtkOpenGLCamera.h:23
vtkZSpaceCamera
Extends vtkOpenGLCamera to use custom view and projection matrix given by zSpace SDK.
Definition: vtkZSpaceCamera.h:20
vtkZSpaceCamera::vtkZSpaceCamera
vtkZSpaceCamera()=default
vtkZSpaceCamera::GetModelViewTransformMatrix
vtkMatrix4x4 * GetModelViewTransformMatrix() override
Return the model view matrix of model view transform given by zSpace SDK.
vtkZSpaceCamera::New
static vtkZSpaceCamera * New()
vtkZSpaceCamera::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkZSpaceCamera::GetProjectionTransformMatrix
vtkMatrix4x4 * GetProjectionTransformMatrix(double aspect, double nearz, double farz) override
Return the projection transform matrix given by zSpace SDK.
vtkZSpaceCamera::~vtkZSpaceCamera
~vtkZSpaceCamera() override=default
vtkOpenGLCamera.h