VTK  9.5.20250816
vtkUnstructuredGridVolumeMapper.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 vtkUnstructuredGridVolumeMapper_h
17#define vtkUnstructuredGridVolumeMapper_h
18
20#include "vtkRenderingVolumeModule.h" // For export macro
21#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
22
23VTK_ABI_NAMESPACE_BEGIN
24class vtkRenderer;
25class vtkVolume;
27class vtkWindow;
28
29class VTKRENDERINGVOLUME_EXPORT VTK_MARSHALAUTO vtkUnstructuredGridVolumeMapper
31{
32public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
37
41 virtual void SetInputData(vtkDataSet*);
44
45 vtkSetMacro(BlendMode, int);
47 {
49 }
51 {
53 }
54 vtkGetMacro(BlendMode, int);
55
61 void Render(vtkRenderer* ren, vtkVolume* vol) override = 0;
62
70
71 enum
72 {
74 MAXIMUM_INTENSITY_BLEND
75 };
76
77protected:
80
82
84
85private:
87 void operator=(const vtkUnstructuredGridVolumeMapper&) = delete;
88};
89
90VTK_ABI_NAMESPACE_END
91#endif
Abstract class for a volume mapper.
abstract class to specify dataset behavior
Definition vtkDataSet.h:165
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
abstract specification for renderers
dataset represents arbitrary combinations of all possible cell types.
Abstract class for an unstructured grid volume mapper.
vtkUnstructuredGridBase * GetInput()
Set/Get the input data.
void Render(vtkRenderer *ren, vtkVolume *vol) override=0
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
virtual void SetInputData(vtkUnstructuredGridBase *)
Set/Get the input data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetInputData(vtkDataSet *)
Set/Get the input data.
represents a volume (data & properties) in a rendered scene
Definition vtkVolume.h:130
window superclass for vtkRenderWindow
Definition vtkWindow.h:48
#define VTK_MARSHALAUTO