VTK
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
37 
39 
40 class VTKFILTERSCORE_EXPORT vtkAppendFilter : public vtkUnstructuredGridAlgorithm
41 {
42 public:
43  static vtkAppendFilter *New();
44 
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
48 //BTX
50 
51  vtkDataSet *GetInput(int idx);
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:
82  ~vtkAppendFilter();
83 
84  // Usual data generation method
86 
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.
103 
104  //If true we will attempt to merge points. Must also not have
105  //ghost cells defined.
107 
108 private:
109  vtkAppendFilter(const vtkAppendFilter&); // Not implemented.
110  void operator=(const vtkAppendFilter&); // Not implemented.
111 };
112 
113 
114 #endif
115 
116