VTK  9.4.20250328
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
18VTK_ABI_NAMESPACE_BEGIN
19
21{
22public:
24 vtkCellArray* outCells, vtkDataSetAttributes* inCellDataAttributes,
25 vtkDataSetAttributes* outCellDataAttributes, bool passThroughCellIds,
26 const std::string& originalCellIdArrayName, bool fillMaterial);
27
28 ~vtkHyperTreeGridGeometry2DImpl() override = default;
29
30protected:
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
56private:
60 unsigned int Axis1 = 0;
61 unsigned int Axis2 = 0;
62};
63
64VTK_ABI_NAMESPACE_END
65#endif /* vtkHyperTreeGridGeometry2DImpl_h */
object to represent cell connectivity
represent and manipulate attribute data in a dataset
vtkHyperTreeGridGeometry internal classes for 2D vtkHyperTreeGrid
void BuildCellPoints(vtkHyperTreeGridNonOrientedGeometryCursor *cursor) override
Compute the point coordinates of the surface of the current cell, independently of the fact that the ...
void ProcessLeafCellWithOneInterface(vtkHyperTreeGridNonOrientedGeometryCursor *cursor, double sign, const std::vector< double > &distancesToInterface) override
Generate the surface for a leaf cell cut by one interface.
~vtkHyperTreeGridGeometry2DImpl() override=default
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.
vtkHyperTreeGridGeometry2DImpl(vtkHyperTreeGrid *input, vtkPoints *outPoints, vtkCellArray *outCells, vtkDataSetAttributes *inCellDataAttributes, vtkDataSetAttributes *outCellDataAttributes, bool passThroughCellIds, const std::string &originalCellIdArrayName, bool fillMaterial)
Common interface for 1D and 2D vtkHyperTreeGridGeometry internal classes.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
represent and manipulate 3D points
Definition vtkPoints.h:139