VTK  9.1.0
vtkHyperTreeGridGhostCellsGenerator.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkHyperTreeGridGhostCellsGenerator.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=========================================================================*/
33#ifndef vtkHyperTreeGridGhostCellsGenerator_h
34#define vtkHyperTreeGridGhostCellsGenerator_h
35
36#include "vtkFiltersParallelModule.h" // For export macro
38
39#include <vector> // For vtkHypertreeGridGhostCellsGenerator::ExtractInterface
40
41class vtkBitArray;
42class vtkCellData;
45
46class VTKFILTERSPARALLEL_EXPORT vtkHyperTreeGridGhostCellsGenerator
48{
49public:
52 void PrintSelf(ostream& os, vtkIndent indent) override;
53
54protected:
57
58 struct vtkInternals;
59
64
69
74 vtkHyperTreeGridNonOrientedCursor* outCursor, vtkCellData* inCellData, vtkCellData* outCellData,
75 vtkBitArray* inMask, vtkBitArray* outMask);
76
98 std::vector<vtkIdType>& indices, vtkHyperTreeGrid* grid, unsigned int mask, vtkIdType& pos);
99
113 vtkIdType* indices, vtkIdType&& pos = 0);
114
115 vtkInternals* Internals;
116
117private:
119 void operator=(const vtkHyperTreeGridGhostCellsGenerator&) = delete;
120};
121
122#endif /* vtkHyperTreeGridGhostCellsGenerator */
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:34
represent and manipulate cell attribute data
Definition: vtkCellData.h:142
general representation of visualization data
Superclass for algorithms that produce a hyper tree grid as output.
Generated ghost cells (HyperTree's distributed).
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.
void ExtractInterface(vtkHyperTreeGridNonOrientedCursor *inCursor, vtkBitArray *isParent, std::vector< vtkIdType > &indices, vtkHyperTreeGrid *grid, unsigned int mask, vtkIdType &pos)
Reads the input interface with neighbor processes.
vtkIdType CreateGhostTree(vtkHyperTreeGridNonOrientedCursor *outCursor, vtkBitArray *isParent, vtkIdType *indices, vtkIdType &&pos=0)
Creates a ghost tree in the output.
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to extract cells based on thresholded value.
static vtkHyperTreeGridGhostCellsGenerator * New()
void CopyInputTreeToOutput(vtkHyperTreeGridNonOrientedCursor *inCursor, vtkHyperTreeGridNonOrientedCursor *outCursor, vtkCellData *inCellData, vtkCellData *outCellData, vtkBitArray *inMask, vtkBitArray *outMask)
Copies the input to the output, filling memory gaps if present.
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:113
Store vtkAlgorithm input/output information.
int vtkIdType
Definition: vtkType.h:332