VTK  9.3.20240424
vtkHyperTreeGridGhostCellsGenerator.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
24#ifndef vtkHyperTreeGridGhostCellsGenerator_h
25#define vtkHyperTreeGridGhostCellsGenerator_h
26
27#include "vtkFiltersParallelModule.h" // For export macro
29
30#include <vector> // For vtkHypertreeGridGhostCellsGenerator::ExtractInterface
31
32VTK_ABI_NAMESPACE_BEGIN
33class vtkBitArray;
34class vtkCellData;
39
40class VTKFILTERSPARALLEL_EXPORT vtkHyperTreeGridGhostCellsGenerator
42{
43public:
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
48protected:
51
52 struct vtkInternals;
53
58
64
70 "This method is now defined in an internal class, and cannot be overridden anymore.")
71 void CopyInputTreeToOutput(vtkHyperTreeGridNonOrientedCursor* inCursor,
72 vtkHyperTreeGridNonOrientedCursor* outCursor, vtkCellData* inCellData, vtkCellData* outCellData,
73 vtkBitArray* inMask, vtkBitArray* outMask);
74
80 "This method is now defined in an internal class, and cannot be overridden anymore.")
81 void ExtractInterface(vtkHyperTreeGridNonOrientedCursor* inCursor, vtkBitArray* isParent,
82 std::vector<vtkIdType>& indices, vtkHyperTreeGrid* grid, unsigned int mask, vtkIdType& pos);
83
89 "This method is now defined in an internal class, and cannot be overridden anymore.")
90 vtkIdType CreateGhostTree(vtkHyperTreeGridNonOrientedCursor* outCursor, vtkBitArray* isParent,
91 vtkIdType* indices, vtkIdType&& pos = 0);
92
93private:
95 void operator=(const vtkHyperTreeGridGhostCellsGenerator&) = delete;
96};
97
98VTK_ABI_NAMESPACE_END
99#endif /* vtkHyperTreeGridGhostCellsGenerator */
dynamic, self-adjusting array of bits
Definition vtkBitArray.h:29
represent and manipulate cell attribute data
general representation of visualization data
Superclass for algorithms that produce a hyper tree grid as output.
Generated ghost cells (HyperTree's distributed).
~vtkHyperTreeGridGhostCellsGenerator() override=default
int FillOutputPortInformation(int, vtkInformation *) override
For this algorithm the output is a vtkHyperTreeGrid instance.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to generate ghost cells using information from the neighboring HTGs.
static vtkHyperTreeGridGhostCellsGenerator * New()
Objects for traversal a HyperTreeGrid.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
dynamic, self-adjusting array of unsigned char
#define VTK_DEPRECATED_IN_9_4_0(reason)
int vtkIdType
Definition vtkType.h:315