32#ifndef vtkCellQuality_h
33#define vtkCellQuality_h
35#include "vtkFiltersVerdictModule.h"
69 RELATIVE_SIZE_SQUARED,
98 vtkGetMacro(QualityMeasure,
int);
103 this->SetQualityMeasure(AREA);
107 this->SetQualityMeasure(ASPECT_BETA);
111 this->SetQualityMeasure(ASPECT_FROBENIUS);
115 this->SetQualityMeasure(ASPECT_GAMMA);
119 this->SetQualityMeasure(ASPECT_RATIO);
123 this->SetQualityMeasure(COLLAPSE_RATIO);
127 this->SetQualityMeasure(CONDITION);
131 this->SetQualityMeasure(DIAGONAL);
135 this->SetQualityMeasure(DIMENSION);
139 this->SetQualityMeasure(DISTORTION);
143 this->SetQualityMeasure(JACOBIAN);
147 this->SetQualityMeasure(MAX_ANGLE);
151 this->SetQualityMeasure(MAX_ASPECT_FROBENIUS);
155 this->SetQualityMeasure(MAX_EDGE_RATIO);
159 this->SetQualityMeasure(MED_ASPECT_FROBENIUS);
163 this->SetQualityMeasure(MIN_ANGLE);
167 this->SetQualityMeasure(ODDY);
171 this->SetQualityMeasure(RADIUS_RATIO);
175 this->SetQualityMeasure(RELATIVE_SIZE_SQUARED);
179 this->SetQualityMeasure(SCALED_JACOBIAN);
183 this->SetQualityMeasure(SHAPE_AND_SIZE);
187 this->SetQualityMeasure(SHAPE);
191 this->SetQualityMeasure(SHEAR_AND_SIZE);
195 this->SetQualityMeasure(SHEAR);
199 this->SetQualityMeasure(SKEW);
203 this->SetQualityMeasure(STRETCH);
207 this->SetQualityMeasure(TAPER);
211 this->SetQualityMeasure(VOLUME);
215 this->SetQualityMeasure(WARPAGE);
226 vtkGetMacro(UnsupportedGeometry,
double);
238 vtkGetMacro(UndefinedQuality,
double);
371 static double CurrentTriNormal [3];
Calculate functions of quality of the elements of a mesh.
double UnsupportedGeometry
double ComputeQuadQuality(vtkCell *)
Set/Get the particular estimator used to measure the quality of quadrilaterals.
double PixelArea(vtkCell *)
void SetQualityMeasureToCondition()
static int GetCurrentTriangleNormal(double point[3], double normal[3])
A function called by some VERDICT triangle quality functions to test for inverted triangles.
void SetQualityMeasureToShearAndSize()
void SetQualityMeasureToScaledJacobian()
void PrintSelf(ostream &, vtkIndent)
Methods invoked by print to print information about the object including superclasses.
void SetQualityMeasureToAspectRatio()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetQualityMeasureToRelativeSizeSquared()
void SetQualityMeasureToAspectBeta()
double PolygonArea(vtkCell *)
void SetQualityMeasureToAspectFrobenius()
void SetQualityMeasureToDistortion()
void SetQualityMeasureToShape()
void SetQualityMeasureToOddy()
void SetQualityMeasureToRadiusRatio()
void SetQualityMeasureToMaxAngle()
void SetQualityMeasureToDimension()
double ComputeTriangleStripQuality(vtkCell *)
Set/Get the particular estimator used to measure the quality of triangle strip.
void SetQualityMeasureToMaxEdgeRatio()
void SetQualityMeasureToCollapseRatio()
void SetQualityMeasureToTaper()
void SetQualityMeasureToShapeAndSize()
void SetQualityMeasureToWarpage()
double ComputeTriangleQuality(vtkCell *)
Set/Get the particular estimator used to function the quality of triangles.
double TriangleStripArea(vtkCell *)
void SetQualityMeasureToVolume()
void SetQualityMeasureToDiagonal()
void SetQualityMeasureToAspectGamma()
static vtkCellQuality * New()
void SetQualityMeasureToArea()
void SetQualityMeasureToJacobian()
void SetQualityMeasureToSkew()
void SetQualityMeasureToMaxAspectFrobenius()
void SetQualityMeasureToStretch()
double ComputeTetQuality(vtkCell *)
Set/Get the particular estimator used to measure the quality of tetrahedra.
void SetQualityMeasureToMinAngle()
void SetQualityMeasureToMedAspectFrobenius()
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()
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
represent and manipulate 3D points
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.