VTK  9.3.1
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 
22 VTK_ABI_NAMESPACE_BEGIN
23 class vtkRenderer;
24 class vtkVolume;
26 class vtkWindow;
27 
28 class VTKRENDERINGVOLUME_EXPORT vtkUnstructuredGridVolumeMapper : public vtkAbstractVolumeMapper
29 {
30 public:
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
35 
38  virtual void SetInputData(vtkUnstructuredGridBase*);
39  virtual void SetInputData(vtkDataSet*);
40  vtkUnstructuredGridBase* GetInput();
42 
43  vtkSetMacro(BlendMode, int);
45  {
47  }
49  {
51  }
52  vtkGetMacro(BlendMode, int);
53 
59  void Render(vtkRenderer* ren, vtkVolume* vol) override = 0;
60 
68 
69  enum
70  {
72  MAXIMUM_INTENSITY_BLEND
73  };
74 
75 protected:
78 
79  int BlendMode;
80 
81  int FillInputPortInformation(int, vtkInformation*) override;
82 
83 private:
85  void operator=(const vtkUnstructuredGridVolumeMapper&) = delete;
86 };
87 
88 VTK_ABI_NAMESPACE_END
89 #endif
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:39
virtual void Render(vtkRenderer *ren, vtkVolume *vol)=0
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:52
Abstract class for a volume mapper.
abstract specification for renderers
Definition: vtkRenderer.h:61
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
window superclass for vtkRenderWindow
Definition: vtkWindow.h:27
a simple class to control print indentation
Definition: vtkIndent.h:28
Abstract class for an unstructured grid volume mapper.
dataset represents arbitrary combinations of all possible cell types.