VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
vtkImagePadFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImagePadFilter.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
=========================================================================*/
24
#ifndef __vtkImagePadFilter_h
25
#define __vtkImagePadFilter_h
26
27
#include "
vtkThreadedImageAlgorithm.h
"
28
29
class
VTK_IMAGING_EXPORT
vtkImagePadFilter
:
public
vtkThreadedImageAlgorithm
30
{
31
public
:
32
static
vtkImagePadFilter
*
New
();
33
vtkTypeMacro(
vtkImagePadFilter
,
vtkThreadedImageAlgorithm
);
34
void
PrintSelf
(ostream& os,
vtkIndent
indent);
35
37
38
void
SetOutputWholeExtent(
int
extent
[6]);
39
void
SetOutputWholeExtent(
int
minX,
int
maxX,
int
minY,
int
maxY,
40
int
minZ,
int
maxZ);
41
void
GetOutputWholeExtent(
int
extent
[6]);
42
int
*
GetOutputWholeExtent
() {
return
this->OutputWholeExtent;}
44
46
47
vtkSetMacro(OutputNumberOfScalarComponents,
int
);
48
vtkGetMacro(OutputNumberOfScalarComponents,
int
);
50
51
protected
:
52
vtkImagePadFilter
();
53
~vtkImagePadFilter
() {};
54
55
int
OutputWholeExtent[6];
56
int
OutputNumberOfScalarComponents
;
57
58
virtual
int
RequestInformation
(
vtkInformation
*,
59
vtkInformationVector
**,
60
vtkInformationVector
*);
61
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
62
vtkInformationVector
**,
63
vtkInformationVector
*);
64
65
virtual
void
ComputeInputUpdateExtent (
int
inExt[6],
int
outExt[6],
66
int
wExt[6]);
67
68
private
:
69
vtkImagePadFilter
(
const
vtkImagePadFilter
&);
// Not implemented.
70
void
operator=(
const
vtkImagePadFilter
&);
// Not implemented.
71
};
72
73
#endif
74
75
76
Generated on Wed May 30 2012 13:22:13 for VTK by
1.8.1