VTK  9.4.20250106
vtkBoundaryMeshQuality.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
16#ifndef vtkBoundaryMeshQuality_h
17#define vtkBoundaryMeshQuality_h
18
19#include "vtkFiltersVerdictModule.h" // For export macro
21
22VTK_ABI_NAMESPACE_BEGIN
23class VTKFILTERSVERDICT_EXPORT vtkBoundaryMeshQuality : public vtkPolyDataAlgorithm
24{
25public:
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
31
34 vtkSetMacro(DistanceFromCellCenterToFaceCenter, bool);
35 vtkGetMacro(DistanceFromCellCenterToFaceCenter, bool);
36 vtkBooleanMacro(DistanceFromCellCenterToFaceCenter, bool);
38
40
43 vtkSetMacro(DistanceFromCellCenterToFacePlane, bool);
44 vtkGetMacro(DistanceFromCellCenterToFacePlane, bool);
45 vtkBooleanMacro(DistanceFromCellCenterToFacePlane, bool);
47
49
53 vtkSetMacro(AngleFaceNormalAndCellCenterToFaceCenterVector, bool);
54 vtkGetMacro(AngleFaceNormalAndCellCenterToFaceCenterVector, bool);
55 vtkBooleanMacro(AngleFaceNormalAndCellCenterToFaceCenterVector, bool);
57protected:
60
62 int FillInputPortInformation(int port, vtkInformation* info) override;
63
64private:
66 void operator=(const vtkBoundaryMeshQuality&) = delete;
67
68 bool DistanceFromCellCenterToFaceCenter = true;
69 bool DistanceFromCellCenterToFacePlane = true;
70 bool AngleFaceNormalAndCellCenterToFaceCenterVector = true;
71};
72
73VTK_ABI_NAMESPACE_END
74#endif // vtkBoundaryMeshQuality_h
Computes metrics on the boundary faces of a mesh.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkBoundaryMeshQuality * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkBoundaryMeshQuality() override
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.