VTK
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 
31 #include "vtkRenderingVolumeModule.h" // For export macro
33 
34 class vtkRenderer;
35 class vtkVolume;
37 class vtkWindow;
38 
39 
40 class VTKRENDERINGVOLUME_EXPORT vtkUnstructuredGridVolumeMapper : public vtkAbstractVolumeMapper
41 {
42 public:
44  void PrintSelf( ostream& os, vtkIndent indent ) VTK_OVERRIDE;
45 
47 
50  virtual void SetInputData( vtkUnstructuredGridBase * );
51  virtual void SetInputData( vtkDataSet * );
52  vtkUnstructuredGridBase *GetInput();
54 
55  vtkSetMacro( BlendMode, int );
57  { this->SetBlendMode( vtkUnstructuredGridVolumeMapper::COMPOSITE_BLEND ); }
60  vtkGetMacro( BlendMode, int );
61 
67  void Render(vtkRenderer *ren, vtkVolume *vol) VTK_OVERRIDE =0;
68 
75  void ReleaseGraphicsResources(vtkWindow *) VTK_OVERRIDE {}
76 
77  enum
78  {
80  MAXIMUM_INTENSITY_BLEND
81  };
82 
83 protected:
85  ~vtkUnstructuredGridVolumeMapper() VTK_OVERRIDE;
86 
87  int BlendMode;
88 
89  int FillInputPortInformation(int, vtkInformation*) VTK_OVERRIDE;
90 
91 private:
93  void operator=(const vtkUnstructuredGridVolumeMapper&) VTK_DELETE_FUNCTION;
94 };
95 
96 
97 #endif
98 
99 
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:50
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...
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
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:37
a simple class to control print indentation
Definition: vtkIndent.h:39
Abstract class for a unstructured grid volume mapper.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
dataset represents arbitrary combinations of all possible cell types.