VTK  9.7.1
vtkHyperTreeGridGeometry2DImpl.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkHyperTreeGridGeometry2DImpl_h
12 #define vtkHyperTreeGridGeometry2DImpl_h
13 
15 
16 #include <vector> // For std::vector
17 
18 VTK_ABI_NAMESPACE_BEGIN
19 
21 {
22 public:
24  vtkCellArray* outCells, vtkDataSetAttributes* inCellDataAttributes,
25  vtkDataSetAttributes* outCellDataAttributes, bool passThroughCellIds,
26  const std::string& originalCellIdArrayName, bool fillMaterial);
27 
28  ~vtkHyperTreeGridGeometry2DImpl() override = default;
29 
30 protected:
36  double sign, const std::vector<double>& distancesToInterface) override;
37 
43  const std::vector<double>& distancesToInterfaceA,
44  const std::vector<double>& distancesToInterfaceB) override;
45 
55 
56 private:
60  unsigned int Axis1 = 0;
61  unsigned int Axis2 = 0;
62 };
63 
64 VTK_ABI_NAMESPACE_END
65 #endif /* vtkHyperTreeGridGeometry2DImpl_h */
void BuildCellPoints(vtkHyperTreeGridNonOrientedGeometryCursor *cursor) override
Compute the point coordinates of the surface of the current cell, independently of the fact that the ...
Common interface for 1D and 2D vtkHyperTreeGridGeometry internal classes.
vtkHyperTreeGridGeometry2DImpl(vtkHyperTreeGrid *input, vtkPoints *outPoints, vtkCellArray *outCells, vtkDataSetAttributes *inCellDataAttributes, vtkDataSetAttributes *outCellDataAttributes, bool passThroughCellIds, const std::string &originalCellIdArrayName, bool fillMaterial)
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
~vtkHyperTreeGridGeometry2DImpl() override=default
void ProcessLeafCellWithOneInterface(vtkHyperTreeGridNonOrientedGeometryCursor *cursor, double sign, const std::vector< double > &distancesToInterface) override
Generate the surface for a leaf cell cut by one interface.
represent and manipulate attribute data in a dataset
object to represent cell connectivity
Definition: vtkCellArray.h:177
void ProcessLeafCellWithDoubleInterface(vtkHyperTreeGridNonOrientedGeometryCursor *cursor, const std::vector< double > &distancesToInterfaceA, const std::vector< double > &distancesToInterfaceB) override
Generate the surface for a leaf cell cut by two interfaces.
vtkHyperTreeGridGeometry internal classes for 2D vtkHyperTreeGrid
represent and manipulate 3D points
Definition: vtkPoints.h:30