VTK  9.2.6
vtkRectilinearGridPartitioner.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkRectilinearGridPartitioner.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
31#ifndef vtkRectilinearGridPartitioner_h
32#define vtkRectilinearGridPartitioner_h
33
34#include "vtkFiltersGeometryModule.h" // For export macro
36
37class vtkInformation;
39class vtkIndent;
40class vtkDoubleArray;
42
43class VTKFILTERSGEOMETRY_EXPORT vtkRectilinearGridPartitioner : public vtkMultiBlockDataSetAlgorithm
44{
45public:
48 void PrintSelf(ostream& oss, vtkIndent indent) override;
49
51
54 vtkGetMacro(NumberOfPartitions, int);
55 vtkSetMacro(NumberOfPartitions, int);
57
59
62 vtkGetMacro(NumberOfGhostLayers, int);
63 vtkSetMacro(NumberOfGhostLayers, int);
65
69 vtkBooleanMacro(DuplicateNodes, vtkTypeBool);
71
72protected:
75
79 void ExtractGridCoordinates(vtkRectilinearGrid* grd, int subext[6], vtkDoubleArray* xcoords,
80 vtkDoubleArray* ycoords, vtkDoubleArray* zcoords);
81
82 // Standard Pipeline methods
84 int FillInputPortInformation(int port, vtkInformation* info) override;
85 int FillOutputPortInformation(int port, vtkInformation* info) override;
86
90
91private:
93 void operator=(const vtkRectilinearGridPartitioner&) = delete;
94};
95
96#endif /* vtkRectilinearGridPartitioner_h */
dynamic, self-adjusting array of double
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void ExtractGridCoordinates(vtkRectilinearGrid *grd, int subext[6], vtkDoubleArray *xcoords, vtkDoubleArray *ycoords, vtkDoubleArray *zcoords)
Extracts the coordinates.
static vtkRectilinearGridPartitioner * New()
~vtkRectilinearGridPartitioner() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &oss, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a dataset that is topologically regular with variable spacing in the three coordinate directions
int vtkTypeBool
Definition vtkABI.h:69