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 =========================================================================*/
38 #ifndef vtkHyperTreeGridToUnstructuredGrid_h
39 #define vtkHyperTreeGridToUnstructuredGrid_h
40 
41 #include "vtkFiltersHyperTreeModule.h" // For export macro
43 
44 class vtkCellArray;
46 class vtkHyperTreeGrid;
47 class vtkPoints;
48 
49 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridToUnstructuredGrid : public vtkUnstructuredGridAlgorithm
50 {
51 public:
54  void PrintSelf( ostream&, vtkIndent );
55 
56 protected:
59 
60  unsigned int Dimension;
61  unsigned int CellSize;
62  unsigned int* Coefficients;
63 
66 
67  void ProcessTrees();
68  void RecursiveProcessTree( void* );
69  void AddCell( vtkIdType inId, double* origin, double* size );
70 
73 
76 
79 
80 private:
82  void operator=(const vtkHyperTreeGridToUnstructuredGrid&) VTK_DELETE_FUNCTION;
83 };
84 
85 #endif
object to represent cell connectivity
Definition: vtkCellArray.h:51
represent and manipulate attribute data in a dataset
Convert hyper tree grid to unstructured grid.
virtual int FillInputPortInformation(int, vtkInformation *)
Fill the input port information objects for this algorithm.
static vtkHyperTreeGridToUnstructuredGrid * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void PrintSelf(ostream &, vtkIndent)
Methods invoked by print to print information about the object including superclasses.
void AddCell(vtkIdType inId, double *origin, double *size)
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
represent and manipulate 3D points
Definition: vtkPoints.h:40
Superclass for algorithms that produce only unstructured grid as output.
dataset represents arbitrary combinations of all possible cell types
@ size
Definition: vtkX3D.h:253
int vtkIdType
Definition: vtkType.h:287