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 );
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  virtual void Render(vtkRenderer *ren, vtkVolume *vol)=0;
68 
76 
77  enum
78  {
80  MAXIMUM_INTENSITY_BLEND
81  };
82 
83 protected:
86 
87  int BlendMode;
88 
89  virtual int FillInputPortInformation(int, vtkInformation*);
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)
Methods invoked by print to print information about the object including superclasses.
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.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
dataset represents arbitrary combinations of all possible cell types.