VTK  9.1.0
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=========================================================================*/
31#ifndef vtkHyperTreeGridGeometry_h
32#define vtkHyperTreeGridGeometry_h
33
34#include "vtkFiltersHyperTreeModule.h" // For export macro
36
37class vtkBitArray;
38class vtkCellArray;
39class vtkDoubleArray;
43class vtkIdList;
44class vtkIdTypeArray;
46class vtkPoints;
48
49class VTKFILTERSHYPERTREE_EXPORT vtkHyperTreeGridGeometry : public vtkHyperTreeGridAlgorithm
50{
51public:
54 void PrintSelf(ostream& os, vtkIndent indent) override;
55
57
62 vtkSetMacro(Merging, bool);
63 vtkGetMacro(Merging, bool);
65
66protected:
69
74
79
85
90
95
100
104 void AddFace(vtkIdType useId, const double* origin, const double* size, unsigned int offset,
105 unsigned int orientation, unsigned char hideEdge);
106
107 void AddFace2(vtkIdType inId, vtkIdType useId, const double* origin, const double* size,
108 unsigned int offset, unsigned int orientation, bool create = true);
109
114
119
123 unsigned int Dimension;
124
128 unsigned int Orientation;
129
134
139
144
151
152 // JB A RECUPERER DANS LE .H VTK9
156
159
160 vtkIdType EdgesA[12];
161 vtkIdType EdgesB[12];
162
165
168
174
175private:
177 void operator=(const vtkHyperTreeGridGeometry&) = delete;
178};
179
180#endif /* vtkHyperTreeGridGeometry_h */
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:34
object to represent cell connectivity
Definition: vtkCellArray.h:290
general representation of visualization data
dynamic, self-adjusting array of double
Superclass for algorithms that produce a hyper tree grid as output.
Hyper tree grid outer surface.
int FillOutputPortInformation(int, vtkInformation *) override
For this algorithm the output is a vtkPolyData instance.
vtkBitArray * PureMask
Pure Material Mask.
void AddFace2(vtkIdType inId, vtkIdType useId, const double *origin, const double *size, unsigned int offset, unsigned int orientation, bool create=true)
static vtkHyperTreeGridGeometry * New()
void ProcessLeaf1D(vtkHyperTreeGridNonOrientedGeometryCursor *)
Process 1D leaves and issue corresponding edges (lines)
void RecursivelyProcessTreeNot3D(vtkHyperTreeGridNonOrientedGeometryCursor *)
Recursively descend into tree down to leaves.
void RecursivelyProcessTree3D(vtkHyperTreeGridNonOrientedVonNeumannSuperCursor *, unsigned char)
bool Merging
JB Un locator est utilise afin de produire un maillage avec moins JB de points.
void AddFace(vtkIdType useId, const double *origin, const double *size, unsigned int offset, unsigned int orientation, unsigned char hideEdge)
Helper method to generate a face based on its normal and offset from cursor origin.
~vtkHyperTreeGridGeometry() override
vtkPoints * Points
Storage for points of output unstructured mesh.
void ProcessLeaf2D(vtkHyperTreeGridNonOrientedGeometryCursor *)
Process 2D leaves and issue corresponding faces (quads)
vtkCellArray * Cells
Storage for cells of output unstructured mesh.
vtkBitArray * Mask
material Mask
unsigned int Orientation
Orientation of input grid when dimension < 3.
unsigned int Dimension
Dimension of input grid.
vtkIncrementalPointLocator * Locator
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ProcessLeaf3D(vtkHyperTreeGridNonOrientedVonNeumannSuperCursor *)
Process 3D leaves and issue corresponding cells (voxels)
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to generate external boundary.
vtkUnsignedCharArray * EdgeFlags
Array used to hide edges left by masked cells.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
list of point or cell ids
Definition: vtkIdList.h:140
dynamic, self-adjusting array of vtkIdType
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
Definition: vtkIndent.h:113
Store vtkAlgorithm input/output information.
represent and manipulate 3D points
Definition: vtkPoints.h:143
dynamic, self-adjusting array of unsigned char
int vtkIdType
Definition: vtkType.h:332