VTK  9.7.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 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class vtkRenderer;
25 class vtkVolume;
27 class vtkWindow;
28 
29 class VTKRENDERINGVOLUME_EXPORT VTK_MARSHALAUTO vtkUnstructuredGridVolumeMapper
31 {
32 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
40  virtual void SetInputData(vtkUnstructuredGridBase*);
41  virtual void SetInputData(vtkDataSet*);
42  vtkUnstructuredGridBase* GetInput();
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 
77 protected:
80 
81  int BlendMode;
82 
83  int FillInputPortInformation(int, vtkInformation*) override;
84 
85 private:
87  void operator=(const vtkUnstructuredGridVolumeMapper&) = delete;
88 };
89 
90 VTK_ABI_NAMESPACE_END
91 #endif
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:40
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:56
Abstract class for a volume mapper.
abstract specification for renderers
Definition: vtkRenderer.h:63
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:41
a simple class to control print indentation
Definition: vtkIndent.h:28
Abstract class for an unstructured grid volume mapper.
#define VTK_MARSHALAUTO
dataset represents arbitrary combinations of all possible cell types.