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);
241 double TriangleStripArea (
vtkCell*);
265 double ComputeTriangleQuality (
vtkCell*);
295 double ComputeQuadQuality (
vtkCell*);
316 double ComputeTetQuality (
vtkCell*);
342 double ComputeHexQuality (
vtkCell*);
350 double ComputeTriangleStripQuality (
vtkCell*);
357 double ComputePixelQuality (
vtkCell*);
370 static int GetCurrentTriangleNormal (
double point [3],
double normal [3]);
371 static double CurrentTriNormal [3];
391 #endif // vtkCellQuality_h
void SetQualityMeasureToMinAngle()
void SetQualityMeasureToVolume()
void SetQualityMeasureToShearAndSize()
void SetQualityMeasureToDimension()
void SetQualityMeasureToOddy()
void SetQualityMeasureToJacobian()
void SetQualityMeasureToCollapseRatio()
void SetQualityMeasureToShape()
Calculate functions of quality of the elements of a mesh.
void SetQualityMeasureToShapeAndSize()
void SetQualityMeasureToShear()
void SetQualityMeasureToTaper()
void SetQualityMeasureToMaxAspectFrobenius()
void SetQualityMeasureToAspectBeta()
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()
void SetQualityMeasureToDiagonal()
void SetQualityMeasureToScaledJacobian()
void SetQualityMeasureToCondition()
a simple class to control print indentation
void SetQualityMeasureToMedAspectFrobenius()
list of point or cell ids
abstract superclass for arrays of numeric data
void SetQualityMeasureToWarpage()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetQualityMeasureToMaxAngle()
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetQualityMeasureToRadiusRatio()
void SetQualityMeasureToAspectRatio()
void SetQualityMeasureToRelativeSizeSquared()
Superclass for algorithms that produce output of the same type as input.
void SetQualityMeasureToSkew()
void SetQualityMeasureToAspectGamma()
static vtkDataSetAlgorithm * New()
void SetQualityMeasureToStretch()
represent and manipulate 3D points
void SetQualityMeasureToMaxEdgeRatio()
double UnsupportedGeometry
void SetQualityMeasureToArea()
void SetQualityMeasureToDistortion()