VTK
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;
38 class vtkIndent;
39 class vtkStructuredGrid;
40 class vtkPoints;
41 
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 
63 
64  vtkGetMacro(DuplicateNodes,int);
65  vtkSetMacro(DuplicateNodes,int);
66  vtkBooleanMacro(DuplicateNodes,int);
68 
69 protected:
72 
74  vtkPoints* ExtractSubGridPoints(vtkStructuredGrid *wholeGrid,int subext[6]);
75 
76  // Standard Pipeline methods
77  virtual int RequestData(
81 
85 
86 private:
88  void operator=(const vtkStructuredGridPartitioner &); // Not implemented
89 };
90 
91 #endif /* VTKSTRUCTUREDGRIDPARTITIONER_H_ */
Store vtkAlgorithm input/output information.
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)
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically regular array of data
virtual int FillInputPortInformation(int port, vtkInformation *info)
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
#define VTKFILTERSGEOMETRY_EXPORT
represent and manipulate 3D points
Definition: vtkPoints.h:38