VTK  9.7.1
vtkHyperTreeGridGeometry1DImpl.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 vtkHyperTreeGridGeometry1DImpl_h
12 #define vtkHyperTreeGridGeometry1DImpl_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  ~vtkHyperTreeGridGeometry1DImpl() override = default;
29 
30 protected:
36  double signe, const std::vector<double>& distancesToInterface) override;
37 
43  const std::vector<double>& distancesToInterfaceA,
44  const std::vector<double>& distancesToInterfaceB) override;
45 
53 
54 private:
59  unsigned int Axis = 0;
60 };
61 
62 VTK_ABI_NAMESPACE_END
63 #endif /* vtkHyperTreeGridGeometry1DImpl_h */
Common interface for 1D and 2D vtkHyperTreeGridGeometry internal classes.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
vtkHyperTreeGridGeometry internal classes for 1D vtkHyperTreeGrid
void ProcessLeafCellWithOneInterface(vtkHyperTreeGridNonOrientedGeometryCursor *cursor, double signe, const std::vector< double > &distancesToInterface) override
Generate the surface for a leaf cell cut by one interface.
vtkHyperTreeGridGeometry1DImpl(vtkHyperTreeGrid *input, vtkPoints *outPoints, vtkCellArray *outCells, vtkDataSetAttributes *inCellDataAttributes, vtkDataSetAttributes *outCellDataAttributes, bool passThroughCellIds, const std::string &originalCellIdArrayName, bool fillMaterial)
represent and manipulate attribute data in a dataset
object to represent cell connectivity
Definition: vtkCellArray.h:177
~vtkHyperTreeGridGeometry1DImpl() override=default
void BuildCellPoints(vtkHyperTreeGridNonOrientedGeometryCursor *cursor) override
Compute the point coordinates of the surface of the current cell, independently of the fact that the ...
represent and manipulate 3D points
Definition: vtkPoints.h:30
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.