VTK  9.3.20240919
vtkAnariVolumeMapper.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
16#ifndef vtkAnariVolumeMapper_h
17#define vtkAnariVolumeMapper_h
18
20#include "vtkRenderingAnariModule.h" // For export macro
21
22VTK_ABI_NAMESPACE_BEGIN
23
24class vtkAnariPass;
25class vtkRenderer;
26class vtkWindow;
27
28class VTKRENDERINGANARI_EXPORT vtkAnariVolumeMapper : public vtkAnariVolumeInterface
29{
30public:
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34
40 virtual void ReleaseGraphicsResources(vtkWindow*) override;
41
42 // Initialize internal constructs
43 virtual void Init();
44
49 virtual void Render(vtkRenderer*, vtkVolume*) override;
50
54 vtkRenderer* GetInternalRenderer() const { return this->InternalRenderer; }
55
57
61 vtkSetMacro(Initialized, bool);
62 vtkGetMacro(Initialized, bool);
63 vtkBooleanMacro(Initialized, bool);
65
66protected:
69
73
74private:
76 void operator=(const vtkAnariVolumeMapper&) = delete;
77};
78
79VTK_ABI_NAMESPACE_END
80#endif
a render pass that uses ANARI (ANAlytic Rendering Interface) instead of OpenGL.
Removes link dependence on optional ANARI module.
Standalone ANARI VolumeMapper.
vtkRenderer * GetInternalRenderer() const
Allow vtkAnariRendererNode properties to be set on the internal vtkRenderer.
virtual void Render(vtkRenderer *, vtkVolume *) override
Render the volume onto the screen.
vtkAnariPass * InternalAnariPass
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
virtual void Init()
static vtkAnariVolumeMapper * New()
a simple class to control print indentation
Definition vtkIndent.h:108
abstract specification for renderers
represents a volume (data & properties) in a rendered scene
Definition vtkVolume.h:130
window superclass for vtkRenderWindow
Definition vtkWindow.h:48