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 
48  virtual void SetInputData( vtkDataSet * );
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 
87 
88 private:
90  void operator=(const vtkUnstructuredGridVolumeMapper&); // Not implemented.
91 };
92 
93 
94 #endif
95 
96 
vtkVolume
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:50
vtkRenderingVolumeModule.h
vtkUnstructuredGridBase
dataset represents arbitrary combinations of all possible cell types. May be mapped onto a non-standa...
Definition: vtkUnstructuredGridBase.h:37
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkUnstructuredGridVolumeMapper::BlendMode
int BlendMode
Definition: vtkUnstructuredGridVolumeMapper.h:84
vtkAbstractVolumeMapper.h
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:34
vtkUnstructuredGridVolumeMapper::COMPOSITE_BLEND
@ COMPOSITE_BLEND
Definition: vtkUnstructuredGridVolumeMapper.h:74
vtkUnstructuredGridVolumeMapper::SetBlendModeToComposite
void SetBlendModeToComposite()
Definition: vtkUnstructuredGridVolumeMapper.h:53
vtkUnstructuredGridVolumeMapper::ReleaseGraphicsResources
virtual void ReleaseGraphicsResources(vtkWindow *)
Definition: vtkUnstructuredGridVolumeMapper.h:70
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkUnstructuredGridVolumeMapper::MAXIMUM_INTENSITY_BLEND
@ MAXIMUM_INTENSITY_BLEND
Definition: vtkUnstructuredGridVolumeMapper.h:75
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkUnstructuredGridVolumeMapper::SetInputData
virtual void SetInputData(vtkUnstructuredGridBase *)
vtkUnstructuredGridVolumeMapper::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkUnstructuredGridVolumeMapper::SetBlendModeToMaximumIntensity
void SetBlendModeToMaximumIntensity()
Definition: vtkUnstructuredGridVolumeMapper.h:55
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkUnstructuredGridVolumeMapper::GetInput
vtkUnstructuredGridBase * GetInput()
vtkUnstructuredGridVolumeMapper::vtkUnstructuredGridVolumeMapper
vtkUnstructuredGridVolumeMapper()
vtkUnstructuredGridVolumeMapper
Abstract class for a unstructured grid volume mapper.
Definition: vtkUnstructuredGridVolumeMapper.h:40
vtkAbstractVolumeMapper
Abstract class for a volume mapper.
Definition: vtkAbstractVolumeMapper.h:38
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkUnstructuredGridVolumeMapper::FillInputPortInformation
virtual int FillInputPortInformation(int, vtkInformation *)
VTKRENDERINGVOLUME_EXPORT
#define VTKRENDERINGVOLUME_EXPORT
Definition: vtkRenderingVolumeModule.h:15
vtkUnstructuredGridVolumeMapper::~vtkUnstructuredGridVolumeMapper
~vtkUnstructuredGridVolumeMapper()
vtkUnstructuredGridVolumeMapper::SetInputData
virtual void SetInputData(vtkDataSet *)
vtkUnstructuredGridVolumeMapper::Render
virtual void Render(vtkRenderer *ren, vtkVolume *vol)=0