26#ifndef vtkCellQuality_h
27#define vtkCellQuality_h
30#include "vtkFiltersVerdictModule.h"
33VTK_ABI_NAMESPACE_BEGIN
35class vtkCellQualityFunctor;
43 friend class vtkCellQualityFunctor;
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);
Calculate functions of quality of the elements of a mesh.
double UnsupportedGeometry
vtkMeshQuality::QualityMeasureTypes QualityMeasure
double ComputeQuadQuality(vtkCell *)
Set/Get the particular estimator used to measure the quality of quadrilaterals.
double PixelArea(vtkCell *)
void SetQualityMeasureToCondition()
Set/Get the particular estimator used to function the quality of all supported geometries.
double ComputeWedgeQuality(vtkCell *)
Set/Get the particular estimator used to measure the quality of wedges.
void SetQualityMeasureToShearAndSize()
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 SetQualityMeasureToAspectRatio()
Set/Get the particular estimator used to function the quality of all supported geometries.
double ComputePyramidQuality(vtkCell *)
Set/Get the particular estimator used to measure the quality of pyramids.
void SetQualityMeasureToRelativeSizeSquared()
Set/Get the particular estimator used to function the quality of all supported geometries.
double PolygonArea(vtkCell *)
void SetQualityMeasureToAspectFrobenius()
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.
~vtkCellQuality() override
vtkGetEnumMacro(QualityMeasure, QualityMeasureTypes)
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.
void SetQualityMeasureToOddy()
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.
void SetQualityMeasureToRadiusRatio()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToMaxAngle()
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.
double ComputeTriangleStripQuality(vtkCell *)
Set/Get the particular estimator used to measure the quality of triangle strip.
void SetQualityMeasureToMaxEdgeRatio()
Set/Get the particular estimator used to function the quality of all supported geometries.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetQualityMeasureToCollapseRatio()
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.
virtual void SetQualityMeasure(int measure)
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToShapeAndSize()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToWarpage()
Set/Get the particular estimator used to function the quality of all supported geometries.
double ComputeTriangleQuality(vtkCell *)
Set/Get the particular estimator used to function the quality of triangles.
double TriangleStripArea(vtkCell *)
void SetQualityMeasureToVolume()
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 SetQualityMeasureToAspectGamma()
Set/Get the particular estimator used to function the quality of all supported geometries.
static vtkCellQuality * New()
void SetQualityMeasureToArea()
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.
vtkSetEnumMacro(QualityMeasure, QualityMeasureTypes)
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToSkew()
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 SetQualityMeasureToStretch()
Set/Get the particular estimator used to function the quality of all supported geometries.
double ComputeTetQuality(vtkCell *)
Set/Get the particular estimator used to measure the quality of tetrahedra.
void SetQualityMeasureToMinAngle()
Set/Get the particular estimator used to function the quality of all supported geometries.
void SetQualityMeasureToMedAspectFrobenius()
Set/Get the particular estimator used to function the quality of all supported geometries.
double ComputePixelQuality(vtkCell *)
Set/Get the particular estimator used to measure the quality of pixel.
double ComputeHexQuality(vtkCell *)
Set/Get the particular estimator used to measure the quality of hexahedra.
void SetQualityMeasureToShear()
Set/Get the particular estimator used to function the quality of all supported geometries.
abstract class to specify cell behavior
abstract superclass for arrays of numeric data
Superclass for algorithms that produce output of the same type as input.
list of point or cell ids
a simple class to control print indentation
QualityMeasureTypes
Enum which lists the Quality Measures Types.
represent and manipulate 3D points