VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkCellQuality Class Reference

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

#include <vtkCellQuality.h>

Inherits vtkDataSetAlgorithm.

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 vtkObjectBase * NewInstanceInternal () 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

typedef vtkDataSetAlgorithm vtkCellQuality::Superclass

Definition at line 84 of file vtkCellQuality.h.

Constructor & Destructor Documentation

vtkCellQuality::~vtkCellQuality ( )
protected
vtkCellQuality::vtkCellQuality ( )
protected

Member Function Documentation

void vtkCellQuality::PrintSelf ( ostream &  ,
vtkIndent   
)
static int vtkCellQuality::IsTypeOf ( const char *  type)
static
virtual int vtkCellQuality::IsA ( const char *  type)
virtual
static vtkCellQuality* vtkCellQuality::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkCellQuality::NewInstanceInternal ( ) const
protectedvirtual
vtkCellQuality* vtkCellQuality::NewInstance ( ) const
static vtkCellQuality* vtkCellQuality::New ( )
static
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::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 *   
)
protectedvirtual
static int vtkCellQuality::GetCurrentTriangleNormal ( double  point[3],
double  normal[3] 
)
staticprotected

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]
staticprotected

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.


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