VTK  9.1.0
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 =========================================================================*/
62 #ifndef vtkHyperTreeGridToUnstructuredGrid_h
63 #define vtkHyperTreeGridToUnstructuredGrid_h
64 
65 #include "vtkFiltersHyperTreeModule.h" // For export macro
67 
68 class vtkBitArray;
69 class vtkCellArray;
70 class vtkHyperTreeGrid;
71 class vtkPoints;
74 
75 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridToUnstructuredGrid
77 {
78 public:
81  void PrintSelf(ostream& os, vtkIndent indent) override;
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 
124 private:
126  void operator=(const vtkHyperTreeGridToUnstructuredGrid&) = delete;
127 };
128 
129 #endif /* vtkHyperTreeGridToUnstructuredGrid_h */
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:143
vtkHyperTreeGridNonOrientedGeometryCursor
Objects for traversal a HyperTreeGrid.
Definition: vtkHyperTreeGridNonOrientedGeometryCursor.h:57
vtkHyperTreeGridToUnstructuredGrid::AddCell
void AddCell(vtkIdType, double *, double *)
Helper method to generate a 2D or 3D cell.
vtkHyperTreeGridToUnstructuredGrid::ProcessTrees
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to convert the grid of tree into an unstructured grid.
vtkIdType
int vtkIdType
Definition: vtkType.h:332
vtkHyperTreeGridToUnstructuredGrid::Axes
const unsigned int * Axes
Definition: vtkHyperTreeGridToUnstructuredGrid.h:122
vtkHyperTreeGridToUnstructuredGrid::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *) override
For this algorithm the output is a vtkUnstructuredGrid instance.
vtkHyperTreeGridAlgorithm.h
vtkHyperTreeGridToUnstructuredGrid::Cells
vtkCellArray * Cells
Storage for cells of output unstructured mesh.
Definition: vtkHyperTreeGridToUnstructuredGrid.h:115
vtkHyperTreeGridToUnstructuredGrid::Points
vtkPoints * Points
Storage for points of output unstructured mesh.
Definition: vtkHyperTreeGridToUnstructuredGrid.h:110
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkCellArray
object to represent cell connectivity
Definition: vtkCellArray.h:290
vtkHyperTreeGridToUnstructuredGrid::RecursivelyProcessTree
void RecursivelyProcessTree(vtkHyperTreeGridNonOrientedGeometryCursor *)
Recursively descend into tree down to leaves.
vtkHyperTreeGridToUnstructuredGrid::Dimension
unsigned int Dimension
Storage of underlying tree.
Definition: vtkHyperTreeGridToUnstructuredGrid.h:120
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkHyperTreeGridToUnstructuredGrid::Orientation
unsigned int Orientation
Definition: vtkHyperTreeGridToUnstructuredGrid.h:121
vtkHyperTreeGridToUnstructuredGrid::vtkHyperTreeGridToUnstructuredGrid
vtkHyperTreeGridToUnstructuredGrid()
vtkHyperTreeGridToUnstructuredGrid::~vtkHyperTreeGridToUnstructuredGrid
~vtkHyperTreeGridToUnstructuredGrid() override
vtkBitArray
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:34
vtkHyperTreeGridToUnstructuredGrid::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:204
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:169
vtkHyperTreeGridToUnstructuredGrid::New
static vtkHyperTreeGridToUnstructuredGrid * New()
vtkHyperTreeGridAlgorithm
Superclass for algorithms that produce a hyper tree grid as output.
Definition: vtkHyperTreeGridAlgorithm.h:48
vtkHyperTreeGridToUnstructuredGrid
Convert hyper tree grid to unstructured grid.
Definition: vtkHyperTreeGridToUnstructuredGrid.h:77
vtkHyperTreeGrid
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
Definition: vtkHyperTreeGrid.h:96