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 
28 
29 class vtkImageData;
30 class vtkPolyData;
31 class vtkRectilinearGrid;
32 class vtkStructuredGrid;
35 
37 {
38 public:
39  static vtkExtractPiece* New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
43 protected:
46 
47  virtual int RequestDataObject(vtkInformation* request,
48  vtkInformationVector** inputVector,
49  vtkInformationVector* outputVector);
50 
51  virtual int RequestUpdateExtent(vtkInformation*,
54  virtual int RequestData(vtkInformation*,
57 
58  void ExtractImageData(vtkImageData *imageData,
59  vtkCompositeDataSet *output,
60  int piece, int numberOfPieces, int ghostLevel,
62  void ExtractPolyData(vtkPolyData *polyData,
63  vtkCompositeDataSet *output,
64  int piece, int numberOfPieces, int ghostLevel,
66  void ExtractRectilinearGrid(vtkRectilinearGrid *rGrid,
67  vtkCompositeDataSet *output,
68  int piece, int numberOfPieces, int ghostLevel,
70  void ExtractStructuredGrid(vtkStructuredGrid *sGrid,
71  vtkCompositeDataSet *output,
72  int piece, int numberOfPieces, int ghostLevel,
74  void ExtractUnstructuredGrid(vtkUnstructuredGrid *uGrid,
75  vtkCompositeDataSet *output,
76  int piece, int numberOfPieces, int ghostLevel,
78 private:
79  vtkExtractPiece(const vtkExtractPiece&); // Not implemented.
80  void operator=(const vtkExtractPiece&); // Not implemented.
81 };
82 
83 #endif
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:81
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:37
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
dataset represents arbitrary combinations of all possible cell types
void PrintSelf(ostream &os, vtkIndent indent)
topologically regular array of data
#define VTK_PARALLEL_EXPORT
static vtkCompositeDataSetAlgorithm * New()
Store zero or more vtkInformation instances.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)