vtkCellQuality Class Reference

#include <vtkCellQuality.h>

Inheritance diagram for vtkCellQuality:

Inheritance graph
[legend]
Collaboration diagram for vtkCellQuality:

Collaboration graph
[legend]

List of all members.


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 useage by many authors.

Definition at line 41 of file vtkCellQuality.h.

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

Public Types

typedef vtkDataSetAlgorithm Superclass

Public Member Functions

void PrintSelf (ostream &, vtkIndent)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)
static vtkCellQualityNew ()

Protected Member Functions

 ~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

Member Typedef Documentation

Reimplemented from vtkDataSetAlgorithm.

Definition at line 83 of file vtkCellQuality.h.


Constructor & Destructor Documentation

vtkCellQuality::~vtkCellQuality (  )  [protected]

vtkCellQuality::vtkCellQuality (  )  [protected]


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.

virtual const char* vtkCellQuality::GetClassName (  )  [virtual]

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 ( vtkObject o  )  [static]

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 97 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToAspectBeta (  )  [inline]

Definition at line 101 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToAspectFrobenius (  )  [inline]

Definition at line 105 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToAspectGamma (  )  [inline]

Definition at line 109 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToAspectRatio (  )  [inline]

Definition at line 113 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToCollapseRatio (  )  [inline]

Definition at line 117 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToCondition (  )  [inline]

Definition at line 121 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToDiagonal (  )  [inline]

Definition at line 125 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToDimension (  )  [inline]

Definition at line 129 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToDistortion (  )  [inline]

Definition at line 133 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToJacobian (  )  [inline]

Definition at line 137 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToMaxAngle (  )  [inline]

Definition at line 141 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToMaxAspectFrobenius (  )  [inline]

Definition at line 145 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToMaxEdgeRatio (  )  [inline]

Definition at line 149 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToMedAspectFrobenius (  )  [inline]

Definition at line 153 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToMinAngle (  )  [inline]

Definition at line 157 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToOddy (  )  [inline]

Definition at line 161 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToRadiusRatio (  )  [inline]

Definition at line 165 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToRelativeSizeSquared (  )  [inline]

Definition at line 169 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToScaledJacobian (  )  [inline]

Definition at line 173 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToShapeAndSize (  )  [inline]

Definition at line 177 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToShape (  )  [inline]

Definition at line 181 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToShearAndSize (  )  [inline]

Definition at line 185 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToShear (  )  [inline]

Definition at line 189 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToSkew (  )  [inline]

Definition at line 193 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToStretch (  )  [inline]

Definition at line 197 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToTaper (  )  [inline]

Definition at line 201 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToVolume (  )  [inline]

Definition at line 205 of file vtkCellQuality.h.

void vtkCellQuality::SetQualityMeasureToWarpage (  )  [inline]

Definition at line 209 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::TriangleStripArea ( vtkCell  ) 

double vtkCellQuality::PixelArea ( vtkCell  ) 

double vtkCellQuality::PolygonArea ( vtkCell  ) 

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.


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 293 of file vtkCellQuality.h.

Definition at line 296 of file vtkCellQuality.h.

Definition at line 299 of file vtkCellQuality.h.

Definition at line 303 of file vtkCellQuality.h.


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

Generated on Wed Aug 24 11:30:37 2011 for VTK by  doxygen 1.5.6