VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
VolumeRendering
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 "
vtkAbstractVolumeMapper.h
"
31
32
class
vtkRenderer
;
33
class
vtkVolume
;
34
class
vtkUnstructuredGrid
;
35
class
vtkWindow
;
36
37
38
class
VTK_VOLUMERENDERING_EXPORT
vtkUnstructuredGridVolumeMapper
:
public
vtkAbstractVolumeMapper
39
{
40
public
:
41
vtkTypeMacro(
vtkUnstructuredGridVolumeMapper
,
vtkAbstractVolumeMapper
);
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
);
52
void
SetBlendModeToComposite()
53
{ this->SetBlendMode(
vtkUnstructuredGridVolumeMapper::COMPOSITE_BLEND
); }
54
void
SetBlendModeToMaximumIntensity()
55
{ this->SetBlendMode(
vtkUnstructuredGridVolumeMapper::MAXIMUM_INTENSITY_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
{
73
COMPOSITE_BLEND
,
74
MAXIMUM_INTENSITY_BLEND
75
};
76
77
//ETX
78
79
protected
:
80
vtkUnstructuredGridVolumeMapper
();
81
~
vtkUnstructuredGridVolumeMapper
();
82
83
int
BlendMode
;
84
85
virtual
int
FillInputPortInformation
(
int
,
vtkInformation
*);
86
87
private
:
88
vtkUnstructuredGridVolumeMapper
(
const
vtkUnstructuredGridVolumeMapper
&);
// Not implemented.
89
void
operator=(
const
vtkUnstructuredGridVolumeMapper
&);
// Not implemented.
90
};
91
92
93
#endif
94
95
Generated on Thu Mar 13 2014 08:10:39 for VTK by
1.8.1.2