VTK  9.2.5
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
33class VTKFILTERSGENERAL_EXPORT vtkMultiBlockMergeFilter : public vtkMultiBlockDataSetAlgorithm
34{
35public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
44
46
54
55protected:
58
60
61 int FillInputPortInformation(int port, vtkInformation* info) override;
62
64
65 int Merge(unsigned int numPieces, unsigned int pieceNo, vtkMultiBlockDataSet* output,
67
68private:
70 void operator=(const vtkMultiBlockMergeFilter&) = delete;
71};
72
73#endif
general representation of visualization data
Definition: vtkDataObject.h:66
a simple class to control print indentation
Definition: vtkIndent.h:40
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