VTK
9.5.20251210
Filters
Parallel
vtkExtractPolyDataPiece.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
11
12
#ifndef vtkExtractPolyDataPiece_h
13
#define vtkExtractPolyDataPiece_h
14
15
#include "vtkFiltersParallelModule.h"
// For export macro
16
#include "
vtkPolyDataAlgorithm.h
"
17
18
VTK_ABI_NAMESPACE_BEGIN
19
class
vtkIdList
;
20
class
vtkIntArray
;
21
22
class
VTKFILTERSPARALLEL_EXPORT
vtkExtractPolyDataPiece
:
public
vtkPolyDataAlgorithm
23
{
24
public
:
25
static
vtkExtractPolyDataPiece
*
New
();
26
vtkTypeMacro(
vtkExtractPolyDataPiece
,
vtkPolyDataAlgorithm
);
27
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
28
30
33
vtkSetMacro(
CreateGhostCells
,
vtkTypeBool
);
34
vtkGetMacro(
CreateGhostCells
,
vtkTypeBool
);
35
vtkBooleanMacro(
CreateGhostCells
,
vtkTypeBool
);
37
38
protected
:
39
vtkExtractPolyDataPiece
();
40
~vtkExtractPolyDataPiece
()
override
=
default
;
41
42
// Usual data generation method
43
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
44
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
45
46
// A method for labeling which piece the cells belong to.
47
void
ComputeCellTags
(
48
vtkIntArray
* cellTags,
vtkIdList
* pointOwnership,
int
piece,
int
numPieces,
vtkPolyData
* input);
49
50
void
AddGhostLevel
(
vtkPolyData
* input,
vtkIntArray
* cellTags,
int
ghostLevel);
51
52
vtkTypeBool
CreateGhostCells
;
53
54
private
:
55
vtkExtractPolyDataPiece
(
const
vtkExtractPolyDataPiece
&) =
delete
;
56
void
operator=(
const
vtkExtractPolyDataPiece
&) =
delete
;
57
};
58
59
VTK_ABI_NAMESPACE_END
60
#endif
vtkExtractPolyDataPiece::New
static vtkExtractPolyDataPiece * New()
vtkExtractPolyDataPiece::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractPolyDataPiece::ComputeCellTags
void ComputeCellTags(vtkIntArray *cellTags, vtkIdList *pointOwnership, int piece, int numPieces, vtkPolyData *input)
vtkExtractPolyDataPiece::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractPolyDataPiece::CreateGhostCells
vtkTypeBool CreateGhostCells
Definition
vtkExtractPolyDataPiece.h:52
vtkExtractPolyDataPiece::vtkExtractPolyDataPiece
vtkExtractPolyDataPiece()
vtkExtractPolyDataPiece::AddGhostLevel
void AddGhostLevel(vtkPolyData *input, vtkIntArray *cellTags, int ghostLevel)
vtkExtractPolyDataPiece::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractPolyDataPiece::~vtkExtractPolyDataPiece
~vtkExtractPolyDataPiece() override=default
vtkIdList
list of point or cell ids
Definition
vtkIdList.h:133
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:142
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:173
vtkIntArray
dynamic, self-adjusting array of int
Definition
vtkIntArray.h:144
vtkPolyDataAlgorithm::vtkPolyDataAlgorithm
vtkPolyDataAlgorithm()
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition
vtkPolyData.h:181
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:64
vtkPolyDataAlgorithm.h
Generated on Wed Dec 10 2025 08:50:15 for VTK by
1.13.2