VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkCellQuality Class Reference

Calculate functions of quality of the elements of a mesh. More...

#include <vtkCellQuality.h>

Inheritance diagram for vtkCellQuality:
Inheritance graph
[legend]
Collaboration diagram for vtkCellQuality:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkDataSetAlgorithm Superclass

Public Member Functions

void PrintSelf (ostream &, vtkIndent)
virtual int IsA (const char *type)
vtkCellQualityNewInstance () const
void SetQualityMeasureToArea ()
void SetQualityMeasureToAspectBeta ()
void SetQualityMeasureToAspectFrobenius ()
void SetQualityMeasureToAspectGamma ()
void SetQualityMeasureToAspectRatio ()
void SetQualityMeasureToCollapseRatio ()
void SetQualityMeasureToCondition ()
void SetQualityMeasureToDiagonal ()
void SetQualityMeasureToDimension ()
void SetQualityMeasureToDistortion ()
void SetQualityMeasureToJacobian ()
void SetQualityMeasureToMaxAngle ()
void SetQualityMeasureToMaxAspectFrobenius ()
void SetQualityMeasureToMaxEdgeRatio ()
void SetQualityMeasureToMedAspectFrobenius ()
void SetQualityMeasureToMinAngle ()
void SetQualityMeasureToOddy ()
void SetQualityMeasureToRadiusRatio ()
void SetQualityMeasureToRelativeSizeSquared ()
void SetQualityMeasureToScaledJacobian ()
void SetQualityMeasureToShapeAndSize ()
void SetQualityMeasureToShape ()
void SetQualityMeasureToShearAndSize ()
void SetQualityMeasureToShear ()
void SetQualityMeasureToSkew ()
void SetQualityMeasureToStretch ()
void SetQualityMeasureToTaper ()
void SetQualityMeasureToVolume ()
void SetQualityMeasureToWarpage ()
double TriangleStripArea (vtkCell *)
double PixelArea (vtkCell *)
double PolygonArea (vtkCell *)
virtual void SetQualityMeasure (int)
virtual int GetQualityMeasure ()
virtual void SetUnsupportedGeometry (double)
virtual double GetUnsupportedGeometry ()
virtual void SetUndefinedQuality (double)
virtual double GetUndefinedQuality ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkCellQualitySafeDownCast (vtkObjectBase *o)
static vtkCellQualityNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 ~vtkCellQuality ()
 vtkCellQuality ()
double ComputeTriangleQuality (vtkCell *)
double ComputeQuadQuality (vtkCell *)
double ComputeTetQuality (vtkCell *)
double ComputeHexQuality (vtkCell *)
double ComputeTriangleStripQuality (vtkCell *)
double ComputePixelQuality (vtkCell *)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

int QualityMeasure
double UnsupportedGeometry
double UndefinedQuality
static double CurrentTriNormal [3]
static int GetCurrentTriangleNormal (double point[3], double normal[3])

Detailed Description

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.

Warning:
Most quadrilateral quality functions are intended for planar quadrilaterals only. The minimal angle is not, strictly speaking, a quality function, but it is provided because of its usage by many authors.

Definition at line 42 of file vtkCellQuality.h.


Member Typedef Documentation

Reimplemented from vtkDataSetAlgorithm.

Definition at line 84 of file vtkCellQuality.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Reimplemented from vtkDataSetAlgorithm.

virtual vtkObjectBase* vtkCellQuality::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkDataSetAlgorithm.

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.

Definition at line 98 of file vtkCellQuality.h.

Definition at line 102 of file vtkCellQuality.h.

Definition at line 106 of file vtkCellQuality.h.

Definition at line 110 of file vtkCellQuality.h.

Definition at line 114 of file vtkCellQuality.h.

Definition at line 118 of file vtkCellQuality.h.

Definition at line 122 of file vtkCellQuality.h.

Definition at line 126 of file vtkCellQuality.h.

Definition at line 130 of file vtkCellQuality.h.

Definition at line 134 of file vtkCellQuality.h.

Definition at line 138 of file vtkCellQuality.h.

Definition at line 142 of file vtkCellQuality.h.

Definition at line 146 of file vtkCellQuality.h.

Definition at line 150 of file vtkCellQuality.h.

Definition at line 154 of file vtkCellQuality.h.

Definition at line 158 of file vtkCellQuality.h.

Definition at line 162 of file vtkCellQuality.h.

Definition at line 166 of file vtkCellQuality.h.

Definition at line 170 of file vtkCellQuality.h.

Definition at line 174 of file vtkCellQuality.h.

Definition at line 178 of file vtkCellQuality.h.

Definition at line 182 of file vtkCellQuality.h.

Definition at line 186 of file vtkCellQuality.h.

Definition at line 190 of file vtkCellQuality.h.

Definition at line 194 of file vtkCellQuality.h.

Definition at line 198 of file vtkCellQuality.h.

Definition at line 202 of file vtkCellQuality.h.

Definition at line 206 of file vtkCellQuality.h.

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.

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.

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.

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

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.

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

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

Set/Get the particular estimator used to measure the quality of triangle strip. The default is NONE and valid values also include AREA

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.


Member Data Documentation

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.

Definition at line 297 of file vtkCellQuality.h.

Definition at line 300 of file vtkCellQuality.h.

Definition at line 304 of file vtkCellQuality.h.


The documentation for this class was generated from the following file: