VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
Core
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 "vtkFiltersCoreModule.h"
// For export macro
36
#include "
vtkUnstructuredGridAlgorithm.h
"
37
38
class
vtkDataSetCollection
;
39
40
class
VTKFILTERSCORE_EXPORT
vtkAppendFilter
:
public
vtkUnstructuredGridAlgorithm
41
{
42
public
:
43
static
vtkAppendFilter
*
New
();
44
45
vtkTypeMacro(
vtkAppendFilter
,
vtkUnstructuredGridAlgorithm
);
46
void
PrintSelf
(ostream& os,
vtkIndent
indent);
47
48
//BTX
50
51
vtkDataSet
*
GetInput
(
int
idx);
52
vtkDataSet
*
GetInput
()
53
{
return
this->
GetInput
( 0 );}
54
//ETX
56
58
61
vtkGetMacro(MergePoints,
int
);
63
65
68
vtkSetMacro(MergePoints,
int
);
70
71
vtkBooleanMacro(MergePoints,
int
);
72
74
void
RemoveInputData(
vtkDataSet
*in);
75
78
vtkDataSetCollection
*GetInputList();
79
80
protected
:
81
vtkAppendFilter
();
82
~
vtkAppendFilter
();
83
84
// Usual data generation method
85
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
86
87
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
88
90
95
int
AppendBlocksWithPointLocator(
vtkInformationVector
** inputVector,
96
vtkInformationVector
* outputVector );
98
99
100
// list of data sets to append together.
101
// Here as a convenience. It is a copy of the input array.
102
vtkDataSetCollection
*
InputList
;
103
104
//If true we will attempt to merge points. Must also not have
105
//ghost cells defined.
106
int
MergePoints
;
107
108
private
:
109
vtkAppendFilter
(
const
vtkAppendFilter
&);
// Not implemented.
110
void
operator=(
const
vtkAppendFilter
&);
// Not implemented.
111
};
112
113
114
#endif
115
116
Generated on Thu May 24 2012 22:22:13 for VTK by
1.8.1