VTK  9.4.20241218
vtkOSPRayUnstructuredVolumeMapperNode.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
12#ifndef vtkOSPRayUnstructuredVolumeMapperNode_h
13#define vtkOSPRayUnstructuredVolumeMapperNode_h
14
15#include "vtkOSPRayCache.h" // For common cache infrastructure
16#include "vtkRenderingRayTracingModule.h" // For export macro
17#include "vtkVolumeMapperNode.h"
18
19#include "RTWrapper/RTWrapper.h" // for handle types
20
21VTK_ABI_NAMESPACE_BEGIN
22class VTKRENDERINGRAYTRACING_EXPORT vtkOSPRayUnstructuredVolumeMapperNode
23 : public vtkVolumeMapperNode
24
25{
26public:
29 void PrintSelf(ostream& os, vtkIndent indent) override;
30
34 void Render(bool prepass) override;
35
36protected:
39
42
45
48
49 std::string LastArrayName = "";
50 int LastArrayComponent = -2;
51
52 OSPInstance OSPRayInstance{ nullptr };
53
54private:
56 void operator=(const vtkOSPRayUnstructuredVolumeMapperNode&) = delete;
57};
58
59VTK_ABI_NAMESPACE_END
60#endif
#define OSPVolumetricModel
Definition RTWrapper.h:33
#define OSPInstance
Definition RTWrapper.h:21
#define OSPVolume
Definition RTWrapper.h:32
a simple class to control print indentation
Definition vtkIndent.h:108
static vtkOSPRayUnstructuredVolumeMapperNode * New()
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.
record modification and/or execution time
vtkViewNode specialized for vtkVolumeMappers