VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkPointSetAlgorithm.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPointSetAlgorithm.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
=========================================================================*/
33
#ifndef __vtkPointSetAlgorithm_h
34
#define __vtkPointSetAlgorithm_h
35
36
#include "
vtkAlgorithm.h
"
37
38
class
vtkPointSet
;
39
class
vtkPolyData
;
40
class
vtkStructuredGrid
;
41
class
vtkUnstructuredGrid
;
42
43
class
VTK_FILTERING_EXPORT
vtkPointSetAlgorithm
:
public
vtkAlgorithm
44
{
45
public
:
46
static
vtkPointSetAlgorithm
*
New
();
47
vtkTypeMacro(
vtkPointSetAlgorithm
,
vtkAlgorithm
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
51
52
vtkPointSet
* GetOutput();
53
vtkPointSet
* GetOutput(
int
);
55
57
vtkPolyData
*GetPolyDataOutput();
58
60
vtkStructuredGrid
*GetStructuredGridOutput();
61
63
vtkUnstructuredGrid
*GetUnstructuredGridOutput();
64
66
73
void
SetInput(
vtkDataObject
*);
74
void
SetInput(
int
,
vtkDataObject
*);
75
void
SetInput(
vtkPointSet
*);
76
void
SetInput(
int
,
vtkPointSet
*);
78
80
84
void
AddInput(
vtkDataObject
*);
85
void
AddInput(
vtkPointSet
*);
86
void
AddInput(
int
,
vtkPointSet
*);
87
void
AddInput(
int
,
vtkDataObject
*);
89
90
// this method is not recommended for use, but lots of old style filters
91
// use it
92
vtkDataObject
*GetInput();
93
95
96
virtual
int
ProcessRequest
(
vtkInformation
* request,
97
vtkInformationVector
** inputVector,
98
vtkInformationVector
* outputVector);
100
101
protected
:
102
vtkPointSetAlgorithm
();
103
~vtkPointSetAlgorithm
() {};
104
106
108
virtual
int
RequestDataObject(
vtkInformation
* request,
109
vtkInformationVector
** inputVector,
110
vtkInformationVector
* outputVector);
112
114
116
virtual
int
ExecuteInformation(
vtkInformation
*,
117
vtkInformationVector
**,
118
vtkInformationVector
*) {
return
1;};
120
122
124
virtual
int
RequestData(
vtkInformation
*,
125
vtkInformationVector
**,
126
vtkInformationVector
*) {
return
1;};
128
130
132
virtual
int
ComputeInputUpdateExtent(
vtkInformation
*,
133
vtkInformationVector
**,
134
vtkInformationVector
*)
135
{
136
return
1;
137
};
139
140
// see algorithm for more info
141
virtual
int
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
);
142
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
143
144
private
:
145
vtkPointSetAlgorithm
(
const
vtkPointSetAlgorithm
&);
// Not implemented.
146
void
operator=(
const
vtkPointSetAlgorithm
&);
// Not implemented.
147
};
148
149
#endif
Generated on Sun Sep 9 2012 13:03:28 for VTK by
1.8.1.2