VTK  9.2.6
vtkOSPRayVolumeMapper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOSPRayVolumeMapper.h
5  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
6 
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
27 #ifndef vtkOSPRayVolumeMapper_h
28 #define vtkOSPRayVolumeMapper_h
29 
31 #include "vtkRenderingRayTracingModule.h" // For export macro
32 
33 class vtkOSPRayPass;
34 class vtkRenderer;
35 class vtkWindow;
36 
37 class VTKRENDERINGRAYTRACING_EXPORT vtkOSPRayVolumeMapper : public vtkOSPRayVolumeInterface
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
50 
51  // Initialize internal constructs
52  virtual void Init();
53 
58  void Render(vtkRenderer*, vtkVolume*) override;
59 
60 protected:
63 
67 
68 private:
70  void operator=(const vtkOSPRayVolumeMapper&) = delete;
71 };
72 
73 #endif
a simple class to control print indentation
Definition: vtkIndent.h:119
a render pass that uses OSPRay instead of GL
Definition: vtkOSPRayPass.h:58
Removes link dependence on optional ospray module.
Standalone OSPRayVolumeMapper.
static vtkOSPRayVolumeMapper * New()
void Render(vtkRenderer *, vtkVolume *) override
Render the volume onto the screen.
~vtkOSPRayVolumeMapper() override
virtual void Init()
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
Definition: vtkRenderer.h:182
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:140
window superclass for vtkRenderWindow
Definition: vtkWindow.h:39