VTK  9.3.0
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
20 #include "vtkPolyDataAlgorithm.h"
21 
22 VTK_ABI_NAMESPACE_BEGIN
23 class VTKFILTERSVERDICT_EXPORT vtkBoundaryMeshQuality : public vtkPolyDataAlgorithm
24 {
25 public:
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);
57 protected:
60 
63 
64 private:
66  void operator=(const vtkBoundaryMeshQuality&) = delete;
67 
68  bool DistanceFromCellCenterToFaceCenter = true;
69  bool DistanceFromCellCenterToFacePlane = true;
70  bool AngleFaceNormalAndCellCenterToFaceCenterVector = true;
71 };
72 
73 VTK_ABI_NAMESPACE_END
74 #endif // vtkBoundaryMeshQuality_h
Computes metrics on the boundary faces of a mesh.
static vtkBoundaryMeshQuality * New()
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.
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:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447