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 =========================================================================*/
26 #ifndef vtkMultiBlockMergeFilter_h
27 #define vtkMultiBlockMergeFilter_h
28 
29 #include "vtkFiltersGeneralModule.h" // For export macro
31 
34 {
35 public:
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
41  static vtkMultiBlockMergeFilter *New();
42 
44 
47  void AddInputData(vtkDataObject *);
48  void AddInputData(int, vtkDataObject*);
50 
51 protected:
54 
58 
60 
61  int IsMultiPiece(vtkMultiBlockDataSet*);
62 
63  int Merge(unsigned int numPieces, unsigned int pieceNo,
64  vtkMultiBlockDataSet* output,
65  vtkMultiBlockDataSet* input);
66 private:
67  vtkMultiBlockMergeFilter(const vtkMultiBlockMergeFilter&); // Not implemented.
68  void operator=(const vtkMultiBlockMergeFilter&); // Not implemented.
69 };
70 
71 #endif
72 
73 
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkMultiBlockDataSetAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKFILTERSGENERAL_EXPORT
Composite dataset that organizes datasets into blocks.
merges multiblock inputs into a single multiblock output
virtual int FillInputPortInformation(int port, vtkInformation *info)
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
general representation of visualization data
Definition: vtkDataObject.h:64