VTK  9.3.20230924
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 
39  virtual void SetInputData(vtkDataSet*);
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 
82 
83 private:
85  void operator=(const vtkUnstructuredGridVolumeMapper&) = delete;
86 };
87 
88 VTK_ABI_NAMESPACE_END
89 #endif
Abstract class for a volume mapper.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:162
a simple class to control print indentation
Definition: vtkIndent.h:108
Store vtkAlgorithm input/output information.
abstract specification for renderers
Definition: vtkRenderer.h:171
dataset represents arbitrary combinations of all possible cell types.
Abstract class for an unstructured grid volume mapper.
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.
vtkUnstructuredGridBase * GetInput()
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:119
window superclass for vtkRenderWindow
Definition: vtkWindow.h:47