VTK
vtkMultiBlockMergeFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMultiBlockMergeFilter.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 =========================================================================*/
27 #ifndef vtkMultiBlockMergeFilter_h
28 #define vtkMultiBlockMergeFilter_h
29 
30 #include "vtkFiltersGeneralModule.h" // For export macro
32 
33 class VTKFILTERSGENERAL_EXPORT vtkMultiBlockMergeFilter
35 {
36 public:
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
44  static vtkMultiBlockMergeFilter *New();
45 
47 
52  void AddInputData(vtkDataObject *);
53  void AddInputData(int, vtkDataObject*);
55 
56 protected:
58  ~vtkMultiBlockMergeFilter() override;
59 
62  vtkInformationVector *) override;
63 
65 
66  int IsMultiPiece(vtkMultiBlockDataSet*);
67 
68  int Merge(unsigned int numPieces, unsigned int pieceNo,
69  vtkMultiBlockDataSet* output,
70  vtkMultiBlockDataSet* input);
71 private:
73  void operator=(const vtkMultiBlockMergeFilter&) = delete;
74 };
75 
76 #endif
77 
78 
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:39
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:64