VTK
vtkHyperTreeGridGeometry.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHyperTreeGridGeometry.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 =========================================================================*/
28 #ifndef vtkHyperTreeGridGeometry_h
29 #define vtkHyperTreeGridGeometry_h
30 
31 #include "vtkFiltersHyperTreeModule.h" // For export macro
32 #include "vtkPolyDataAlgorithm.h"
33 
34 class vtkCellArray;
36 class vtkHyperTreeGrid;
37 class vtkPoints;
38 
39 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridGeometry : public vtkPolyDataAlgorithm
40 {
41 public:
42  static vtkHyperTreeGridGeometry* New();
44  void PrintSelf( ostream&, vtkIndent ) VTK_OVERRIDE;
45 
46 protected:
48  ~vtkHyperTreeGridGeometry() VTK_OVERRIDE;
49 
50  int RequestData( vtkInformation*,
51  vtkInformationVector**, vtkInformationVector* ) VTK_OVERRIDE;
52  int FillInputPortInformation( int, vtkInformation* ) VTK_OVERRIDE;
53 
54  void ProcessTrees();
55  void RecursiveProcessTree( void* );
56  void ProcessLeaf1D( void* );
57  void ProcessLeaf2D( void* );
58  void ProcessLeaf3D( void* );
59  void AddFace( vtkIdType inId, double* origin, double* size,
60  int offset, int orientation );
61 
63  vtkPolyData* Output;
64 
67 
68  vtkPoints* Points;
69  vtkCellArray* Cells;
70 
71 private:
72  vtkHyperTreeGridGeometry(const vtkHyperTreeGridGeometry&) VTK_DELETE_FUNCTION;
73  void operator=(const vtkHyperTreeGridGeometry&) VTK_DELETE_FUNCTION;
74 };
75 
76 #endif
Store vtkAlgorithm input/output information.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
int vtkIdType
Definition: vtkType.h:345
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:79
Hyper tree grid outer surface.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:33
represent and manipulate attribute data in a dataset
object to represent cell connectivity
Definition: vtkCellArray.h:44
Store zero or more vtkInformation instances.
represent and manipulate 3D points
Definition: vtkPoints.h:33
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.