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 
37 class vtkInformation;
39 class vtkIndent;
40 class vtkStructuredGrid;
41 class vtkPoints;
42 
43 class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridPartitioner :
45 {
46 public:
49  void PrintSelf(ostream &oss, vtkIndent indent ) 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,vtkTypeBool);
72  vtkSetMacro(DuplicateNodes,vtkTypeBool);
73  vtkBooleanMacro(DuplicateNodes,vtkTypeBool);
75 
76 protected:
79 
83  vtkPoints* ExtractSubGridPoints(vtkStructuredGrid *wholeGrid,int subext[6]);
84 
85  // Standard Pipeline methods
90 
94 
95 private:
97  void operator=(const vtkStructuredGridPartitioner &) = delete;
98 };
99 
100 #endif /* vtkStructuredGridPartitioner_h */
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:40
vtkStructuredGridPartitioner
Definition: vtkStructuredGridPartitioner.h:45
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkStructuredGridPartitioner::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkStructuredGrid
topologically regular array of data
Definition: vtkStructuredGrid.h:64
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkStructuredGridPartitioner::NumberOfGhostLayers
int NumberOfGhostLayers
Definition: vtkStructuredGridPartitioner.h:92
vtkStructuredGridPartitioner::ExtractSubGridPoints
vtkPoints * ExtractSubGridPoints(vtkStructuredGrid *wholeGrid, int subext[6])
Extracts the coordinates of the sub-grid from the whole grid.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkStructuredGridPartitioner::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkMultiBlockDataSetAlgorithm.h
vtkStructuredGridPartitioner::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkStructuredGridPartitioner::DuplicateNodes
vtkTypeBool DuplicateNodes
Definition: vtkStructuredGridPartitioner.h:93
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkStructuredGridPartitioner::~vtkStructuredGridPartitioner
~vtkStructuredGridPartitioner() override
vtkStructuredGridPartitioner::vtkStructuredGridPartitioner
vtkStructuredGridPartitioner()
vtkStructuredGridPartitioner::NumberOfPartitions
int NumberOfPartitions
Definition: vtkStructuredGridPartitioner.h:91
vtkStructuredGridPartitioner::New
static vtkStructuredGridPartitioner * New()
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkStructuredGridPartitioner::PrintSelf
void PrintSelf(ostream &oss, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition: vtkMultiBlockDataSetAlgorithm.h:36