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
38 
39 class vtkBitArray;
40 class vtkCellArray;
41 class vtkDoubleArray;
42 class vtkHyperTreeGrid;
44 class vtkIdList;
45 class vtkIdTypeArray;
46 class vtkPoints;
47 
48 class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridGeometry : public vtkHyperTreeGridAlgorithm
49 {
50 public:
53  void PrintSelf( ostream&, vtkIndent ) override;
54 
55 protected:
58 
63 
68 
73 
78 
83 
88 
92  void AddFace( vtkIdType, double*, double*, int, unsigned int, bool create = true );
93 
97  unsigned int Dimension;
98 
102  unsigned int Orientation;
103 
108 
113 
115 
122 
124 
130 
132 
135  vtkIdType EdgesA[12];
136  vtkIdType EdgesB[12];
138 
140 
146 
148 
154 
155 private:
157  void operator=(const vtkHyperTreeGridGeometry&) = delete;
158 };
159 
160 #endif /* vtkHyperTreeGridGeometry_h */
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:40
vtkHyperTreeGridGeometry::~vtkHyperTreeGridGeometry
~vtkHyperTreeGridGeometry() override
vtkHyperTreeGridGeometry::FillOutputPortInformation
int FillOutputPortInformation(int, vtkInformation *) override
For this algorithm the output is a vtkPolyData instance.
vtkHyperTreeGridCursor
Objects for depth-first traversal HyperTreeGrids.
Definition: vtkHyperTreeGridCursor.h:46
vtkHyperTreeGridGeometry::FacePoints
vtkPoints * FacePoints
Storage for interface points.
Definition: vtkHyperTreeGridGeometry.h:127
vtkHyperTreeGridGeometry::FaceIDs
vtkIdList * FaceIDs
Definition: vtkHyperTreeGridGeometry.h:128
vtkIdType
int vtkIdType
Definition: vtkType.h:347
vtkHyperTreeGridGeometry::vtkHyperTreeGridGeometry
vtkHyperTreeGridGeometry()
vtkHyperTreeGridGeometry::AddFace
void AddFace(vtkIdType, double *, double *, int, unsigned int, bool create=true)
Helper method to generate a face based on its normal and offset from cursor origin.
vtkHyperTreeGridGeometry::ProcessLeaf2D
void ProcessLeaf2D(vtkHyperTreeGridCursor *, vtkBitArray *)
Process 2D leaves and issue corresponding faces (quads)
vtkHyperTreeGridGeometry::ProcessLeaf1D
void ProcessLeaf1D(vtkHyperTreeGridCursor *)
Process 1D leaves and issue corresponding edges (lines)
vtkHyperTreeGridGeometry::Intercepts
vtkDoubleArray * Intercepts
Definition: vtkHyperTreeGridGeometry.h:120
vtkHyperTreeGridAlgorithm.h
vtkHyperTreeGridGeometry::Normals
vtkDoubleArray * Normals
Definition: vtkHyperTreeGridGeometry.h:119
vtkHyperTreeGridGeometry::Points
vtkPoints * Points
Storage for points of output unstructured mesh.
Definition: vtkHyperTreeGridGeometry.h:107
vtkHyperTreeGridGeometry::New
static vtkHyperTreeGridGeometry * New()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkCellArray
object to represent cell connectivity
Definition: vtkCellArray.h:51
vtkIdList
list of point or cell ids
Definition: vtkIdList.h:37
vtkHyperTreeGridGeometry::PrintSelf
void PrintSelf(ostream &, vtkIndent) override
Methods invoked by print to print information about the object including superclasses.
vtkHyperTreeGridGeometry::FaceScalarsA
vtkDoubleArray * FaceScalarsA
Storage for interface scalars.
Definition: vtkHyperTreeGridGeometry.h:151
vtkHyperTreeGridGeometry::RecursivelyProcessTree
void RecursivelyProcessTree(vtkHyperTreeGridCursor *, vtkBitArray *)
Recursively descend into tree down to leaves.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkHyperTreeGridGeometry
Hyper tree grid outer surface.
Definition: vtkHyperTreeGridGeometry.h:49
vtkHyperTreeGridGeometry::FacesA
vtkIdTypeArray * FacesA
Storage for interface faces.
Definition: vtkHyperTreeGridGeometry.h:143
vtkIdTypeArray
dynamic, self-adjusting array of vtkIdType
Definition: vtkIdTypeArray.h:42
vtkHyperTreeGridGeometry::Dimension
unsigned int Dimension
Dimension of input grid.
Definition: vtkHyperTreeGridGeometry.h:97
vtkHyperTreeGridGeometry::FaceScalarsB
vtkDoubleArray * FaceScalarsB
Definition: vtkHyperTreeGridGeometry.h:152
vtkHyperTreeGridGeometry::HasInterface
bool HasInterface
Keep track of input interface parameters.
Definition: vtkHyperTreeGridGeometry.h:118
vtkHyperTreeGridGeometry::Orientation
unsigned int Orientation
Orientation of input grid when dimension < 3.
Definition: vtkHyperTreeGridGeometry.h:102
vtkBitArray
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:37
vtkDoubleArray
dynamic, self-adjusting array of double
Definition: vtkDoubleArray.h:42
vtkHyperTreeGridGeometry::ProcessTrees
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to generate external boundary.
vtkHyperTreeGridGeometry::ProcessLeaf3D
void ProcessLeaf3D(vtkHyperTreeGridCursor *, vtkBitArray *)
Process 3D leaves and issue corresponding cells (voxels)
vtkHyperTreeGridGeometry::Cells
vtkCellArray * Cells
Storage for cells of output unstructured mesh.
Definition: vtkHyperTreeGridGeometry.h:112
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:65
vtkHyperTreeGridAlgorithm
Superclass for algorithms that produce a hyper tree grid as output.
Definition: vtkHyperTreeGridAlgorithm.h:47
vtkHyperTreeGridGeometry::FacesB
vtkIdTypeArray * FacesB
Definition: vtkHyperTreeGridGeometry.h:144
vtkHyperTreeGrid
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
Definition: vtkHyperTreeGrid.h:71