VTK  9.4.20241222
vtkExternalOpenGLCamera.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
13#ifndef vtkExternalOpenGLCamera_h
14#define vtkExternalOpenGLCamera_h
15
16#include "vtkOpenGLCamera.h"
17#include "vtkRenderingExternalModule.h" // For export macro
18
19VTK_ABI_NAMESPACE_BEGIN
20class VTKRENDERINGEXTERNAL_EXPORT vtkExternalOpenGLCamera : public vtkOpenGLCamera
21{
22public:
25 void PrintSelf(ostream& os, vtkIndent indent) override;
26
30 void SetViewTransformMatrix(const double elements[16]);
31
35 void SetProjectionTransformMatrix(const double elements[16]);
36
37protected:
39 ~vtkExternalOpenGLCamera() override = default;
40
45 void ComputeViewTransform() override;
46
47private:
48 bool UserProvidedViewTransform;
49
51 void operator=(const vtkExternalOpenGLCamera&) = delete;
52};
53
54VTK_ABI_NAMESPACE_END
55#endif
~vtkExternalOpenGLCamera() override=default
void SetProjectionTransformMatrix(const double elements[16])
Set the projection matrix.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkExternalOpenGLCamera * New()
void ComputeViewTransform() override
These methods should only be used within vtkCamera.cxx.
void SetViewTransformMatrix(const double elements[16])
Set the view transform matrix.
a simple class to control print indentation
Definition vtkIndent.h:108
OpenGL camera.