VTK  9.1.0
vtkOSPRayVolumeInterface.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkOSPRayVolumeInterface.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
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=========================================================================*/
24#ifndef vtkOSPRayVolumeInterface_h
25#define vtkOSPRayVolumeInterface_h
26
27#include "vtkRenderingVolumeModule.h" // For export macro
28#include "vtkVolumeMapper.h"
29
30class vtkRenderer;
31class vtkVolume;
32
33class VTKRENDERINGVOLUME_EXPORT vtkOSPRayVolumeInterface : public vtkVolumeMapper
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
43 void Render(vtkRenderer*, vtkVolume*) override;
44
45protected:
48
49private:
51 void operator=(const vtkOSPRayVolumeInterface&) = delete;
52};
53
54#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
Removes link dependence on optional ospray module.
~vtkOSPRayVolumeInterface() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Render(vtkRenderer *, vtkVolume *) override
Overridden to warn about lack of OSPRay if not overridden.
static vtkOSPRayVolumeInterface * New()
abstract specification for renderers
Definition: vtkRenderer.h:173
Abstract class for a volume mapper.
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:134