VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
vtkAppendFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkAppendFilter.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
=========================================================================*/
32
#ifndef __vtkAppendFilter_h
33
#define __vtkAppendFilter_h
34
35
#include "
vtkUnstructuredGridAlgorithm.h
"
36
37
class
vtkDataSetCollection
;
38
39
class
VTK_GRAPHICS_EXPORT
vtkAppendFilter
:
public
vtkUnstructuredGridAlgorithm
40
{
41
public
:
42
static
vtkAppendFilter
*
New
();
43
44
vtkTypeMacro(
vtkAppendFilter
,
vtkUnstructuredGridAlgorithm
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent);
46
47
//BTX
49
50
vtkDataSet
*
GetInput
(
int
idx);
51
vtkDataSet
*
GetInput
()
52
{
return
this->
GetInput
( 0 );}
53
//ETX
55
57
60
vtkGetMacro(MergePoints,
int
);
62
64
67
vtkSetMacro(MergePoints,
int
);
69
70
vtkBooleanMacro(MergePoints,
int
);
71
73
void
RemoveInput(
vtkDataSet
*in);
74
77
vtkDataSetCollection
*GetInputList();
78
79
protected
:
80
vtkAppendFilter
();
81
~
vtkAppendFilter
();
82
83
// Usual data generation method
84
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
85
86
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
87
89
94
int
AppendBlocksWithPointLocator(
vtkInformationVector
** inputVector,
95
vtkInformationVector
* outputVector );
97
98
99
// list of data sets to append together.
100
// Here as a convenience. It is a copy of the input array.
101
vtkDataSetCollection
*
InputList
;
102
103
//If true we will attempt to merge points. Must also not have
104
//ghost cells defined.
105
int
MergePoints
;
106
107
private
:
108
vtkAppendFilter
(
const
vtkAppendFilter
&);
// Not implemented.
109
void
operator=(
const
vtkAppendFilter
&);
// Not implemented.
110
};
111
112
113
#endif
114
115
Generated on Wed May 30 2012 13:21:58 for VTK by
1.8.1