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  =========================================================================*/
28 #ifndef vtkStructuredGridPartitioner_h
29 #define vtkStructuredGridPartitioner_h
30 
31 #include "vtkFiltersGeometryModule.h" // For export macro
33 
34 class vtkInformation;
36 class vtkIndent;
37 class vtkStructuredGrid;
38 class vtkPoints;
39 
40 class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridPartitioner :
42 {
43 public:
46  void PrintSelf(ostream &oss, vtkIndent indent ) override;
47 
49 
52  vtkGetMacro(NumberOfPartitions,int);
53  vtkSetMacro(NumberOfPartitions,int);
55 
57 
60  vtkGetMacro(NumberOfGhostLayers,int);
61  vtkSetMacro(NumberOfGhostLayers,int);
63 
65 
68  vtkGetMacro(DuplicateNodes,vtkTypeBool);
69  vtkSetMacro(DuplicateNodes,vtkTypeBool);
70  vtkBooleanMacro(DuplicateNodes,vtkTypeBool);
72 
73 protected:
75  ~vtkStructuredGridPartitioner() override;
76 
80  vtkPoints* ExtractSubGridPoints(vtkStructuredGrid *wholeGrid,int subext[6]);
81 
82  // Standard Pipeline methods
83  int RequestData(
87 
91 
92 private:
94  void operator=(const vtkStructuredGridPartitioner &) = delete;
95 };
96 
97 #endif /* vtkStructuredGridPartitioner_h */
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:33
vtkStructuredGridPartitioner
Definition: vtkStructuredGridPartitioner.h:40
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkMultiBlockDataSetAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkStructuredGrid
topologically regular array of data
Definition: vtkStructuredGrid.h:57
vtkMultiBlockDataSetAlgorithm::New
static vtkMultiBlockDataSetAlgorithm * New()
vtkMultiBlockDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkMultiBlockDataSetAlgorithm.h:88
vtkX3D::port
Definition: vtkX3D.h:447
vtkStructuredGridPartitioner::NumberOfGhostLayers
int NumberOfGhostLayers
Definition: vtkStructuredGridPartitioner.h:89
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkMultiBlockDataSetAlgorithm.h
vtkStructuredGridPartitioner::DuplicateNodes
vtkTypeBool DuplicateNodes
Definition: vtkStructuredGridPartitioner.h:90
vtkMultiBlockDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkX3D::info
Definition: vtkX3D.h:376
vtkMultiBlockDataSetAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkStructuredGridPartitioner::NumberOfPartitions
int NumberOfPartitions
Definition: vtkStructuredGridPartitioner.h:88
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition: vtkMultiBlockDataSetAlgorithm.h:32