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 =========================================================================*/
35 #ifndef vtkHyperTreeGridToUnstructuredGrid_h
36 #define vtkHyperTreeGridToUnstructuredGrid_h
37 
38 #include "vtkFiltersHyperTreeModule.h" // For export macro
40 
41 class vtkCellArray;
43 class vtkHyperTreeGrid;
44 class vtkPoints;
45 
46 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridToUnstructuredGrid : public vtkUnstructuredGridAlgorithm
47 {
48 public:
51  void PrintSelf( ostream&, vtkIndent ) VTK_OVERRIDE;
52 
53 protected:
55  ~vtkHyperTreeGridToUnstructuredGrid() VTK_OVERRIDE;
56 
57  unsigned int Dimension;
58  unsigned int CellSize;
59  unsigned int* Coefficients;
60 
61  int RequestData( vtkInformation*, vtkInformationVector**, vtkInformationVector* ) VTK_OVERRIDE;
62  int FillInputPortInformation( int, vtkInformation* ) VTK_OVERRIDE;
63 
64  void ProcessTrees();
65  void RecursiveProcessTree( void* );
66  void AddCell( vtkIdType inId, double* origin, double* size );
67 
70 
73 
74  vtkPoints* Points;
75  vtkCellArray* Cells;
76 
77 private:
78  vtkHyperTreeGridToUnstructuredGrid(const vtkHyperTreeGridToUnstructuredGrid&) VTK_DELETE_FUNCTION;
79  void operator=(const vtkHyperTreeGridToUnstructuredGrid&) VTK_DELETE_FUNCTION;
80 };
81 
82 #endif
Store vtkAlgorithm input/output information.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
static vtkUnstructuredGridAlgorithm * New()
int vtkIdType
Definition: vtkType.h:345
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:33
dataset represents arbitrary combinations of all possible cell types
represent and manipulate attribute data in a dataset
Superclass for algorithms that produce only unstructured grid as output.
object to represent cell connectivity
Definition: vtkCellArray.h:44
Store zero or more vtkInformation instances.
Convert hyper tree grid to unstructured grid.
represent and manipulate 3D points
Definition: vtkPoints.h:33