VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
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 
81 
84  vtkSetClampMacro(OutputPointsPrecision, int, SINGLE_PRECISION, DEFAULT_PRECISION);
85  vtkGetMacro(OutputPointsPrecision, int);
87 
88 protected:
90  ~vtkAppendFilter();
91 
92  // Usual data generation method
94 
96 
98 
103  int AppendBlocksWithPointLocator( vtkInformationVector ** inputVector,
104  vtkInformationVector * outputVector );
106 
107 
108  // list of data sets to append together.
109  // Here as a convenience. It is a copy of the input array.
111 
112  //If true we will attempt to merge points. Must also not have
113  //ghost cells defined.
115 
117 
118 private:
119  vtkAppendFilter(const vtkAppendFilter&); // Not implemented.
120  void operator=(const vtkAppendFilter&); // Not implemented.
121 };
122 
123 
124 #endif
125 
126 
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
maintain an unordered list of dataset objects
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:60
#define VTKFILTERSCORE_EXPORT
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:83
static vtkUnstructuredGridAlgorithm * New()
vtkDataSet * GetInput()
GLuint in
Definition: vtkgl.h:16905
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:133
virtual int FillInputPortInformation(int port, vtkInformation *info)
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
a simple class to control print indentation
Definition: vtkIndent.h:38
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.
#define vtkBooleanMacro(name, type)
Definition: vtkSetGet.h:234
#define vtkSetMacro(name, type)
Definition: vtkSetGet.h:69