VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
vtkImageSpatialAlgorithm.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageSpatialAlgorithm.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
=========================================================================*/
26
#ifndef __vtkImageSpatialAlgorithm_h
27
#define __vtkImageSpatialAlgorithm_h
28
29
30
#include "
vtkThreadedImageAlgorithm.h
"
31
32
class
VTK_IMAGING_EXPORT
vtkImageSpatialAlgorithm
:
public
vtkThreadedImageAlgorithm
33
{
34
public
:
35
static
vtkImageSpatialAlgorithm
*
New
();
36
vtkTypeMacro(
vtkImageSpatialAlgorithm
,
vtkThreadedImageAlgorithm
);
37
void
PrintSelf
(ostream& os,
vtkIndent
indent);
38
40
41
vtkGetVector3Macro(KernelSize,
int
);
43
45
46
vtkGetVector3Macro(KernelMiddle,
int
);
48
49
protected
:
50
vtkImageSpatialAlgorithm
();
51
~vtkImageSpatialAlgorithm
() {};
52
53
int
KernelSize[3];
54
int
KernelMiddle[3];
// Index of kernel origin
55
int
HandleBoundaries
;
// Output shrinks if boundaries aren't handled
56
57
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
58
59
void
ComputeOutputWholeExtent(
int
extent
[6],
int
handleBoundaries);
60
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
61
void
InternalRequestUpdateExtent(
int
*
extent
,
int
*inExtent,
int
*wholeExtent);
62
63
private
:
64
vtkImageSpatialAlgorithm
(
const
vtkImageSpatialAlgorithm
&);
// Not implemented.
65
void
operator=(
const
vtkImageSpatialAlgorithm
&);
// Not implemented.
66
};
67
68
#endif
69
70
71
72
73
74
75
76
77
78
Generated on Fri Aug 2 2013 12:19:59 for VTK by
1.8.4