VTK  9.3.0
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
12#ifndef vtkZSpaceRenderer_h
13#define vtkZSpaceRenderer_h
14
15#include "vtkNew.h" // For ivar
16#include "vtkOpenGLRenderer.h"
17#include "vtkRenderingZSpaceModule.h" // For export macro
18
19VTK_ABI_NAMESPACE_BEGIN
20
21class vtkZSpaceCamera;
22
23class VTKRENDERINGZSPACE_EXPORT vtkZSpaceRenderer : public vtkOpenGLRenderer
24{
25public:
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
37 void ResetCamera(const double bounds[6]) override;
38
44 vtkCamera* MakeCamera() override;
45
46protected:
48 ~vtkZSpaceRenderer() override = default;
49
50private:
51 vtkZSpaceRenderer(const vtkZSpaceRenderer&) = delete;
52 void operator=(const vtkZSpaceRenderer&) = delete;
53};
54
55VTK_ABI_NAMESPACE_END
56
57#endif
a virtual camera for 3D rendering
Definition vtkCamera.h:41
a simple class to control print indentation
Definition vtkIndent.h:29
OpenGL renderer.
Extends vtkOpenGLCamera to use custom view and projection matrix given by zSpace SDK.
void ResetCamera(const double bounds[6]) override
Automatically set up the camera based on a specified bounding box (xmin,xmax, ymin,...
~vtkZSpaceRenderer() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkZSpaceRenderer * New()
vtkCamera * MakeCamera() override
Create a new vtkZSpaceCamera.