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) VTK_OVERRIDE;
39 
44  static vtkMultiBlockMergeFilter *New();
45 
47 
52  void AddInputData(vtkDataObject *);
53  void AddInputData(int, vtkDataObject*);
55 
56 protected:
58  ~vtkMultiBlockMergeFilter() VTK_OVERRIDE;
59 
60  int RequestData(vtkInformation *,
62  vtkInformationVector *) VTK_OVERRIDE;
63 
64  int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
65 
66  int IsMultiPiece(vtkMultiBlockDataSet*);
67 
68  int Merge(unsigned int numPieces, unsigned int pieceNo,
69  vtkMultiBlockDataSet* output,
70  vtkMultiBlockDataSet* input);
71 private:
72  vtkMultiBlockMergeFilter(const vtkMultiBlockMergeFilter&) VTK_DELETE_FUNCTION;
73  void operator=(const vtkMultiBlockMergeFilter&) VTK_DELETE_FUNCTION;
74 };
75 
76 #endif
77 
78 
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
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.
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