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 =========================================================================*/
33 #ifndef vtkHyperTreeGridGeometry_h
34 #define vtkHyperTreeGridGeometry_h
35 
36 #include "vtkFiltersHyperTreeModule.h" // For export macro
37 #include "vtkPolyDataAlgorithm.h"
38 
39 class vtkCellArray;
41 class vtkHyperTreeGrid;
42 class vtkPoints;
43 
45 {
46 public:
47  static vtkHyperTreeGridGeometry* New();
49  void PrintSelf( ostream&, vtkIndent );
50 
51 protected:
54 
55  virtual int RequestData( vtkInformation*,
57  virtual int FillInputPortInformation( int, vtkInformation* );
58 
59  void ProcessTrees();
60  void RecursiveProcessTree( void* );
61  void ProcessLeaf1D( void* );
62  void ProcessLeaf2D( void* );
63  void ProcessLeaf3D( void* );
64  void AddFace( vtkIdType inId, double* origin, double* size,
65  int offset, int orientation );
66 
69 
72 
75 
76 private:
77  vtkHyperTreeGridGeometry(const vtkHyperTreeGridGeometry&); // Not implemented.
78  void operator=(const vtkHyperTreeGridGeometry&); // Not implemented.
79 };
80 
81 #endif
virtual int FillInputPortInformation(int port, vtkInformation *info)
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
int vtkIdType
Definition: vtkType.h:275
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:83
vtkDataSetAttributes * InData
Hyper tree grid outer surface.
#define VTKFILTERSHYPERTREE_EXPORT
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkDataSetAttributes * OutData
represent and manipulate attribute data in a dataset
object to represent cell connectivity
Definition: vtkCellArray.h:49
Store zero or more vtkInformation instances.
represent and manipulate 3D points
Definition: vtkPoints.h:38