VTK  9.0.1
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 
41 class vtkBitArray;
42 class vtkHyperTreeGrid;
44 class vtkPointData;
45 
46 class VTKFILTERSPARALLEL_EXPORT vtkHyperTreeGridGhostCellsGenerator
48 {
49 public:
52  void PrintSelf(ostream&, vtkIndent) override;
53 
54 protected:
57 
58  struct vtkInternals;
59 
63  int FillOutputPortInformation(int, vtkInformation*) override;
64 
69 
73  void CopyInputTreeToOutput(vtkHyperTreeGridNonOrientedCursor* inCursor,
74  vtkHyperTreeGridNonOrientedCursor* outCursor, vtkPointData* inPointData,
75  vtkPointData* outPointData, vtkBitArray* inMask, vtkBitArray* outMask);
76 
97  void ExtractInterface(vtkHyperTreeGridNonOrientedCursor* inCursor, vtkBitArray* isParent,
98  std::vector<vtkIdType>& indices, vtkHyperTreeGrid* grid, unsigned int mask, vtkIdType& pos);
99 
112  vtkIdType CreateGhostTree(vtkHyperTreeGridNonOrientedCursor* outCursor, vtkBitArray* isParent,
113  vtkIdType* indices, vtkIdType&& pos = 0);
114 
115  vtkInternals* Internals;
116 
117 private:
119  void operator=(const vtkHyperTreeGridGhostCellsGenerator&) = delete;
120 };
121 
122 #endif /* vtkHyperTreeGridGhostCellsGenerator */
vtkPointData
represent and manipulate point attribute data
Definition: vtkPointData.h:31
vtkIdType
int vtkIdType
Definition: vtkType.h:338
vtkHyperTreeGridAlgorithm::ProcessTrees
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...
vtkHyperTreeGridAlgorithm.h
vtkHyperTreeGridNonOrientedCursor
Objects for traversal a HyperTreeGrid.
Definition: vtkHyperTreeGridNonOrientedCursor.h:50
vtkHyperTreeGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkHyperTreeGridAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
vtkBitArray
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:33
vtkHyperTreeGridGhostCellsGenerator
Generated ghost cells (HyperTree's distributed).
Definition: vtkHyperTreeGridGhostCellsGenerator.h:46
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:59
vtkHyperTreeGridAlgorithm
Superclass for algorithms that produce a hyper tree grid as output.
Definition: vtkHyperTreeGridAlgorithm.h:47
vtkHyperTreeGridGhostCellsGenerator::Internals
vtkInternals * Internals
Definition: vtkHyperTreeGridGhostCellsGenerator.h:115
vtkHyperTreeGrid
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
Definition: vtkHyperTreeGrid.h:96