VTK  9.4.20241218
vtkOSPRayVolumeMapper.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
15#ifndef vtkOSPRayVolumeMapper_h
16#define vtkOSPRayVolumeMapper_h
17
19#include "vtkRenderingRayTracingModule.h" // For export macro
20
21VTK_ABI_NAMESPACE_BEGIN
22class vtkOSPRayPass;
23class vtkRenderer;
24class vtkWindow;
25
26class VTKRENDERINGRAYTRACING_EXPORT vtkOSPRayVolumeMapper : public vtkOSPRayVolumeInterface
27{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
39
40 // Initialize internal constructs
41 virtual void Init();
42
47 void Render(vtkRenderer*, vtkVolume*) override;
48
49protected:
52
56
57private:
59 void operator=(const vtkOSPRayVolumeMapper&) = delete;
60};
61
62VTK_ABI_NAMESPACE_END
63#endif
a simple class to control print indentation
Definition vtkIndent.h:108
a render pass that uses OSPRay instead of GL
Removes link dependence on optional ospray module.
Standalone OSPRayVolumeMapper.
void Render(vtkRenderer *, vtkVolume *) override
Render the volume onto the screen.
~vtkOSPRayVolumeMapper() override
virtual void Init()
static vtkOSPRayVolumeMapper * New()
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOSPRayPass * InternalOSPRayPass
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