VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkMultiBlockMergeFilter.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00026 #ifndef __vtkMultiBlockMergeFilter_h 00027 #define __vtkMultiBlockMergeFilter_h 00028 00029 #include "vtkFiltersGeneralModule.h" // For export macro 00030 #include "vtkMultiBlockDataSetAlgorithm.h" 00031 00032 class VTKFILTERSGENERAL_EXPORT vtkMultiBlockMergeFilter 00033 : public vtkMultiBlockDataSetAlgorithm 00034 { 00035 public: 00036 vtkTypeMacro(vtkMultiBlockMergeFilter,vtkMultiBlockDataSetAlgorithm); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00041 static vtkMultiBlockMergeFilter *New(); 00042 00044 00047 void AddInputData(vtkDataObject *); 00048 void AddInputData(int, vtkDataObject*); 00050 00051 protected: 00052 vtkMultiBlockMergeFilter(); 00053 ~vtkMultiBlockMergeFilter(); 00054 00055 int RequestData(vtkInformation *, 00056 vtkInformationVector **, 00057 vtkInformationVector *); 00058 00059 virtual int FillInputPortInformation(int port, vtkInformation *info); 00060 00061 int IsMultiPiece(vtkMultiBlockDataSet*); 00062 00063 int Merge(unsigned int numPieces, unsigned int pieceNo, 00064 vtkMultiBlockDataSet* output, 00065 vtkMultiBlockDataSet* input); 00066 private: 00067 vtkMultiBlockMergeFilter(const vtkMultiBlockMergeFilter&); // Not implemented. 00068 void operator=(const vtkMultiBlockMergeFilter&); // Not implemented. 00069 }; 00070 00071 #endif 00072 00073