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 =========================================================================*/
27 #ifndef vtkUnstructuredGridVolumeMapper_h
28 #define vtkUnstructuredGridVolumeMapper_h
29 
30 #include "vtkRenderingVolumeModule.h" // For export macro
32 
33 class vtkRenderer;
34 class vtkVolume;
36 class vtkWindow;
37 
38 
40 {
41 public:
43  void PrintSelf( ostream& os, vtkIndent indent );
44 
46 
47  virtual void SetInputData( vtkUnstructuredGridBase * );
48  virtual void SetInputData( vtkDataSet * );
49  vtkUnstructuredGridBase *GetInput();
51 
52  vtkSetMacro( BlendMode, int );
54  { this->SetBlendMode( vtkUnstructuredGridVolumeMapper::COMPOSITE_BLEND ); }
57  vtkGetMacro( BlendMode, int );
58 
59 
60 //BTX
61 
64  virtual void Render(vtkRenderer *ren, vtkVolume *vol)=0;
65 
71 
72  enum
73  {
75  MAXIMUM_INTENSITY_BLEND
76  };
77 
78 //ETX
79 
80 protected:
83 
84  int BlendMode;
85 
86  virtual int FillInputPortInformation(int, vtkInformation*);
87 
88 private:
90  void operator=(const vtkUnstructuredGridVolumeMapper&); // Not implemented.
91 };
92 
93 
94 #endif
95 
96 
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:49
virtual void Render(vtkRenderer *ren, vtkVolume *vol)=0
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
#define VTKRENDERINGVOLUME_EXPORT
Abstract class for a volume mapper.
abstract specification for renderers
Definition: vtkRenderer.h:63
void PrintSelf(ostream &os, vtkIndent indent)
window superclass for vtkRenderWindow
Definition: vtkWindow.h:36
a simple class to control print indentation
Definition: vtkIndent.h:38
Abstract class for a unstructured grid volume mapper.
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual void ReleaseGraphicsResources(vtkWindow *)
dataset represents arbitrary combinations of all possible cell types. May be mapped onto a non-standa...