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 
36 
38 
40 {
41 public:
42  static vtkAppendFilter *New();
43 
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
47 //BTX
49 
50  vtkDataSet *GetInput(int idx);
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:
81  ~vtkAppendFilter();
82 
83  // Usual data generation method
85 
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.
102 
103  //If true we will attempt to merge points. Must also not have
104  //ghost cells defined.
106 
107 private:
108  vtkAppendFilter(const vtkAppendFilter&); // Not implemented.
109  void operator=(const vtkAppendFilter&); // Not implemented.
110 };
111 
112 
113 #endif
114 
115 
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTK_GRAPHICS_EXPORT
maintain an unordered list of dataset objects
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:58
static vtkUnstructuredGridAlgorithm * New()
vtkDataSet * GetInput()
virtual int FillInputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:37
void PrintSelf(ostream &os, vtkIndent indent)
vtkDataSetCollection * InputList
Superclass for algorithms that produce only unstructured grid as output.
appends one or more datasets together into a single unstructured grid
Store zero or more vtkInformation instances.