VTK
9.2.6
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Common
ExecutionModel
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
=========================================================================*/
30
31
#ifndef vtkUniformGridPartitioner_h
32
#define vtkUniformGridPartitioner_h
33
34
#include "vtkCommonExecutionModelModule.h"
// For export macro
35
#include "
vtkMultiBlockDataSetAlgorithm.h
"
36
37
class
vtkInformation
;
38
class
vtkInformationVector
;
39
class
vtkIndent
;
40
41
class
VTKCOMMONEXECUTIONMODEL_EXPORT
vtkUniformGridPartitioner
42
:
public
vtkMultiBlockDataSetAlgorithm
43
{
44
public
:
45
static
vtkUniformGridPartitioner
*
New
();
46
vtkTypeMacro(
vtkUniformGridPartitioner
,
vtkMultiBlockDataSetAlgorithm
);
47
void
PrintSelf
(ostream& oss,
vtkIndent
indent)
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
,
vtkTypeBool
);
67
vtkSetMacro(
DuplicateNodes
,
vtkTypeBool
);
68
vtkBooleanMacro(
DuplicateNodes
,
vtkTypeBool
);
70
71
protected
:
72
vtkUniformGridPartitioner
();
73
~vtkUniformGridPartitioner
()
override
;
74
75
// Standard Pipeline methods
76
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
77
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
78
int
FillOutputPortInformation
(
int
port,
vtkInformation
* info)
override
;
79
80
int
NumberOfPartitions
;
81
int
NumberOfGhostLayers
;
82
vtkTypeBool
DuplicateNodes
;
83
84
private
:
85
vtkUniformGridPartitioner
(
const
vtkUniformGridPartitioner
&) =
delete
;
86
void
operator=(
const
vtkUniformGridPartitioner
&) =
delete
;
87
};
88
89
#endif
/* VTKUNIFORMGRIDPARTITIONER_H_ */
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:40
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:42
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:74
vtkMultiBlockDataSetAlgorithm::vtkMultiBlockDataSetAlgorithm
vtkMultiBlockDataSetAlgorithm()
vtkUniformGridPartitioner::NumberOfGhostLayers
int NumberOfGhostLayers
Definition
vtkUniformGridPartitioner.h:81
vtkUniformGridPartitioner::PrintSelf
void PrintSelf(ostream &oss, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUniformGridPartitioner::NumberOfPartitions
int NumberOfPartitions
Definition
vtkUniformGridPartitioner.h:80
vtkUniformGridPartitioner::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkUniformGridPartitioner::~vtkUniformGridPartitioner
~vtkUniformGridPartitioner() override
vtkUniformGridPartitioner::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkUniformGridPartitioner::vtkUniformGridPartitioner
vtkUniformGridPartitioner()
vtkUniformGridPartitioner::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkUniformGridPartitioner::DuplicateNodes
vtkTypeBool DuplicateNodes
Definition
vtkUniformGridPartitioner.h:82
vtkUniformGridPartitioner::New
static vtkUniformGridPartitioner * New()
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkMultiBlockDataSetAlgorithm.h
Generated on
for VTK by
1.14.0