VTK  9.3.0
vtkOSPRayCameraNode.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
10 #ifndef vtkOSPRayCameraNode_h
11 #define vtkOSPRayCameraNode_h
12 
13 #include "vtkCameraNode.h"
14 #include "vtkRenderingRayTracingModule.h" // For export macro
15 
16 #include "RTWrapper/RTWrapper.h" // for handle types
17 
18 VTK_ABI_NAMESPACE_BEGIN
20 class vtkCamera;
21 
22 class VTKRENDERINGRAYTRACING_EXPORT vtkOSPRayCameraNode : public vtkCameraNode
23 {
24 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
32  void Render(bool prepass) override;
33 
34  OSPCamera GetOCamera() { return this->oCamera; }
35 
36 protected:
39 
40  OSPCamera oCamera{ nullptr };
41 
42 private:
44  void operator=(const vtkOSPRayCameraNode&) = delete;
45 };
46 
47 VTK_ABI_NAMESPACE_END
48 #endif
#define OSPCamera
Definition: RTWrapper.h:24
vtkViewNode specialized for vtkCameras
Definition: vtkCameraNode.h:21
a virtual camera for 3D rendering
Definition: vtkCamera.h:41
a simple class to control print indentation
Definition: vtkIndent.h:29
Key for integer values in vtkInformation.
links vtkCamera to OSPRay
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Render(bool prepass) override
Make ospray calls to render me.
static vtkOSPRayCameraNode * New()
~vtkOSPRayCameraNode() override