VTK  9.3.1
vtkMultiBlockMergeFilter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
15 #ifndef vtkMultiBlockMergeFilter_h
16 #define vtkMultiBlockMergeFilter_h
17 
18 #include "vtkFiltersGeneralModule.h" // For export macro
20 
21 VTK_ABI_NAMESPACE_BEGIN
22 class VTKFILTERSGENERAL_EXPORT vtkMultiBlockMergeFilter : public vtkMultiBlockDataSetAlgorithm
23 {
24 public:
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
32  static vtkMultiBlockMergeFilter* New();
33 
35 
40  void AddInputData(vtkDataObject*);
41  void AddInputData(int, vtkDataObject*);
43 
44 protected:
46  ~vtkMultiBlockMergeFilter() override;
47 
49 
51 
52  int IsMultiPiece(vtkMultiBlockDataSet*);
53 
54  int Merge(unsigned int numPieces, unsigned int pieceNo, vtkMultiBlockDataSet* output,
55  vtkMultiBlockDataSet* input);
56 
57 private:
59  void operator=(const vtkMultiBlockMergeFilter&) = delete;
60 };
61 
62 VTK_ABI_NAMESPACE_END
63 #endif
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkMultiBlockDataSetAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Composite dataset that organizes datasets into blocks.
merges multiblock inputs into a single multiblock output
Store zero or more vtkInformation instances.
general representation of visualization data
Definition: vtkDataObject.h:54