VTK  9.3.1
vtkHyperTreeGridToUnstructuredGrid.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
31 #ifndef vtkHyperTreeGridToUnstructuredGrid_h
32 #define vtkHyperTreeGridToUnstructuredGrid_h
33 
34 #include "vtkFiltersHyperTreeModule.h" // For export macro
36 
37 VTK_ABI_NAMESPACE_BEGIN
38 class vtkBitArray;
39 class vtkCellArray;
40 class vtkHyperTreeGrid;
41 class vtkIdTypeArray;
42 class vtkPoints;
45 
46 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridToUnstructuredGrid
48 {
49 public:
52  void PrintSelf(ostream& os, vtkIndent indent) override;
53 
55 
58  vtkGetMacro(AddOriginalIds, bool);
59  vtkSetMacro(AddOriginalIds, bool);
60  vtkBooleanMacro(AddOriginalIds, bool);
62 
63 protected:
66 
70  int FillOutputPortInformation(int, vtkInformation*) override;
71 
76 
80  void RecursivelyProcessTree(vtkHyperTreeGridNonOrientedGeometryCursor*);
81 
85  void AddCell(vtkIdType, double*, double*);
86 
91 
96 
100  unsigned int Dimension;
101  unsigned int Orientation;
102  const unsigned int* Axes;
103 
106 
107 private:
109  void operator=(const vtkHyperTreeGridToUnstructuredGrid&) = delete;
110 };
111 
112 VTK_ABI_NAMESPACE_END
113 #endif /* vtkHyperTreeGridToUnstructuredGrid_h */
int FillOutputPortInformation(int, vtkInformation *) override
Define default input and output port types.
Store vtkAlgorithm input/output information.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
dynamic, self-adjusting array of vtkIdType
int vtkIdType
Definition: vtkType.h:315
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.
dataset represents arbitrary combinations of all possible cell types
vtkCellArray * Cells
Storage for cells of output unstructured mesh.
object to represent cell connectivity
Definition: vtkCellArray.h:175
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:28
Superclass for algorithms that produce a hyper tree grid as output.
static vtkAlgorithm * New()
Convert hyper tree grid to unstructured grid.
vtkPoints * Points
Storage for points of output unstructured mesh.
general representation of visualization data
Definition: vtkDataObject.h:54
unsigned int Dimension
Storage of underlying tree.
represent and manipulate 3D points
Definition: vtkPoints.h:28
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...