VTK  9.4.20241220
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
18VTK_ABI_NAMESPACE_BEGIN
20class vtkCamera;
21
22class VTKRENDERINGRAYTRACING_EXPORT vtkOSPRayCameraNode : public vtkCameraNode
23{
24public:
27 void PrintSelf(ostream& os, vtkIndent indent) override;
28
32 void Render(bool prepass) override;
33
34 OSPCamera GetOCamera() { return this->oCamera; }
35
36protected:
39
40 OSPCamera oCamera{ nullptr };
41
42private:
44 void operator=(const vtkOSPRayCameraNode&) = delete;
45};
46
47VTK_ABI_NAMESPACE_END
48#endif
#define OSPCamera
Definition RTWrapper.h:24
vtkViewNode specialized for vtkCameras
a virtual camera for 3D rendering
Definition vtkCamera.h:151
a simple class to control print indentation
Definition vtkIndent.h:108
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