VTK
vtkUniformGridPartitioner.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkUniformGridPartitioner.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 vtkUniformGridPartitioner_h
32 #define vtkUniformGridPartitioner_h
33 
34 #include "vtkCommonExecutionModelModule.h" // For export macro
36 
37 class vtkInformation;
39 class vtkIndent;
40 
41 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkUniformGridPartitioner :
43 {
44  public:
47  void PrintSelf(ostream &oss, vtkIndent indent ) VTK_OVERRIDE;
48 
50 
53  vtkGetMacro(NumberOfPartitions,int);
54  vtkSetMacro(NumberOfPartitions,int);
56 
58 
61  vtkGetMacro(NumberOfGhostLayers,int);
62  vtkSetMacro(NumberOfGhostLayers,int);
64 
66  vtkGetMacro(DuplicateNodes,int);
67  vtkSetMacro(DuplicateNodes,int);
68  vtkBooleanMacro(DuplicateNodes,int);
70 
71  protected:
73  ~vtkUniformGridPartitioner() VTK_OVERRIDE;
74 
75  // Standard Pipeline methods
76  int RequestData(
77  vtkInformation*,vtkInformationVector**,vtkInformationVector*) VTK_OVERRIDE;
78  int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
79  int FillOutputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
80 
81  int NumberOfPartitions;
82  int NumberOfGhostLayers;
83  int DuplicateNodes;
84  private:
85  vtkUniformGridPartitioner(const vtkUniformGridPartitioner &) VTK_DELETE_FUNCTION;
86  void operator=(const vtkUniformGridPartitioner &) VTK_DELETE_FUNCTION;
87 
88 };
89 
90 #endif /* VTKUNIFORMGRIDPARTITIONER_H_ */
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
static vtkMultiBlockDataSetAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:39
A concrete implementation of vtkMultiBlockDataSetAlgorithm that provides functionality for partitioni...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.