VTK  9.2.6
vtkHyperTreeGridToUnstructuredGrid.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHyperTreeGridToUnstructuredGrid.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 =========================================================================*/
52 #ifndef vtkHyperTreeGridToUnstructuredGrid_h
53 #define vtkHyperTreeGridToUnstructuredGrid_h
54 
55 #include "vtkFiltersHyperTreeModule.h" // For export macro
57 
58 class vtkBitArray;
59 class vtkCellArray;
60 class vtkHyperTreeGrid;
61 class vtkIdTypeArray;
62 class vtkPoints;
65 
66 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridToUnstructuredGrid
68 {
69 public:
72  void PrintSelf(ostream& os, vtkIndent indent) override;
73 
75 
78  vtkGetMacro(AddOriginalIds, bool);
79  vtkSetMacro(AddOriginalIds, bool);
80  vtkBooleanMacro(AddOriginalIds, bool);
82 
83 protected:
86 
91 
96 
101 
105  void AddCell(vtkIdType, double*, double*);
106 
111 
116 
120  unsigned int Dimension;
121  unsigned int Orientation;
122  const unsigned int* Axes;
123 
126 
127 private:
129  void operator=(const vtkHyperTreeGridToUnstructuredGrid&) = delete;
130 };
131 
132 #endif /* vtkHyperTreeGridToUnstructuredGrid_h */
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:37
object to represent cell connectivity
Definition: vtkCellArray.h:196
general representation of visualization data
Definition: vtkDataObject.h:75
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:49
Store vtkAlgorithm input/output information.
represent and manipulate 3D points
Definition: vtkPoints.h:49
dataset represents arbitrary combinations of all possible cell types
int vtkIdType
Definition: vtkType.h:332