VTK  9.7.20261007
vtkAnariCameraNode.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
14#ifndef vtkAnariCameraNode_h
15#define vtkAnariCameraNode_h
16
17#include "vtkCameraNode.h"
18#include "vtkRenderingAnariCoreModule.h" // For export macro
19
20VTK_ABI_NAMESPACE_BEGIN
21
22struct vtkAnariCameraNodeInternals;
24class vtkCamera;
25
26class VTKRENDERINGANARICORE_EXPORT vtkAnariCameraNode : public vtkCameraNode
27{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
36 void Build(bool prepass) override;
37
41 void Synchronize(bool prepass) override;
42
46 void Invalidate(bool prepass) override;
47
48protected:
51
52private:
54 void operator=(const vtkAnariCameraNode&) = delete;
55
59 vtkCamera* GetVtkCamera() const;
60
64 bool CameraWasModified() const;
65
69 void UpdateAnariObjectHandles();
70
74 void OnCameraPrePass();
75
79 void OnCameraModified();
80
81 vtkAnariCameraNodeInternals* Internals{ nullptr };
82};
83
84VTK_ABI_NAMESPACE_END
85#endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Invalidate(bool prepass) override
Invalidates cached rendering data.
~vtkAnariCameraNode() override
static vtkAnariCameraNode * New()
void Synchronize(bool prepass) override
Sync ANARICamera parameters with vtkCamera.
void Build(bool prepass) override
Ensure the right type of ANARICamera object is being held.
links vtkRenderers to ANARI
a virtual camera for 3D rendering
Definition vtkCamera.h:151
a simple class to control print indentation
Definition vtkIndent.h:108