VTK  9.3.1
vtkZSpaceRenderer.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
15 #ifndef vtkZSpaceRenderer_h
16 #define vtkZSpaceRenderer_h
17 
18 #include "vtkNew.h" // For ivar
19 #include "vtkOpenGLRenderer.h"
20 #include "vtkRenderingZSpaceModule.h" // For export macro
21 
22 VTK_ABI_NAMESPACE_BEGIN
23 
24 class vtkZSpaceCamera;
25 
26 class VTKRENDERINGZSPACE_EXPORT vtkZSpaceRenderer : public vtkOpenGLRenderer
27 {
28 public:
29  static vtkZSpaceRenderer* New();
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
40  void ResetCamera(const double bounds[6]) override;
41 
47  vtkCamera* MakeCamera() override;
48 
49 protected:
51  ~vtkZSpaceRenderer() override = default;
52 
53 private:
54  vtkZSpaceRenderer(const vtkZSpaceRenderer&) = delete;
55  void operator=(const vtkZSpaceRenderer&) = delete;
56 };
57 
58 VTK_ABI_NAMESPACE_END
59 
60 #endif
virtual vtkCamera * MakeCamera()
Create a new Camera sutible for use with this type of Renderer.
Extends vtkOpenGLCamera to use custom view and projection matrix given by zSpace SDK.
virtual void ResetCamera()
Automatically set up the camera based on the visible actors.
a simple class to control print indentation
Definition: vtkIndent.h:28
a virtual camera for 3D rendering
Definition: vtkCamera.h:40
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkOpenGLRenderer * New()
OpenGL renderer.