VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
Core
vtkImageStencilAlgorithm.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageStencilAlgorithm.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 __vtkImageStencilAlgorithm_h
27
#define __vtkImageStencilAlgorithm_h
28
29
30
#include "vtkImagingCoreModule.h"
// For export macro
31
#include "
vtkAlgorithm.h
"
32
33
class
vtkImageStencilData
;
34
35
class
VTKIMAGINGCORE_EXPORT
vtkImageStencilAlgorithm
:
public
vtkAlgorithm
36
{
37
public
:
38
static
vtkImageStencilAlgorithm
*
New
();
39
vtkTypeMacro(
vtkImageStencilAlgorithm
,
vtkAlgorithm
);
40
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
44
45
void
SetOutput(
vtkImageStencilData
*output);
46
vtkImageStencilData
*GetOutput();
48
50
51
virtual
int
ProcessRequest
(
vtkInformation
*,
52
vtkInformationVector
**,
53
vtkInformationVector
*);
55
56
protected
:
57
vtkImageStencilAlgorithm
();
58
~
vtkImageStencilAlgorithm
();
59
60
virtual
int
RequestData(
vtkInformation
*,
vtkInformationVector
**,
61
vtkInformationVector
*);
62
virtual
int
RequestInformation(
vtkInformation
*,
vtkInformationVector
**,
63
vtkInformationVector
*);
64
virtual
int
RequestUpdateExtent(
vtkInformation
*,
vtkInformationVector
**,
65
vtkInformationVector
*);
66
vtkImageStencilData
*AllocateOutputData(
vtkDataObject
*out,
int
* updateExt);
67
68
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*);
69
70
private
:
71
vtkImageStencilAlgorithm
(
const
vtkImageStencilAlgorithm
&);
// Not implemented.
72
void
operator=(
const
vtkImageStencilAlgorithm
&);
// Not implemented.
73
};
74
75
#endif
Generated on Thu May 24 2012 22:22:24 for VTK by
1.8.1