VTK  9.0.2
vtkUnstructuredGridVolumeMapper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkUnstructuredGridVolumeMapper.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
28 #ifndef vtkUnstructuredGridVolumeMapper_h
29 #define vtkUnstructuredGridVolumeMapper_h
30 
32 #include "vtkRenderingVolumeModule.h" // For export macro
33 
34 class vtkRenderer;
35 class vtkVolume;
37 class vtkWindow;
38 
39 class VTKRENDERINGVOLUME_EXPORT vtkUnstructuredGridVolumeMapper : public vtkAbstractVolumeMapper
40 {
41 public:
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
46 
50  virtual void SetInputData(vtkDataSet*);
53 
54  vtkSetMacro(BlendMode, int);
56  {
58  }
60  {
62  }
63  vtkGetMacro(BlendMode, int);
64 
70  void Render(vtkRenderer* ren, vtkVolume* vol) override = 0;
71 
79 
80  enum
81  {
83  MAXIMUM_INTENSITY_BLEND
84  };
85 
86 protected:
89 
90  int BlendMode;
91 
93 
94 private:
96  void operator=(const vtkUnstructuredGridVolumeMapper&) = delete;
97 };
98 
99 #endif
Abstract class for a volume mapper.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:57
a simple class to control print indentation
Definition: vtkIndent.h:34
Store vtkAlgorithm input/output information.
abstract specification for renderers
Definition: vtkRenderer.h:68
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()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetInputData(vtkDataSet *)
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:45
window superclass for vtkRenderWindow
Definition: vtkWindow.h:38