24 #ifndef __vtkExtractPiece_h
25 #define __vtkExtractPiece_h
27 #include "vtkFiltersParallelImagingModule.h"
28 #include "vtkCompositeDataSetAlgorithm.h"
32 class vtkRectilinearGrid;
33 class vtkStructuredGrid;
34 class vtkUnstructuredGrid;
35 class vtkCompositeDataIterator;
37 class VTKFILTERSPARALLELIMAGING_EXPORT
vtkExtractPiece :
public vtkCompositeDataSetAlgorithm
42 void PrintSelf(ostream& os, vtkIndent indent);
48 virtual int RequestDataObject(vtkInformation* request,
49 vtkInformationVector** inputVector,
50 vtkInformationVector* outputVector);
52 virtual int RequestUpdateExtent(vtkInformation*,
53 vtkInformationVector**,
54 vtkInformationVector*);
55 virtual int RequestData(vtkInformation*,
56 vtkInformationVector**,
57 vtkInformationVector*);
59 void ExtractImageData(vtkImageData *imageData,
60 vtkCompositeDataSet *output,
61 int piece,
int numberOfPieces,
int ghostLevel,
62 vtkCompositeDataIterator* iter);
63 void ExtractPolyData(vtkPolyData *polyData,
64 vtkCompositeDataSet *output,
65 int piece,
int numberOfPieces,
int ghostLevel,
66 vtkCompositeDataIterator* iter);
67 void ExtractRectilinearGrid(vtkRectilinearGrid *rGrid,
68 vtkCompositeDataSet *output,
69 int piece,
int numberOfPieces,
int ghostLevel,
70 vtkCompositeDataIterator* iter);
71 void ExtractStructuredGrid(vtkStructuredGrid *sGrid,
72 vtkCompositeDataSet *output,
73 int piece,
int numberOfPieces,
int ghostLevel,
74 vtkCompositeDataIterator* iter);
75 void ExtractUnstructuredGrid(vtkUnstructuredGrid *uGrid,
76 vtkCompositeDataSet *output,
77 int piece,
int numberOfPieces,
int ghostLevel,
78 vtkCompositeDataIterator* iter);