VTK  9.4.20250206
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
49#ifndef vtkHyperTreeGridToUnstructuredGrid_h
50#define vtkHyperTreeGridToUnstructuredGrid_h
51
52#include "vtkFiltersHyperTreeModule.h" // For export macro
54
55VTK_ABI_NAMESPACE_BEGIN
56class vtkBitArray;
57class vtkCellArray;
59class vtkIdTypeArray;
60class vtkPoints;
63
64class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridToUnstructuredGrid
66{
67public:
70 void PrintSelf(ostream& os, vtkIndent indent) override;
71
73
76 vtkGetMacro(AddOriginalIds, bool);
77 vtkSetMacro(AddOriginalIds, bool);
78 vtkBooleanMacro(AddOriginalIds, bool);
80
81protected:
84
89
94
99
103 void AddCell(vtkIdType, double*, double*);
104
109
114
118 unsigned int Dimension;
119 unsigned int Orientation;
120 const unsigned int* Axes;
121
124
125private:
127 void operator=(const vtkHyperTreeGridToUnstructuredGrid&) = delete;
128};
129
130VTK_ABI_NAMESPACE_END
131#endif /* vtkHyperTreeGridToUnstructuredGrid_h */
dynamic, self-adjusting array of bits
Definition vtkBitArray.h:29
object to represent cell connectivity
general representation of visualization data
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.
static vtkHyperTreeGridToUnstructuredGrid * New()
void AddCell(vtkIdType, double *, double *)
Helper method to generate a 2D or 3D cell.
unsigned int Dimension
Storage of underlying tree.
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:108
Store vtkAlgorithm input/output information.
represent and manipulate 3D points
Definition vtkPoints.h:139
dataset represents arbitrary combinations of all possible cell types
int vtkIdType
Definition vtkType.h:315