26 #ifndef vtkCellQuality_h
27 #define vtkCellQuality_h
30 #include "vtkFiltersVerdictModule.h"
33 VTK_ABI_NAMESPACE_BEGIN
35 class vtkCellQualityFunctor;
43 friend class vtkCellQualityFunctor;
66 this->SetQualityMeasure(static_cast<QualityMeasureTypes>(measure));
68 vtkGetEnumMacro(QualityMeasure, QualityMeasureTypes);
72 this->SetQualityMeasure(QualityMeasureTypes::ASPECT_FROBENIUS);
76 this->SetQualityMeasure(QualityMeasureTypes::ASPECT_GAMMA);
80 this->SetQualityMeasure(QualityMeasureTypes::ASPECT_RATIO);
84 this->SetQualityMeasure(QualityMeasureTypes::COLLAPSE_RATIO);
94 this->SetQualityMeasure(QualityMeasureTypes::MAX_ASPECT_FROBENIUS);
98 this->SetQualityMeasure(QualityMeasureTypes::MAX_EDGE_RATIO);
102 this->SetQualityMeasure(QualityMeasureTypes::MED_ASPECT_FROBENIUS);
108 this->SetQualityMeasure(QualityMeasureTypes::RADIUS_RATIO);
112 this->SetQualityMeasure(QualityMeasureTypes::RELATIVE_SIZE_SQUARED);
116 this->SetQualityMeasure(QualityMeasureTypes::SCALED_JACOBIAN);
120 this->SetQualityMeasure(QualityMeasureTypes::SHAPE_AND_SIZE);
125 this->SetQualityMeasure(QualityMeasureTypes::SHEAR_AND_SIZE);
142 vtkSetMacro(UnsupportedGeometry,
double);
143 vtkGetMacro(UnsupportedGeometry,
double);
154 vtkSetMacro(UndefinedQuality,
double);
155 vtkGetMacro(UndefinedQuality,
double);
158 double TriangleStripArea(
vtkCell*);
184 double ComputeTriangleQuality(
vtkCell*);
215 double ComputeQuadQuality(
vtkCell*);
240 double ComputeTetQuality(
vtkCell*);
251 double ComputePyramidQuality(
vtkCell*);
268 double ComputeWedgeQuality(
vtkCell*);
296 double ComputeHexQuality(
vtkCell*);
304 double ComputeTriangleStripQuality(
vtkCell*);
311 double ComputePixelQuality(
vtkCell*);
329 VTK_ABI_NAMESPACE_END
330 #endif // vtkCellQuality_h
QualityMeasureTypes
Enum which lists the Quality Measures Types.
void SetQualityMeasureToMinAngle()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToVolume()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToShearAndSize()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToDimension()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToOddy()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToJacobian()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToCollapseRatio()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToShape()
Set/Get the particular estimator used to function the quality of all supported geometries.
Calculate functions of quality of the elements of a mesh.
void SetQualityMeasureToShapeAndSize()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToShear()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToTaper()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToMaxAspectFrobenius()
Set/Get the particular estimator used to function the quality of all supported geometries.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract class to specify cell behavior
void SetQualityMeasureToAspectFrobenius()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToDiagonal()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToScaledJacobian()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToCondition()
Set/Get the particular estimator used to function the quality of all supported geometries.
a simple class to control print indentation
void SetQualityMeasureToMedAspectFrobenius()
Set/Get the particular estimator used to function the quality of all supported geometries.
list of point or cell ids
abstract superclass for arrays of numeric data
void SetQualityMeasureToWarpage()
Set/Get the particular estimator used to function the quality of all supported geometries.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetQualityMeasureToMaxAngle()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToRadiusRatio()
Set/Get the particular estimator used to function the quality of all supported geometries.
virtual void SetQualityMeasure(int measure)
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToAspectRatio()
Set/Get the particular estimator used to function the quality of all supported geometries.
vtkMeshQuality::QualityMeasureTypes QualityMeasure
void SetQualityMeasureToRelativeSizeSquared()
Set/Get the particular estimator used to function the quality of all supported geometries.
Superclass for algorithms that produce output of the same type as input.
void SetQualityMeasureToSkew()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToAspectGamma()
Set/Get the particular estimator used to function the quality of all supported geometries.
static vtkDataSetAlgorithm * New()
void SetQualityMeasureToStretch()
Set/Get the particular estimator used to function the quality of all supported geometries.
represent and manipulate 3D points
void SetQualityMeasureToMaxEdgeRatio()
Set/Get the particular estimator used to function the quality of all supported geometries.
double UnsupportedGeometry
void SetQualityMeasureToArea()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToDistortion()
Set/Get the particular estimator used to function the quality of all supported geometries.