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 =========================================================================*/
34 #ifndef vtkHyperTreeGridGeometry_h
35 #define vtkHyperTreeGridGeometry_h
36 
37 #include "vtkFiltersHyperTreeModule.h" // For export macro
38 #include "vtkPolyDataAlgorithm.h"
39 
40 class vtkCellArray;
42 class vtkHyperTreeGrid;
43 class vtkPoints;
44 
45 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridGeometry : public vtkPolyDataAlgorithm
46 {
47 public:
48  static vtkHyperTreeGridGeometry* New();
50  void PrintSelf( ostream&, vtkIndent );
51 
52 protected:
55 
56  virtual int RequestData( vtkInformation*,
58  virtual int FillInputPortInformation( int, vtkInformation* );
59 
60  void ProcessTrees();
61  void RecursiveProcessTree( void* );
62  void ProcessLeaf1D( void* );
63  void ProcessLeaf2D( void* );
64  void ProcessLeaf3D( void* );
65  void AddFace( vtkIdType inId, double* origin, double* size,
66  int offset, int orientation );
67 
70 
73 
76 
77 private:
78  vtkHyperTreeGridGeometry(const vtkHyperTreeGridGeometry&) VTK_DELETE_FUNCTION;
79  void operator=(const vtkHyperTreeGridGeometry&) VTK_DELETE_FUNCTION;
80 };
81 
82 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
int vtkIdType
Definition: vtkType.h:287
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
vtkDataSetAttributes * InData
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:39
vtkDataSetAttributes * OutData
represent and manipulate attribute data in a dataset
object to represent cell connectivity
Definition: vtkCellArray.h:50
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
represent and manipulate 3D points
Definition: vtkPoints.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.