VTK  9.1.0
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
34class vtkRenderer;
35class vtkVolume;
37class vtkWindow;
38
39class VTKRENDERINGVOLUME_EXPORT vtkUnstructuredGridVolumeMapper : public vtkAbstractVolumeMapper
40{
41public:
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
86protected:
89
91
93
94private:
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:166
a simple class to control print indentation
Definition: vtkIndent.h:113
Store vtkAlgorithm input/output information.
abstract specification for renderers
Definition: vtkRenderer.h:173
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:134
window superclass for vtkRenderWindow
Definition: vtkWindow.h:36