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 =========================================================================*/
31#ifndef vtkStructuredGridPartitioner_h
32#define vtkStructuredGridPartitioner_h
33
34#include "vtkFiltersGeometryModule.h" // For export macro
36
37class vtkInformation;
39class vtkIndent;
41class vtkPoints;
42
43class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridPartitioner :
45{
46public:
49 void PrintSelf(ostream &oss, vtkIndent indent ) VTK_OVERRIDE;
50
52
55 vtkGetMacro(NumberOfPartitions,int);
56 vtkSetMacro(NumberOfPartitions,int);
58
60
63 vtkGetMacro(NumberOfGhostLayers,int);
64 vtkSetMacro(NumberOfGhostLayers,int);
66
68
71 vtkGetMacro(DuplicateNodes,int);
72 vtkSetMacro(DuplicateNodes,int);
73 vtkBooleanMacro(DuplicateNodes,int);
75
76protected:
79
83 vtkPoints* ExtractSubGridPoints(vtkStructuredGrid *wholeGrid,int subext[6]);
84
85 // Standard Pipeline methods
86 int RequestData(
88 int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
89 int FillOutputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
90
91 int NumberOfPartitions;
92 int NumberOfGhostLayers;
93 int DuplicateNodes;
94
95private:
97 void operator=(const vtkStructuredGridPartitioner &) VTK_DELETE_FUNCTION;
98};
99
100#endif /* vtkStructuredGridPartitioner_h */
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
represent and manipulate 3D points
Definition: vtkPoints.h:40
A concrete implementation of vtkMultiBlockDataSetAlgorithm that provides functionality for partitioni...
void PrintSelf(ostream &oss, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkStructuredGridPartitioner() override
static vtkStructuredGridPartitioner * New()
topologically regular array of data
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.