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
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkIdType
int vtkIdType
Definition: vtkType.h:287
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition: vtkDataSetAttributes.h:58
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkHyperTreeGridToUnstructuredGrid::Input
vtkHyperTreeGrid * Input
Definition: vtkHyperTreeGridToUnstructuredGrid.h:71
vtkHyperTreeGridToUnstructuredGrid::Cells
vtkCellArray * Cells
Definition: vtkHyperTreeGridToUnstructuredGrid.h:78
vtkHyperTreeGridToUnstructuredGrid::Output
vtkUnstructuredGrid * Output
Definition: vtkHyperTreeGridToUnstructuredGrid.h:72
vtkUnstructuredGridAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkHyperTreeGridToUnstructuredGrid::Points
vtkPoints * Points
Definition: vtkHyperTreeGridToUnstructuredGrid.h:77
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkCellArray
object to represent cell connectivity
Definition: vtkCellArray.h:50
vtkHyperTreeGridToUnstructuredGrid::Coefficients
unsigned int * Coefficients
Definition: vtkHyperTreeGridToUnstructuredGrid.h:62
vtkHyperTreeGridToUnstructuredGrid::Dimension
unsigned int Dimension
Definition: vtkHyperTreeGridToUnstructuredGrid.h:60
vtkUnstructuredGridAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkX3D::size
Definition: vtkX3D.h:253
vtkHyperTreeGridToUnstructuredGrid::OutData
vtkDataSetAttributes * OutData
Definition: vtkHyperTreeGridToUnstructuredGrid.h:75
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkUnstructuredGridAlgorithm::New
static vtkUnstructuredGridAlgorithm * New()
vtkUnstructuredGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUnstructuredGridAlgorithm.h
vtkHyperTreeGridToUnstructuredGrid::InData
vtkDataSetAttributes * InData
Definition: vtkHyperTreeGridToUnstructuredGrid.h:74
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition: vtkUnstructuredGridAlgorithm.h:40
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:81
vtkHyperTreeGridToUnstructuredGrid::CellSize
unsigned int CellSize
Definition: vtkHyperTreeGridToUnstructuredGrid.h:61
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:68