VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkStructuredGridPartitioner.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkStructuredGridPartitioner.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  =========================================================================*/
30 #ifndef VTKSTRUCTUREDGRIDPARTITIONER_H_
31 #define VTKSTRUCTUREDGRIDPARTITIONER_H_
32 
33 #include "vtkFiltersGeometryModule.h" // For export macro
35 
36 class vtkInformation;
37 class vtkInformationVector;
38 class vtkIndent;
39 class vtkStructuredGrid;
40 class vtkPoints;
41 
42 class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridPartitioner :
44 {
45 public:
48  void PrintSelf(ostream &oss, vtkIndent indent );
49 
51 
52  vtkGetMacro(NumberOfPartitions,int);
53  vtkSetMacro(NumberOfPartitions,int);
55 
57 
58  vtkGetMacro(NumberOfGhostLayers,int);
59  vtkSetMacro(NumberOfGhostLayers,int);
61 
62 protected:
65 
67  vtkPoints* ExtractSubGridPoints(vtkStructuredGrid *wholeGrid,int subext[6]);
68 
69  // Standard Pipeline methods
70  virtual int RequestData(
71  vtkInformation*,vtkInformationVector**,vtkInformationVector*);
72  virtual int FillInputPortInformation(int port, vtkInformation *info);
73  virtual int FillOutputPortInformation(int port, vtkInformation *info);
74 
77 private:
79  void operator=(const vtkStructuredGridPartitioner &); // Not implemented
80 };
81 
82 #endif /* VTKSTRUCTUREDGRIDPARTITIONER_H_ */
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkMultiBlockDataSetAlgorithm * New()
virtual int FillOutputPortInformation(int port, vtkInformation *info)
topologically regular array of data
virtual int FillInputPortInformation(int port, vtkInformation *info)
void PrintSelf(ostream &os, vtkIndent indent)