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 
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
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkDataSetAttributes
represent and manipulate attribute data in a dataset
Definition: vtkDataSetAttributes.h:58
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkHyperTreeGridToUnstructuredGrid::Input
vtkHyperTreeGrid * Input
Definition: vtkHyperTreeGridToUnstructuredGrid.h:70
vtkHyperTreeGridToUnstructuredGrid::AddCell
void AddCell(vtkIdType inId, double *origin, double *size)
vtkFiltersHyperTreeModule.h
vtkHyperTreeGridToUnstructuredGrid::ProcessTrees
void ProcessTrees()
vtkHyperTreeGridToUnstructuredGrid::FillInputPortInformation
virtual int FillInputPortInformation(int, vtkInformation *)
vtkHyperTreeGridToUnstructuredGrid::Cells
vtkCellArray * Cells
Definition: vtkHyperTreeGridToUnstructuredGrid.h:77
VTKFILTERSHYPERTREE_EXPORT
#define VTKFILTERSHYPERTREE_EXPORT
Definition: vtkFiltersHyperTreeModule.h:15
vtkHyperTreeGridToUnstructuredGrid::Output
vtkUnstructuredGrid * Output
Definition: vtkHyperTreeGridToUnstructuredGrid.h:71
vtkHyperTreeGridToUnstructuredGrid::Points
vtkPoints * Points
Definition: vtkHyperTreeGridToUnstructuredGrid.h:76
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:61
vtkHyperTreeGridToUnstructuredGrid::Dimension
unsigned int Dimension
Definition: vtkHyperTreeGridToUnstructuredGrid.h:59
vtkHyperTreeGridToUnstructuredGrid::OutData
vtkDataSetAttributes * OutData
Definition: vtkHyperTreeGridToUnstructuredGrid.h:74
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkHyperTreeGridToUnstructuredGrid::vtkHyperTreeGridToUnstructuredGrid
vtkHyperTreeGridToUnstructuredGrid()
vtkHyperTreeGridToUnstructuredGrid::PrintSelf
void PrintSelf(ostream &, vtkIndent)
vtkHyperTreeGridToUnstructuredGrid::~vtkHyperTreeGridToUnstructuredGrid
~vtkHyperTreeGridToUnstructuredGrid()
vtkUnstructuredGridAlgorithm.h
vtkHyperTreeGridToUnstructuredGrid::RecursiveProcessTree
void RecursiveProcessTree(void *)
vtkHyperTreeGridToUnstructuredGrid::InData
vtkDataSetAttributes * InData
Definition: vtkHyperTreeGridToUnstructuredGrid.h:73
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:82
vtkHyperTreeGridToUnstructuredGrid::CellSize
unsigned int CellSize
Definition: vtkHyperTreeGridToUnstructuredGrid.h:60
vtkHyperTreeGridToUnstructuredGrid::New
static vtkHyperTreeGridToUnstructuredGrid * New()
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
vtkgl::size
GLsizeiptr size
Definition: vtkgl.h:11843
vtkHyperTreeGridToUnstructuredGrid::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)