VTK  9.1.0
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=========================================================================*/
46#ifndef vtkMultiBlockMergeFilter_h
47#define vtkMultiBlockMergeFilter_h
48
49#include "vtkFiltersGeneralModule.h" // For export macro
51
52class VTKFILTERSGENERAL_EXPORT vtkMultiBlockMergeFilter : public vtkMultiBlockDataSetAlgorithm
53{
54public:
56 void PrintSelf(ostream& os, vtkIndent indent) override;
57
63
65
73
74protected:
77
79
80 int FillInputPortInformation(int port, vtkInformation* info) override;
81
83
84 int Merge(unsigned int numPieces, unsigned int pieceNo, vtkMultiBlockDataSet* output,
86
87private:
89 void operator=(const vtkMultiBlockMergeFilter&) = delete;
90};
91
92#endif
general representation of visualization data
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Composite dataset that organizes datasets into blocks.
merges multiblock inputs into a single multiblock output
void AddInputData(vtkDataObject *)
Assign a data object as input.
void AddInputData(int, vtkDataObject *)
Assign a data object as input.
int IsMultiPiece(vtkMultiBlockDataSet *)
static vtkMultiBlockMergeFilter * New()
Construct object with PointIds and CellIds on; and ids being generated as scalars.
int Merge(unsigned int numPieces, unsigned int pieceNo, vtkMultiBlockDataSet *output, vtkMultiBlockDataSet *input)
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkMultiBlockMergeFilter() override