23 #ifndef vtkCellQuality_h
24 #define vtkCellQuality_h
27 #include "vtkFiltersVerdictModule.h"
30 VTK_ABI_NAMESPACE_BEGIN
32 class vtkCellQualityFunctor;
40 friend class vtkCellQualityFunctor;
63 this->SetQualityMeasure(static_cast<QualityMeasureTypes>(measure));
65 vtkGetEnumMacro(QualityMeasure, QualityMeasureTypes);
69 this->SetQualityMeasure(QualityMeasureTypes::ASPECT_FROBENIUS);
73 this->SetQualityMeasure(QualityMeasureTypes::ASPECT_GAMMA);
77 this->SetQualityMeasure(QualityMeasureTypes::ASPECT_RATIO);
81 this->SetQualityMeasure(QualityMeasureTypes::COLLAPSE_RATIO);
91 this->SetQualityMeasure(QualityMeasureTypes::MAX_ASPECT_FROBENIUS);
95 this->SetQualityMeasure(QualityMeasureTypes::MAX_EDGE_RATIO);
99 this->SetQualityMeasure(QualityMeasureTypes::MED_ASPECT_FROBENIUS);
105 this->SetQualityMeasure(QualityMeasureTypes::RADIUS_RATIO);
109 this->SetQualityMeasure(QualityMeasureTypes::RELATIVE_SIZE_SQUARED);
113 this->SetQualityMeasure(QualityMeasureTypes::SCALED_JACOBIAN);
117 this->SetQualityMeasure(QualityMeasureTypes::SHAPE_AND_SIZE);
122 this->SetQualityMeasure(QualityMeasureTypes::SHEAR_AND_SIZE);
139 vtkSetMacro(UnsupportedGeometry,
double);
140 vtkGetMacro(UnsupportedGeometry,
double);
151 vtkSetMacro(UndefinedQuality,
double);
152 vtkGetMacro(UndefinedQuality,
double);
155 double TriangleStripArea(
vtkCell*);
181 double ComputeTriangleQuality(
vtkCell*);
212 double ComputeQuadQuality(
vtkCell*);
237 double ComputeTetQuality(
vtkCell*);
248 double ComputePyramidQuality(
vtkCell*);
265 double ComputeWedgeQuality(
vtkCell*);
293 double ComputeHexQuality(
vtkCell*);
301 double ComputeTriangleStripQuality(
vtkCell*);
308 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.