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 
31 
32 class vtkRenderer;
33 class vtkVolume;
35 class vtkWindow;
36 
37 
39 {
40 public:
42  void PrintSelf( ostream& os, vtkIndent indent );
43 
45 
46  virtual void SetInput( vtkUnstructuredGrid * );
47  virtual void SetInput( vtkDataSet * );
48  vtkUnstructuredGrid *GetInput();
50 
51  vtkSetMacro( BlendMode, int );
53  { this->SetBlendMode( vtkUnstructuredGridVolumeMapper::COMPOSITE_BLEND ); }
56  vtkGetMacro( BlendMode, int );
57 
58 
59 //BTX
60 
63  virtual void Render(vtkRenderer *ren, vtkVolume *vol)=0;
64 
69  virtual void ReleaseGraphicsResources(vtkWindow *) {};
70 
71  enum
72  {
74  MAXIMUM_INTENSITY_BLEND
75  };
76 
77 //ETX
78 
79 protected:
82 
83  int BlendMode;
84 
85  virtual int FillInputPortInformation(int, vtkInformation*);
86 
87 private:
89  void operator=(const vtkUnstructuredGridVolumeMapper&); // Not implemented.
90 };
91 
92 
93 #endif
94 
95 
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:48
virtual void Render(vtkRenderer *ren, vtkVolume *vol)=0
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:58
#define VTK_VOLUMERENDERING_EXPORT
Abstract class for a volume mapper.
abstract specification for renderers
Definition: vtkRenderer.h:69
void PrintSelf(ostream &os, vtkIndent indent)
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
virtual void SetInput(vtkDataSet *)
a simple class to control print indentation
Definition: vtkIndent.h:37
Abstract class for a unstructured grid volume mapper.
dataset represents arbitrary combinations of all possible cell types
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual void ReleaseGraphicsResources(vtkWindow *)