VTK  9.3.0
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
40 #ifndef vtkHyperTreeGridToUnstructuredGrid_h
41 #define vtkHyperTreeGridToUnstructuredGrid_h
42 
43 #include "vtkFiltersHyperTreeModule.h" // For export macro
45 
46 VTK_ABI_NAMESPACE_BEGIN
47 class vtkBitArray;
48 class vtkCellArray;
49 class vtkHyperTreeGrid;
50 class vtkIdTypeArray;
51 class vtkPoints;
54 
55 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridToUnstructuredGrid
57 {
58 public:
61  void PrintSelf(ostream& os, vtkIndent indent) override;
62 
64 
67  vtkGetMacro(AddOriginalIds, bool);
68  vtkSetMacro(AddOriginalIds, bool);
69  vtkBooleanMacro(AddOriginalIds, bool);
71 
72 protected:
75 
80 
85 
90 
94  void AddCell(vtkIdType, double*, double*);
95 
100 
105 
109  unsigned int Dimension;
110  unsigned int Orientation;
111  const unsigned int* Axes;
112 
115 
116 private:
118  void operator=(const vtkHyperTreeGridToUnstructuredGrid&) = delete;
119 };
120 
121 VTK_ABI_NAMESPACE_END
122 #endif /* vtkHyperTreeGridToUnstructuredGrid_h */
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:29
object to represent cell connectivity
Definition: vtkCellArray.h:185
general representation of visualization data
Definition: vtkDataObject.h:64
Superclass for algorithms that produce a hyper tree grid as output.
Convert hyper tree grid to unstructured grid.
int FillOutputPortInformation(int, vtkInformation *) override
For this algorithm the output is a vtkUnstructuredGrid instance.
vtkCellArray * Cells
Storage for cells of output unstructured mesh.
vtkPoints * Points
Storage for points of output unstructured mesh.
void RecursivelyProcessTree(vtkHyperTreeGridNonOrientedGeometryCursor *)
Recursively descend into tree down to leaves.
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to convert the grid of tree into an unstructured grid.
void AddCell(vtkIdType, double *, double *)
Helper method to generate a 2D or 3D cell.
unsigned int Dimension
Storage of underlying tree.
static vtkHyperTreeGridToUnstructuredGrid * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
Definition: vtkIndent.h:38
Store vtkAlgorithm input/output information.
represent and manipulate 3D points
Definition: vtkPoints.h:38
dataset represents arbitrary combinations of all possible cell types
int vtkIdType
Definition: vtkType.h:315