VTK  9.7.1
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
30 #ifndef vtkHyperTreeGridGhostCellsGenerator_h
31 #define vtkHyperTreeGridGhostCellsGenerator_h
32 
33 #include "vtkFiltersParallelModule.h" // For export macro
35 #include "vtkWeakPointer.h" // for vtkWeakPointer
36 
37 VTK_ABI_NAMESPACE_BEGIN
38 class vtkBitArray;
39 class vtkCellData;
40 class vtkHyperTreeGrid;
44 
45 class VTKFILTERSPARALLEL_EXPORT vtkHyperTreeGridGhostCellsGenerator
47 {
48 public:
51  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
54 
58  virtual void SetController(vtkMultiProcessController*);
59  vtkMultiProcessController* GetController();
61 
62 protected:
65 
66  struct vtkInternals;
67 
71  int FillInputPortInformation(int, vtkInformation*) override;
72 
77  int RequestData(vtkInformation* vtkNotUsed(request), vtkInformationVector** inputVector,
78  vtkInformationVector* outputVector) override;
79 
85 
86 private:
88  void operator=(const vtkHyperTreeGridGhostCellsGenerator&) = delete;
89 
97  bool ExchangeHTGMetadata(vtkHyperTreeGrid* inputHTG);
98 
100 };
101 
102 VTK_ABI_NAMESPACE_END
103 #endif /* vtkHyperTreeGridGhostCellsGenerator */
Store vtkAlgorithm input/output information.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
represent and manipulate cell attribute data
Definition: vtkCellData.h:31
Objects for traversal a HyperTreeGrid.
Generate ghost cells for distributed vtkHyperTreeGrids.
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
dynamic, self-adjusting array of unsigned char
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:32
Superclass for algorithms that produce a hyper tree grid as output.
int FillInputPortInformation(int, vtkInformation *) override
Define default input and output port types.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:55
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...
Multiprocessing communication superclass.