35 #ifndef vtkCellQuality_h
36 #define vtkCellQuality_h
39 #include "vtkFiltersVerdictModule.h"
43 class vtkCellQualityFunctor;
51 friend class vtkCellQualityFunctor;
74 this->SetQualityMeasure(static_cast<QualityMeasureTypes>(measure));
76 vtkGetEnumMacro(QualityMeasure, QualityMeasureTypes);
80 this->SetQualityMeasure(QualityMeasureTypes::ASPECT_FROBENIUS);
84 this->SetQualityMeasure(QualityMeasureTypes::ASPECT_GAMMA);
88 this->SetQualityMeasure(QualityMeasureTypes::ASPECT_RATIO);
92 this->SetQualityMeasure(QualityMeasureTypes::COLLAPSE_RATIO);
102 this->SetQualityMeasure(QualityMeasureTypes::MAX_ASPECT_FROBENIUS);
106 this->SetQualityMeasure(QualityMeasureTypes::MAX_EDGE_RATIO);
110 this->SetQualityMeasure(QualityMeasureTypes::MED_ASPECT_FROBENIUS);
116 this->SetQualityMeasure(QualityMeasureTypes::RADIUS_RATIO);
120 this->SetQualityMeasure(QualityMeasureTypes::RELATIVE_SIZE_SQUARED);
124 this->SetQualityMeasure(QualityMeasureTypes::SCALED_JACOBIAN);
128 this->SetQualityMeasure(QualityMeasureTypes::SHAPE_AND_SIZE);
133 this->SetQualityMeasure(QualityMeasureTypes::SHEAR_AND_SIZE);
150 vtkSetMacro(UnsupportedGeometry,
double);
151 vtkGetMacro(UnsupportedGeometry,
double);
162 vtkSetMacro(UndefinedQuality,
double);
163 vtkGetMacro(UndefinedQuality,
double);
166 double TriangleStripArea(
vtkCell*);
192 double ComputeTriangleQuality(
vtkCell*);
223 double ComputeQuadQuality(
vtkCell*);
248 double ComputeTetQuality(
vtkCell*);
259 double ComputePyramidQuality(
vtkCell*);
276 double ComputeWedgeQuality(
vtkCell*);
304 double ComputeHexQuality(
vtkCell*);
312 double ComputeTriangleStripQuality(
vtkCell*);
319 double ComputePixelQuality(
vtkCell*);
340 #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.