VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkAnnotationLayersAlgorithm.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkAnnotationLayersAlgorithm.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
=========================================================================*/
36
#ifndef __vtkAnnotationLayersAlgorithm_h
37
#define __vtkAnnotationLayersAlgorithm_h
38
39
#include "
vtkAlgorithm.h
"
40
#include "
vtkAnnotationLayers.h
"
// makes things a bit easier
41
42
class
vtkDataSet
;
43
44
class
VTK_FILTERING_EXPORT
vtkAnnotationLayersAlgorithm
:
public
vtkAlgorithm
45
{
46
public
:
47
static
vtkAnnotationLayersAlgorithm
*
New
();
48
vtkTypeMacro(
vtkAnnotationLayersAlgorithm
,
vtkAlgorithm
);
49
void
PrintSelf
(ostream& os,
vtkIndent
indent);
50
52
53
virtual
int
ProcessRequest
(
vtkInformation
*,
54
vtkInformationVector
**,
55
vtkInformationVector
*);
57
59
60
vtkAnnotationLayers
*
GetOutput
() {
return
this->
GetOutput
(0); }
61
vtkAnnotationLayers
* GetOutput(
int
index
);
63
65
72
void
SetInput
(
vtkDataObject
* obj) { this->
SetInput
(0, obj); }
73
void
SetInput(
int
index
,
vtkDataObject
* obj);
75
76
protected
:
77
vtkAnnotationLayersAlgorithm
();
78
~
vtkAnnotationLayersAlgorithm
();
79
80
// convenience method
81
virtual
int
RequestInformation(
vtkInformation
* request,
82
vtkInformationVector
** inputVector,
83
vtkInformationVector
* outputVector);
84
86
88
virtual
int
RequestData(
vtkInformation
* request,
89
vtkInformationVector
** inputVector,
90
vtkInformationVector
* outputVector);
92
94
96
virtual
int
RequestUpdateExtent(
vtkInformation
*,
97
vtkInformationVector
**,
98
vtkInformationVector
*);
100
101
// see algorithm for more info
102
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
103
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
104
105
private
:
106
vtkAnnotationLayersAlgorithm
(
const
vtkAnnotationLayersAlgorithm
&);
// Not implemented.
107
void
operator=(
const
vtkAnnotationLayersAlgorithm
&);
// Not implemented.
108
};
109
110
#endif
Generated on Sun Sep 9 2012 13:03:27 for VTK by
1.8.1.2