VTK
|
Calculate functions of quality of the elements of a mesh. More...
#include <vtkCellQuality.h>
Calculate functions of quality of the elements of a mesh.
vtkCellQuality computes one or more functions of (geometric) quality for each cell of a mesh. The per-cell quality is added to the mesh's cell data, in an array named "Quality." Cell types not supported by this filter or undefined quality of supported cell types will have an entry of 0.
Definition at line 42 of file vtkCellQuality.h.
Reimplemented from vtkDataSetAlgorithm.
Definition at line 84 of file vtkCellQuality.h.
vtkCellQuality::~vtkCellQuality | ( | ) | [protected] |
vtkCellQuality::vtkCellQuality | ( | ) | [protected] |
void vtkCellQuality::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkDataSetAlgorithm.
static int vtkCellQuality::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkDataSetAlgorithm.
virtual int vtkCellQuality::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkDataSetAlgorithm.
static vtkCellQuality* vtkCellQuality::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDataSetAlgorithm.
virtual vtkObjectBase* vtkCellQuality::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkDataSetAlgorithm.
vtkCellQuality* vtkCellQuality::NewInstance | ( | ) | const |
Reimplemented from vtkDataSetAlgorithm.
static vtkCellQuality* vtkCellQuality::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataSetAlgorithm.
virtual void vtkCellQuality::SetQualityMeasure | ( | int | ) | [virtual] |
Set/Get the particular estimator used to function the quality of all supported geometries. For qualities that are not defined for certain geometries, later program logic ensures that CellQualityNone static function will be used so that a predefined value is returned for the request. There is no default value for this call and valid values include all possible qualities supported by this class.
virtual int vtkCellQuality::GetQualityMeasure | ( | ) | [virtual] |
Set/Get the particular estimator used to function the quality of all supported geometries. For qualities that are not defined for certain geometries, later program logic ensures that CellQualityNone static function will be used so that a predefined value is returned for the request. There is no default value for this call and valid values include all possible qualities supported by this class.
void vtkCellQuality::SetQualityMeasureToArea | ( | ) | [inline] |
Definition at line 98 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToAspectBeta | ( | ) | [inline] |
Definition at line 102 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToAspectFrobenius | ( | ) | [inline] |
Definition at line 106 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToAspectGamma | ( | ) | [inline] |
Definition at line 110 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToAspectRatio | ( | ) | [inline] |
Definition at line 114 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToCollapseRatio | ( | ) | [inline] |
Definition at line 118 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToCondition | ( | ) | [inline] |
Definition at line 122 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToDiagonal | ( | ) | [inline] |
Definition at line 126 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToDimension | ( | ) | [inline] |
Definition at line 130 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToDistortion | ( | ) | [inline] |
Definition at line 134 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToJacobian | ( | ) | [inline] |
Definition at line 138 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToMaxAngle | ( | ) | [inline] |
Definition at line 142 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToMaxAspectFrobenius | ( | ) | [inline] |
Definition at line 146 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToMaxEdgeRatio | ( | ) | [inline] |
Definition at line 150 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToMedAspectFrobenius | ( | ) | [inline] |
Definition at line 154 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToMinAngle | ( | ) | [inline] |
Definition at line 158 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToOddy | ( | ) | [inline] |
Definition at line 162 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToRadiusRatio | ( | ) | [inline] |
Definition at line 166 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToRelativeSizeSquared | ( | ) | [inline] |
Definition at line 170 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToScaledJacobian | ( | ) | [inline] |
Definition at line 174 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToShapeAndSize | ( | ) | [inline] |
Definition at line 178 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToShape | ( | ) | [inline] |
Definition at line 182 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToShearAndSize | ( | ) | [inline] |
Definition at line 186 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToShear | ( | ) | [inline] |
Definition at line 190 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToSkew | ( | ) | [inline] |
Definition at line 194 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToStretch | ( | ) | [inline] |
Definition at line 198 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToTaper | ( | ) | [inline] |
Definition at line 202 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToVolume | ( | ) | [inline] |
Definition at line 206 of file vtkCellQuality.h.
void vtkCellQuality::SetQualityMeasureToWarpage | ( | ) | [inline] |
Definition at line 210 of file vtkCellQuality.h.
virtual void vtkCellQuality::SetUnsupportedGeometry | ( | double | ) | [virtual] |
Set/Get the return value for unsupported geometry. Unsupported geometry are geometries that are not supported by this filter currently, future implementation might include support for them. The defalut value for UnsupportedGeometry is -1.
virtual double vtkCellQuality::GetUnsupportedGeometry | ( | ) | [virtual] |
Set/Get the return value for unsupported geometry. Unsupported geometry are geometries that are not supported by this filter currently, future implementation might include support for them. The defalut value for UnsupportedGeometry is -1.
virtual void vtkCellQuality::SetUndefinedQuality | ( | double | ) | [virtual] |
Set/Get the return value for undefined quality. Undefined quality are qualities that could be addressed by this filter but is not well defined for the particular geometry of cell in question, e.g. a volume query for a triangle. Undefined quality will always be undefined. The default value for UndefinedQuality is -1.
virtual double vtkCellQuality::GetUndefinedQuality | ( | ) | [virtual] |
Set/Get the return value for undefined quality. Undefined quality are qualities that could be addressed by this filter but is not well defined for the particular geometry of cell in question, e.g. a volume query for a triangle. Undefined quality will always be undefined. The default value for UndefinedQuality is -1.
double vtkCellQuality::ComputeTriangleQuality | ( | vtkCell * | ) | [protected] |
Set/Get the particular estimator used to function the quality of triangles. The default is NONE and valid values also include ASPECT_FROBENIUS ASPECT_RATIO CONDITION DISTORTION EDGE_RATIO MAX_ANGLE MIN_ANGLE RADIUS_RATIO RELATIVE_SIZE_SQUARED SCALED_JACOBIAN SHAPE SHAPE_AND_SIZE
double vtkCellQuality::ComputeQuadQuality | ( | vtkCell * | ) | [protected] |
Set/Get the particular estimator used to measure the quality of quadrilaterals. The default is NONE and valid values also include AREA ASPECT_RATIO CONDITION DISTORTION EDGE_RATIO JACOBIAN MAX_ANGLE MAX_EDGE_RATIO MIN_ANGLE ODDY RADIUS_RATIO RELATIVE_SIZE_SQUARED SCALED_JACOBIAN SHAPE SHAPE_AND_SIZE SHEAR SHEAR_AND_SIZE SKEW STRETCH TAPER WARPAGE Scope: Except for EDGE_RATIO, these estimators are intended for planar quadrilaterals only; use at your own risk if you really want to assess non-planar quadrilateral quality with those.
double vtkCellQuality::ComputeTetQuality | ( | vtkCell * | ) | [protected] |
Set/Get the particular estimator used to measure the quality of tetrahedra. The default is NONE and valid values also include ASPECT_BETA ASPECT_FROBENIUS ASPECT_GAMMA ASPECT_RATIO COLLAPSE_RATIO CONDITION DISTORTION EDGE_RATIO JACOBIAN RADIUS_RATIO (identical to Verdict's aspect ratio beta) RELATIVE_SIZE_SQUARED SCALED_JACOBIAN SHAPE SHAPE_AND_SIZE VOLUME
double vtkCellQuality::ComputeHexQuality | ( | vtkCell * | ) | [protected] |
Set/Get the particular estimator used to measure the quality of hexahedra. The default is NONE and valid values also include CONDITION DIAGONAL DIMENSION DISTORTION EDGE_RATIO JACOBIAN MAX_ASPECT_FROBENIUS MAX_ASPECT_FROBENIUS MAX_EDGE_RATIO ODDY RELATIVE_SIZE_SQUARED SCALED_JACOBIAN SHAPE SHAPE_AND_SIZE SHEAR SHEAR_AND_SIZE SKEW STRETCH TAPER VOLUME
double vtkCellQuality::ComputeTriangleStripQuality | ( | vtkCell * | ) | [protected] |
Set/Get the particular estimator used to measure the quality of triangle strip. The default is NONE and valid values also include AREA
double vtkCellQuality::ComputePixelQuality | ( | vtkCell * | ) | [protected] |
Set/Get the particular estimator used to measure the quality of pixel. The default is NONE and valid values also include AREA
virtual int vtkCellQuality::RequestData | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.
Reimplemented from vtkDataSetAlgorithm.
static int vtkCellQuality::GetCurrentTriangleNormal | ( | double | point[3], |
double | normal[3] | ||
) | [static, protected] |
A function called by some VERDICT triangle quality functions to test for inverted triangles. VERDICT only accepts plain function pointers which means the follow function and member must be static. Unfortunately, this makes the use of this part not thread safe.
double vtkCellQuality::CurrentTriNormal[3] [static, protected] |
A function called by some VERDICT triangle quality functions to test for inverted triangles. VERDICT only accepts plain function pointers which means the follow function and member must be static. Unfortunately, this makes the use of this part not thread safe.
Definition at line 294 of file vtkCellQuality.h.
int vtkCellQuality::QualityMeasure [protected] |
Definition at line 297 of file vtkCellQuality.h.
double vtkCellQuality::UnsupportedGeometry [protected] |
Definition at line 300 of file vtkCellQuality.h.
double vtkCellQuality::UndefinedQuality [protected] |
Definition at line 304 of file vtkCellQuality.h.