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 =========================================================================*/
37 #ifndef vtkHyperTreeGridToUnstructuredGrid_h
38 #define vtkHyperTreeGridToUnstructuredGrid_h
39 
40 #include "vtkFiltersHyperTreeModule.h" // For export macro
42 
43 class vtkCellArray;
45 class vtkHyperTreeGrid;
46 class vtkPoints;
47 
49 {
50 public:
53  void PrintSelf( ostream&, vtkIndent );
54 
55 protected:
58 
59  unsigned int Dimension;
60  unsigned int CellSize;
61  unsigned int* Coefficients;
62 
64  virtual int FillInputPortInformation( int, vtkInformation* );
65 
66  void ProcessTrees();
67  void RecursiveProcessTree( void* );
68  void AddCell( vtkIdType inId, double* origin, double* size );
69 
72 
75 
78 
79 private:
81  void operator=(const vtkHyperTreeGridToUnstructuredGrid&); // Not implemented.
82 };
83 
84 #endif
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store vtkAlgorithm input/output information.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
static vtkUnstructuredGridAlgorithm * New()
virtual int FillInputPortInformation(int port, vtkInformation *info)
int vtkIdType
Definition: vtkType.h:275
#define VTKFILTERSHYPERTREE_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
dataset represents arbitrary combinations of all possible cell types
void PrintSelf(ostream &os, vtkIndent indent)
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:49
Store zero or more vtkInformation instances.
Convert hyper tree grid to unstructured grid.
represent and manipulate 3D points
Definition: vtkPoints.h:38