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 
65  virtual int FillInputPortInformation( int, vtkInformation* );
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
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
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:287
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
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:39
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:50
Store zero or more vtkInformation instances.
Convert hyper tree grid to unstructured grid.
represent and manipulate 3D points
Definition: vtkPoints.h:39