VTK
vtkExtractPiece.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExtractPiece.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 =========================================================================*/
24 #ifndef vtkExtractPiece_h
25 #define vtkExtractPiece_h
26 
27 #include "vtkFiltersParallelImagingModule.h" // For export macro
29 
30 class vtkImageData;
31 class vtkPolyData;
32 class vtkRectilinearGrid;
33 class vtkStructuredGrid;
36 
38 {
39 public:
40  static vtkExtractPiece* New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
44 protected:
47 
48  virtual int RequestDataObject(vtkInformation* request,
49  vtkInformationVector** inputVector,
50  vtkInformationVector* outputVector);
51 
55  virtual int RequestData(vtkInformation*,
58 
59  void ExtractImageData(vtkImageData *imageData,
60  vtkCompositeDataSet *output,
61  int piece, int numberOfPieces, int ghostLevel,
63  void ExtractPolyData(vtkPolyData *polyData,
64  vtkCompositeDataSet *output,
65  int piece, int numberOfPieces, int ghostLevel,
67  void ExtractRectilinearGrid(vtkRectilinearGrid *rGrid,
68  vtkCompositeDataSet *output,
69  int piece, int numberOfPieces, int ghostLevel,
71  void ExtractStructuredGrid(vtkStructuredGrid *sGrid,
72  vtkCompositeDataSet *output,
73  int piece, int numberOfPieces, int ghostLevel,
75  void ExtractUnstructuredGrid(vtkUnstructuredGrid *uGrid,
76  vtkCompositeDataSet *output,
77  int piece, int numberOfPieces, int ghostLevel,
79 private:
80  vtkExtractPiece(const vtkExtractPiece&); // Not implemented.
81  void operator=(const vtkExtractPiece&); // Not implemented.
82 };
83 
84 #endif
#define VTKFILTERSPARALLELIMAGING_EXPORT
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
a dataset that is topologically regular with variable spacing in the three coordinate directions ...
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkCompositeDataSet as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:83
superclass for composite data iterators
abstract superclass for composite (multi-block or AMR) datasets
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
dataset represents arbitrary combinations of all possible cell types
void PrintSelf(ostream &os, vtkIndent indent)
topologically regular array of data
static vtkCompositeDataSetAlgorithm * New()
Store zero or more vtkInformation instances.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)