VTK
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 =========================================================================*/
36 #ifndef vtkHyperTreeGridToUnstructuredGrid_h
37 #define vtkHyperTreeGridToUnstructuredGrid_h
38 
39 #include "vtkFiltersHyperTreeModule.h" // For export macro
41 
42 class vtkBitArray;
43 class vtkCellArray;
44 class vtkHyperTreeGrid;
46 class vtkPoints;
48 
49 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridToUnstructuredGrid : public vtkHyperTreeGridAlgorithm
50 {
51 public:
54  void PrintSelf( ostream&, vtkIndent ) override;
55 
56 protected:
59 
63  int FillOutputPortInformation( int, vtkInformation* ) override;
64 
68  int ProcessTrees( vtkHyperTreeGrid*, vtkDataObject* ) override;
69 
73  void RecursivelyProcessTree( vtkHyperTreeGridCursor*, vtkBitArray* );
74 
78  void AddCell( vtkIdType, double*, double* );
79 
84 
89 
93  unsigned int Dimension;
94 
95 private:
97  void operator=(const vtkHyperTreeGridToUnstructuredGrid&) = delete;
98 };
99 
100 #endif /* vtkHyperTreeGridToUnstructuredGrid_h */
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:33
vtkHyperTreeGridCursor
Objects for depth-first traversal HyperTreeGrids.
Definition: vtkHyperTreeGridCursor.h:45
vtkIdType
int vtkIdType
Definition: vtkType.h:347
vtkHyperTreeGridAlgorithm::ProcessTrees
virtual int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *)=0
Main routine to process individual trees in the grid This is pure virtual method to be implemented by...
vtkHyperTreeGridAlgorithm.h
vtkHyperTreeGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkHyperTreeGridToUnstructuredGrid::Cells
vtkCellArray * Cells
Storage for cells of output unstructured mesh.
Definition: vtkHyperTreeGridToUnstructuredGrid.h:88
vtkHyperTreeGridToUnstructuredGrid::Points
vtkPoints * Points
Storage for points of output unstructured mesh.
Definition: vtkHyperTreeGridToUnstructuredGrid.h:83
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkCellArray
object to represent cell connectivity
Definition: vtkCellArray.h:44
vtkHyperTreeGridToUnstructuredGrid::Dimension
unsigned int Dimension
Storage for dimension of underlying tree.
Definition: vtkHyperTreeGridToUnstructuredGrid.h:93
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkHyperTreeGridAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
vtkBitArray
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:33
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:81
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:58
vtkHyperTreeGridAlgorithm
Superclass for algorithms that produce a hyper tree grid as output.
Definition: vtkHyperTreeGridAlgorithm.h:46
vtkHyperTreeGridToUnstructuredGrid
Convert hyper tree grid to unstructured grid.
Definition: vtkHyperTreeGridToUnstructuredGrid.h:49
vtkHyperTreeGrid
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
Definition: vtkHyperTreeGrid.h:67