VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
vtkMeshQuality Class Reference

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

#include <vtkMeshQuality.h>

Inheritance diagram for vtkMeshQuality:
[legend]
Collaboration diagram for vtkMeshQuality:
[legend]

Public Types

typedef vtkDataSetAlgorithm Superclass
 
- Public Types inherited from vtkDataSetAlgorithm
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
enum  DesiredOutputPrecision { SINGLE_PRECISION, DOUBLE_PRECISION, DEFAULT_PRECISION }
 Values used for setting the desired output precision for various algorithms. More...
 
typedef vtkObject Superclass
 

Public Member Functions

void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkMeshQualityNewInstance () const
 
virtual void SetSaveCellQuality (vtkTypeBool)
 This variable controls whether or not cell quality is stored as cell data in the resulting mesh or discarded (leaving only the aggregate quality average of the entire mesh, recorded in the FieldData). More...
 
virtual vtkTypeBool GetSaveCellQuality ()
 
virtual void SaveCellQualityOn ()
 
virtual void SaveCellQualityOff ()
 
virtual void SetTriangleQualityMeasure (int)
 Set/Get the particular estimator used to function the quality of triangles. More...
 
virtual int GetTriangleQualityMeasure ()
 
void SetTriangleQualityMeasureToArea ()
 
void SetTriangleQualityMeasureToEdgeRatio ()
 
void SetTriangleQualityMeasureToAspectRatio ()
 
void SetTriangleQualityMeasureToRadiusRatio ()
 
void SetTriangleQualityMeasureToAspectFrobenius ()
 
void SetTriangleQualityMeasureToMinAngle ()
 
void SetTriangleQualityMeasureToMaxAngle ()
 
void SetTriangleQualityMeasureToCondition ()
 
void SetTriangleQualityMeasureToScaledJacobian ()
 
void SetTriangleQualityMeasureToRelativeSizeSquared ()
 
void SetTriangleQualityMeasureToShape ()
 
void SetTriangleQualityMeasureToShapeAndSize ()
 
void SetTriangleQualityMeasureToDistortion ()
 
virtual void SetQuadQualityMeasure (int)
 Set/Get the particular estimator used to measure the quality of quadrilaterals. More...
 
virtual int GetQuadQualityMeasure ()
 
void SetQuadQualityMeasureToEdgeRatio ()
 
void SetQuadQualityMeasureToAspectRatio ()
 
void SetQuadQualityMeasureToRadiusRatio ()
 
void SetQuadQualityMeasureToMedAspectFrobenius ()
 
void SetQuadQualityMeasureToMaxAspectFrobenius ()
 
void SetQuadQualityMeasureToMaxEdgeRatios ()
 
void SetQuadQualityMeasureToSkew ()
 
void SetQuadQualityMeasureToTaper ()
 
void SetQuadQualityMeasureToWarpage ()
 
void SetQuadQualityMeasureToArea ()
 
void SetQuadQualityMeasureToStretch ()
 
void SetQuadQualityMeasureToMinAngle ()
 
void SetQuadQualityMeasureToMaxAngle ()
 
void SetQuadQualityMeasureToOddy ()
 
void SetQuadQualityMeasureToCondition ()
 
void SetQuadQualityMeasureToJacobian ()
 
void SetQuadQualityMeasureToScaledJacobian ()
 
void SetQuadQualityMeasureToShear ()
 
void SetQuadQualityMeasureToShape ()
 
void SetQuadQualityMeasureToRelativeSizeSquared ()
 
void SetQuadQualityMeasureToShapeAndSize ()
 
void SetQuadQualityMeasureToShearAndSize ()
 
void SetQuadQualityMeasureToDistortion ()
 
virtual void SetTetQualityMeasure (int)
 Set/Get the particular estimator used to measure the quality of tetrahedra. More...
 
virtual int GetTetQualityMeasure ()
 
void SetTetQualityMeasureToEdgeRatio ()
 
void SetTetQualityMeasureToAspectRatio ()
 
void SetTetQualityMeasureToRadiusRatio ()
 
void SetTetQualityMeasureToAspectFrobenius ()
 
void SetTetQualityMeasureToMinAngle ()
 
void SetTetQualityMeasureToCollapseRatio ()
 
void SetTetQualityMeasureToAspectBeta ()
 
void SetTetQualityMeasureToAspectGamma ()
 
void SetTetQualityMeasureToVolume ()
 
void SetTetQualityMeasureToCondition ()
 
void SetTetQualityMeasureToJacobian ()
 
void SetTetQualityMeasureToScaledJacobian ()
 
void SetTetQualityMeasureToShape ()
 
void SetTetQualityMeasureToRelativeSizeSquared ()
 
void SetTetQualityMeasureToShapeAndSize ()
 
void SetTetQualityMeasureToDistortion ()
 
virtual void SetHexQualityMeasure (int)
 Set/Get the particular estimator used to measure the quality of hexahedra. More...
 
virtual int GetHexQualityMeasure ()
 
void SetHexQualityMeasureToEdgeRatio ()
 
void SetHexQualityMeasureToMedAspectFrobenius ()
 
void SetHexQualityMeasureToMaxAspectFrobenius ()
 
void SetHexQualityMeasureToMaxEdgeRatios ()
 
void SetHexQualityMeasureToSkew ()
 
void SetHexQualityMeasureToTaper ()
 
void SetHexQualityMeasureToVolume ()
 
void SetHexQualityMeasureToStretch ()
 
void SetHexQualityMeasureToDiagonal ()
 
void SetHexQualityMeasureToDimension ()
 
void SetHexQualityMeasureToOddy ()
 
void SetHexQualityMeasureToCondition ()
 
void SetHexQualityMeasureToJacobian ()
 
void SetHexQualityMeasureToScaledJacobian ()
 
void SetHexQualityMeasureToShear ()
 
void SetHexQualityMeasureToShape ()
 
void SetHexQualityMeasureToRelativeSizeSquared ()
 
void SetHexQualityMeasureToShapeAndSize ()
 
void SetHexQualityMeasureToShearAndSize ()
 
void SetHexQualityMeasureToDistortion ()
 
virtual void SetRatio (vtkTypeBool r)
 These methods are deprecated. More...
 
vtkTypeBool GetRatio ()
 
virtual void RatioOn ()
 
virtual void RatioOff ()
 
virtual void SetVolume (vtkTypeBool cv)
 These methods are deprecated. More...
 
vtkTypeBool GetVolume ()
 
virtual void VolumeOn ()
 
virtual void VolumeOff ()
 
virtual void SetCompatibilityMode (vtkTypeBool cm)
 CompatibilityMode governs whether, when both a quality function and cell volume are to be stored as cell data, the two values are stored in a single array. More...
 
virtual vtkTypeBool GetCompatibilityMode ()
 
virtual void CompatibilityModeOn ()
 
virtual void CompatibilityModeOff ()
 
- Public Member Functions inherited from vtkDataSetAlgorithm
vtkDataSetAlgorithmNewInstance () const
 
vtkDataSetGetOutput ()
 Get the output data object for a port on this algorithm. More...
 
vtkDataSetGetOutput (int)
 
vtkDataObjectGetInput ()
 Get the input data object. More...
 
vtkPolyDataGetPolyDataOutput ()
 Get the output as vtkPolyData. More...
 
vtkStructuredPointsGetStructuredPointsOutput ()
 Get the output as vtkStructuredPoints. More...
 
vtkImageDataGetImageDataOutput ()
 Get the output as vtkStructuredPoints. More...
 
vtkStructuredGridGetStructuredGridOutput ()
 Get the output as vtkStructuredGrid. More...
 
vtkUnstructuredGridGetUnstructuredGridOutput ()
 Get the output as vtkUnstructuredGrid. More...
 
vtkRectilinearGridGetRectilinearGridOutput ()
 Get the output as vtkRectilinearGrid. More...
 
void SetInputData (vtkDataObject *)
 Assign a data object as input. More...
 
void SetInputData (int, vtkDataObject *)
 
void SetInputData (vtkDataSet *)
 
void SetInputData (int, vtkDataSet *)
 
void AddInputData (vtkDataObject *)
 Assign a data object as input. More...
 
void AddInputData (vtkDataSet *)
 
void AddInputData (int, vtkDataSet *)
 
void AddInputData (int, vtkDataObject *)
 
vtkTypeBool ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 see vtkAlgorithm for details More...
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithmNewInstance () const
 
int HasExecutive ()
 Check whether this algorithm has an assigned executive. More...
 
vtkExecutiveGetExecutive ()
 Get this algorithm's executive. More...
 
virtual void SetExecutive (vtkExecutive *executive)
 Set this algorithm's executive. More...
 
vtkTypeBool ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 Version of ProcessRequest() that is wrapped. More...
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 A special version of ProcessRequest meant specifically for the pipeline modified time request. More...
 
virtual int ModifyRequest (vtkInformation *request, int when)
 This method gives the algorithm a chance to modify the contents of a request before or after (specified in the when argument) it is forwarded. More...
 
vtkInformationGetInputPortInformation (int port)
 Get the information object associated with an input port. More...
 
vtkInformationGetOutputPortInformation (int port)
 Get the information object associated with an output port. More...
 
virtual vtkInformationGetInformation ()
 Set/Get the information object associated with this algorithm. More...
 
virtual void SetInformation (vtkInformation *)
 
int GetNumberOfInputPorts ()
 Get the number of input ports used by the algorithm. More...
 
int GetNumberOfOutputPorts ()
 Get the number of output ports provided by the algorithm. More...
 
void Register (vtkObjectBase *o) override
 Participate in garbage collection. More...
 
void UnRegister (vtkObjectBase *o) override
 Decrease the reference count (release by another object). More...
 
virtual void SetAbortExecute (vtkTypeBool)
 Set/Get the AbortExecute flag for the process object. More...
 
virtual vtkTypeBool GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual double GetProgress ()
 Get the execution progress of a process object. More...
 
void SetProgress (double)
 SetProgress is deprecated. More...
 
void UpdateProgress (double amount)
 Update the progress of the process object. More...
 
void SetProgressShiftScale (double shift, double scale)
 Specify the shift and scale values to use to apply to the progress amount when UpdateProgress is called. More...
 
virtual double GetProgressShift ()
 
virtual double GetProgressScale ()
 
void SetProgressText (const char *ptext)
 Set the current text message associated with the progress state. More...
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 The error code contains a possible error that occurred while reading or writing the file. More...
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 Set the input data arrays that this algorithm will process. More...
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 String based versions of SetInputArrayToProcess(). More...
 
vtkInformationGetInputArrayInformation (int idx)
 Get the info object for the specified input array to this algorithm. More...
 
void RemoveAllInputs ()
 Remove all the input data. More...
 
vtkDataObjectGetOutputDataObject (int port)
 Get the data object that will contain the algorithm output for the given port. More...
 
vtkDataObjectGetInputDataObject (int port, int connection)
 Get the data object that will contain the algorithm input for the given port and given connection. More...
 
virtual void SetInputConnection (int port, vtkAlgorithmOutput *input)
 Set the connection for the given input port index. More...
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (int port, vtkAlgorithmOutput *input)
 Add a connection to the given input port index. More...
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
 Remove a connection from the given input port index. More...
 
virtual void RemoveInputConnection (int port, int idx)
 Remove a connection given by index idx. More...
 
virtual void RemoveAllInputConnections (int port)
 Removes all input connections. More...
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 Sets the data-object as an input on the given port index. More...
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 Add the data-object as an input to this given port. More...
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 Get a proxy object corresponding to the given output port of this algorithm. More...
 
vtkAlgorithmOutputGetOutputPort ()
 
int GetNumberOfInputConnections (int port)
 Get the number of inputs currently connected to a port. More...
 
int GetTotalNumberOfInputConnections ()
 Get the total number of inputs for this algorithm. More...
 
vtkAlgorithmOutputGetInputConnection (int port, int index)
 Get the algorithm output port connected to an input port. More...
 
vtkAlgorithmGetInputAlgorithm (int port, int index, int &algPort)
 Returns the algorithm and the output port index of that algorithm connected to a port-index pair. More...
 
vtkAlgorithmGetInputAlgorithm (int port, int index)
 Returns the algorithm connected to a port-index pair. More...
 
vtkAlgorithmGetInputAlgorithm ()
 Equivalent to GetInputAlgorithm(0, 0). More...
 
vtkExecutiveGetInputExecutive (int port, int index)
 Returns the executive associated with a particular input connection. More...
 
vtkExecutiveGetInputExecutive ()
 Equivalent to GetInputExecutive(0, 0) More...
 
vtkInformationGetInputInformation (int port, int index)
 Return the information object that is associated with a particular input connection. More...
 
vtkInformationGetInputInformation ()
 Equivalent to GetInputInformation(0, 0) More...
 
vtkInformationGetOutputInformation (int port)
 Return the information object that is associated with a particular output port. More...
 
virtual void Update (int port)
 Bring this algorithm's outputs up-to-date. More...
 
virtual void Update ()
 
virtual vtkTypeBool Update (int port, vtkInformationVector *requests)
 This method enables the passing of data requests to the algorithm to be used during execution (in addition to bringing a particular port up-to-date). More...
 
virtual vtkTypeBool Update (vtkInformation *requests)
 Convenience method to update an algorithm after passing requests to its first output port. More...
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=nullptr)
 Convenience method to update an algorithm after passing requests to its first output port. More...
 
virtual int UpdateExtent (const int extents[6])
 Convenience method to update an algorithm after passing requests to its first output port. More...
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=nullptr)
 Convenience method to update an algorithm after passing requests to its first output port. More...
 
virtual void UpdateInformation ()
 Bring the algorithm's information up-to-date. More...
 
virtual void UpdateDataObject ()
 Create output object(s). More...
 
virtual void PropagateUpdateExtent ()
 Propagate meta-data upstream. More...
 
virtual void UpdateWholeExtent ()
 Bring this algorithm's outputs up-to-date. More...
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 Convenience routine to convert from a linear ordering of input connections to a port/connection pair. More...
 
virtual void SetReleaseDataFlag (int)
 Turn release data flag on or off for all output ports. More...
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 This detects when the UpdateExtent will generate no data This condition is satisfied when the UpdateExtent has zero volume (0,-1,...) or the UpdateNumberOfPieces is 0. More...
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
int * GetUpdateExtent ()
 These functions return the update extent for output ports that use 3D extents. More...
 
int * GetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 These functions return the update extent for output ports that use piece extents. More...
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 If an ProgressObserver is set, the algorithm will report progress through it rather than directly. More...
 
virtual vtkProgressObserverGetProgressObserver ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on. More...
 
virtual void DebugOff ()
 Turn debugging output off. More...
 
bool GetDebug ()
 Get the value of the debug flag. More...
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag. More...
 
virtual void Modified ()
 Update the modification time for this object. More...
 
virtual vtkMTimeType GetMTime ()
 Return this object's modified time. More...
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
vtkTypeBool HasObserver (unsigned long event, vtkCommand *)
 
vtkTypeBool HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
vtkTypeBool HasObserver (unsigned long event)
 
vtkTypeBool HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Allow user to set the AbortFlagOn() with the return value of the callback method. More...
 
int InvokeEvent (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not. More...
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string. More...
 
virtual void Delete ()
 Delete a VTK object. More...
 
virtual void FastDelete ()
 Delete a reference to this object. More...
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream. More...
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 Return the current reference count of this object. More...
 
void SetReferenceCount (int)
 Sets the reference count. More...
 
void PrintRevisions (ostream &)
 Legacy. More...
 

Static Public Member Functions

static vtkTypeBool IsTypeOf (const char *type)
 
static vtkMeshQualitySafeDownCast (vtkObjectBase *o)
 
static vtkMeshQualityNew ()
 
static double TriangleArea (vtkCell *cell)
 This is a static function used to calculate the area of a triangle. More...
 
static double TriangleEdgeRatio (vtkCell *cell)
 This is a static function used to calculate the edge ratio of a triangle. More...
 
static double TriangleAspectRatio (vtkCell *cell)
 This is a static function used to calculate the aspect ratio of a triangle. More...
 
static double TriangleRadiusRatio (vtkCell *cell)
 This is a static function used to calculate the radius ratio of a triangle. More...
 
static double TriangleAspectFrobenius (vtkCell *cell)
 This is a static function used to calculate the Frobenius condition number of the transformation matrix from an equilateral triangle to a triangle. More...
 
static double TriangleMinAngle (vtkCell *cell)
 This is a static function used to calculate the minimal (nonoriented) angle of a triangle, expressed in degrees. More...
 
static double TriangleMaxAngle (vtkCell *cell)
 This is a static function used to calculate the maximal (nonoriented) angle of a triangle, expressed in degrees. More...
 
static double TriangleCondition (vtkCell *cell)
 This is a static function used to calculate the condition number of a triangle. More...
 
static double TriangleScaledJacobian (vtkCell *cell)
 This is a static function used to calculate the scaled Jacobian of a triangle. More...
 
static double TriangleRelativeSizeSquared (vtkCell *cell)
 This is a static function used to calculate the square of the relative size of a triangle. More...
 
static double TriangleShape (vtkCell *cell)
 This is a static function used to calculate the shape of a triangle. More...
 
static double TriangleShapeAndSize (vtkCell *cell)
 This is a static function used to calculate the product of shape and relative size of a triangle. More...
 
static double TriangleDistortion (vtkCell *cell)
 This is a static function used to calculate the distortion of a triangle. More...
 
static double QuadEdgeRatio (vtkCell *cell)
 This is a static function used to calculate the edge ratio of a quadrilateral. More...
 
static double QuadAspectRatio (vtkCell *cell)
 This is a static function used to calculate the aspect ratio of a planar quadrilateral. More...
 
static double QuadRadiusRatio (vtkCell *cell)
 This is a static function used to calculate the radius ratio of a planar quadrilateral. More...
 
static double QuadMedAspectFrobenius (vtkCell *cell)
 This is a static function used to calculate the average Frobenius aspect of the 4 corner triangles of a planar quadrilateral, when the reference triangle elements are right isosceles at the quadrangle vertices. More...
 
static double QuadMaxAspectFrobenius (vtkCell *cell)
 This is a static function used to calculate the maximal Frobenius aspect of the 4 corner triangles of a planar quadrilateral, when the reference triangle elements are right isosceles at the quadrangle vertices. More...
 
static double QuadMinAngle (vtkCell *cell)
 This is a static function used to calculate the minimal (nonoriented) angle of a quadrilateral, expressed in degrees. More...
 
static double QuadMaxEdgeRatios (vtkCell *cell)
 
static double QuadSkew (vtkCell *cell)
 
static double QuadTaper (vtkCell *cell)
 
static double QuadWarpage (vtkCell *cell)
 
static double QuadArea (vtkCell *cell)
 
static double QuadStretch (vtkCell *cell)
 
static double QuadMaxAngle (vtkCell *cell)
 
static double QuadOddy (vtkCell *cell)
 
static double QuadCondition (vtkCell *cell)
 
static double QuadJacobian (vtkCell *cell)
 
static double QuadScaledJacobian (vtkCell *cell)
 
static double QuadShear (vtkCell *cell)
 
static double QuadShape (vtkCell *cell)
 
static double QuadRelativeSizeSquared (vtkCell *cell)
 
static double QuadShapeAndSize (vtkCell *cell)
 
static double QuadShearAndSize (vtkCell *cell)
 
static double QuadDistortion (vtkCell *cell)
 
static double TetEdgeRatio (vtkCell *cell)
 This is a static function used to calculate the edge ratio of a tetrahedron. More...
 
static double TetAspectRatio (vtkCell *cell)
 This is a static function used to calculate the aspect ratio of a tetrahedron. More...
 
static double TetRadiusRatio (vtkCell *cell)
 This is a static function used to calculate the radius ratio of a tetrahedron. More...
 
static double TetAspectFrobenius (vtkCell *cell)
 This is a static function used to calculate the Frobenius condition number of the transformation matrix from a regular tetrahedron to a tetrahedron. More...
 
static double TetMinAngle (vtkCell *cell)
 This is a static function used to calculate the minimal (nonoriented) dihedral angle of a tetrahedron, expressed in degrees. More...
 
static double TetCollapseRatio (vtkCell *cell)
 This is a static function used to calculate the collapse ratio of a tetrahedron. More...
 
static double TetAspectBeta (vtkCell *cell)
 
static double TetAspectGamma (vtkCell *cell)
 
static double TetVolume (vtkCell *cell)
 
static double TetCondition (vtkCell *cell)
 
static double TetJacobian (vtkCell *cell)
 
static double TetScaledJacobian (vtkCell *cell)
 
static double TetShape (vtkCell *cell)
 
static double TetRelativeSizeSquared (vtkCell *cell)
 
static double TetShapeandSize (vtkCell *cell)
 
static double TetDistortion (vtkCell *cell)
 
static double HexEdgeRatio (vtkCell *cell)
 This is a static function used to calculate the edge ratio of a hexahedron. More...
 
static double HexMedAspectFrobenius (vtkCell *cell)
 This is a static function used to calculate the average Frobenius aspect of the 8 corner tetrahedra of a hexahedron, when the reference tetrahedral elements are right isosceles at the hexahedron vertices. More...
 
static double HexMaxAspectFrobenius (vtkCell *cell)
 This is a static function used to calculate the maximal Frobenius aspect of the 8 corner tetrahedra of a hexahedron, when the reference tetrahedral elements are right isosceles at the hexahedron vertices. More...
 
static double HexMaxEdgeRatio (vtkCell *cell)
 
static double HexSkew (vtkCell *cell)
 
static double HexTaper (vtkCell *cell)
 
static double HexVolume (vtkCell *cell)
 
static double HexStretch (vtkCell *cell)
 
static double HexDiagonal (vtkCell *cell)
 
static double HexDimension (vtkCell *cell)
 
static double HexOddy (vtkCell *cell)
 
static double HexCondition (vtkCell *cell)
 
static double HexJacobian (vtkCell *cell)
 
static double HexScaledJacobian (vtkCell *cell)
 
static double HexShear (vtkCell *cell)
 
static double HexShape (vtkCell *cell)
 
static double HexRelativeSizeSquared (vtkCell *cell)
 
static double HexShapeAndSize (vtkCell *cell)
 
static double HexShearAndSize (vtkCell *cell)
 
static double HexDistortion (vtkCell *cell)
 
- Static Public Member Functions inherited from vtkDataSetAlgorithm
static vtkDataSetAlgorithmNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkDataSetAlgorithmSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static vtkTypeBool IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyINPUT_IS_OPTIONAL ()
 Keys used to specify input port requirements. More...
 
static vtkInformationIntegerKeyINPUT_IS_REPEATABLE ()
 
static vtkInformationInformationVectorKeyINPUT_REQUIRED_FIELDS ()
 
static vtkInformationStringVectorKeyINPUT_REQUIRED_DATA_TYPE ()
 
static vtkInformationInformationVectorKeyINPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKeyINPUT_PORT ()
 
static vtkInformationIntegerKeyINPUT_CONNECTION ()
 
static vtkInformationIntegerKeyCAN_PRODUCE_SUB_EXTENT ()
 This key tells the executive that a particular output port is capable of producing an arbitrary subextent of the whole extent. More...
 
static vtkInformationIntegerKeyCAN_HANDLE_PIECE_REQUEST ()
 Key that tells the pipeline that a particular algorithm can or cannot handle piece request. More...
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 If the DefaultExecutivePrototype is set, a copy of it is created in CreateDefaultExecutive() using NewInstance(). More...
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes. More...
 
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class. More...
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkMeshQuality ()
 
 ~vtkMeshQuality () override
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 This is called within ProcessRequest when a request asks the algorithm to do its work. More...
 
- Protected Member Functions inherited from vtkDataSetAlgorithm
 vtkDataSetAlgorithm ()
 
 ~vtkDataSetAlgorithm () override
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 This is called within ProcessRequest when a request asks for Information. More...
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 This is called within ProcessRequest when each filter in the pipeline decides what portion of its input is needed to create the portion of its output that the downstream filter asks for. More...
 
virtual int RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 This is called within ProcessRequest to when a request asks the algorithm to create empty output data objects. More...
 
int FillOutputPortInformation (int port, vtkInformation *info) override
 Fill the output port information objects for this algorithm. More...
 
int FillInputPortInformation (int port, vtkInformation *info) override
 Fill the input port information objects for this algorithm. More...
 
vtkDataObjectGetInput (int port)
 
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 
 ~vtkAlgorithm () override
 
virtual void SetNumberOfInputPorts (int n)
 Set the number of input ports used by the algorithm. More...
 
virtual void SetNumberOfOutputPorts (int n)
 Set the number of output ports provided by the algorithm. More...
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 Get the assocition of the actual data array for the input array specified by idx, this is only reasonable during the REQUEST_DATA pass. More...
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 Filters that have multiple connections on one port can use this signature. More...
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 Get the actual data array for the input array specified by idx, this is only reasonable during the REQUEST_DATA pass. More...
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 Filters that have multiple connections on one port can use this signature. More...
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 Get the actual data array for the input array specified by idx, this is only reasonable during the REQUEST_DATA pass. More...
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 Filters that have multiple connections on one port can use this signature. More...
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 This method takes in an index (as specified in SetInputArrayToProcess) and a pipeline information vector. More...
 
virtual vtkExecutiveCreateDefaultExecutive ()
 Create a default executive. More...
 
virtual void SetErrorCode (unsigned long)
 The error code contains a possible error that occurred while reading or writing the file. More...
 
void ReportReferences (vtkGarbageCollector *) override
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 Replace the Nth connection on the given input port. More...
 
virtual void SetNumberOfInputConnections (int port, int n)
 Set the number of input connections on the given input port. More...
 
void SetInputDataInternal (int port, vtkDataObject *input)
 These methods are used by subclasses to implement methods to set data objects directly as input. More...
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
 ~vtkObject () override
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr)
 These methods allow a command to exclusively grab all events. More...
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Static Protected Member Functions

static int GetCurrentTriangleNormal (double point[3], double normal[3])
 A function called by some VERDICT triangle quality functions to test for inverted triangles. More...
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 

Protected Attributes

vtkTypeBool SaveCellQuality
 
int TriangleQualityMeasure
 
int QuadQualityMeasure
 
int TetQualityMeasure
 
int HexQualityMeasure
 
vtkTypeBool CompatibilityMode
 
vtkTypeBool Volume
 
vtkDataArrayCellNormals
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformationInformation
 
unsigned long ErrorCode
 
double Progress
 
char * ProgressText
 
vtkProgressObserverProgressObserver
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
std::atomic< int32_t > ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Static Protected Attributes

static double CurrentTriNormal [3]
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
vtkTypeBool AbortExecute
 

Detailed Description

Calculate functions of quality of the elements of a mesh.

vtkMeshQuality computes one or more functions of (geometric) quality for each 2-D and 3-D cell (triangle, quadrilateral, tetrahedron, or hexahedron) of a mesh. These functions of quality are then averaged over the entire mesh. The minimum, average, maximum, and unbiased variance of quality for each type of cell is stored in the output mesh's FieldData. The FieldData arrays are named "Mesh Triangle Quality," "Mesh Quadrilateral Quality," "Mesh Tetrahedron Quality," and "Mesh Hexahedron Quality." Each array has a single tuple with 5 components. The first 4 components are the quality statistics mentioned above; the final value is the number of cells of the given type. This final component makes aggregation of statistics for distributed mesh data possible.

By default, the per-cell quality is added to the mesh's cell data, in an array named "Quality." Cell types not supported by this filter will have an entry of 0. Use SaveCellQualityOff() to store only the final statistics.

This version of the filter written by Philippe Pebay and David Thompson overtakes an older version written by Leila Baghdadi, Hanif Ladak, and David Steinman at the Imaging Research Labs, Robarts Research Institute. That version only supported tetrahedral radius ratio. See the CompatibilityModeOn() member for information on how to make this filter behave like the previous implementation. For more information on the triangle quality functions of this class, cf. Pebay & Baker 2003, Analysis of triangle quality measures, Math Comp 72:244. For more information on the quadrangle quality functions of this class, cf. Pebay 2004, Planar Quadrangle Quality Measures, Eng Comp 20:2.

Warning
While more general than before, this class does not address many cell types, including wedges and pyramids in 3D and triangle strips and fans in 2D (among others). 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 102 of file vtkMeshQuality.h.

Member Typedef Documentation

◆ Superclass

Definition at line 106 of file vtkMeshQuality.h.

Constructor & Destructor Documentation

◆ vtkMeshQuality()

vtkMeshQuality::vtkMeshQuality ( )
protected

◆ ~vtkMeshQuality()

vtkMeshQuality::~vtkMeshQuality ( )
overrideprotected

Member Function Documentation

◆ PrintSelf()

void vtkMeshQuality::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

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.

◆ IsTypeOf()

static vtkTypeBool vtkMeshQuality::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual vtkTypeBool vtkMeshQuality::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.

◆ SafeDownCast()

static vtkMeshQuality* vtkMeshQuality::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkMeshQuality::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkDataSetAlgorithm.

◆ NewInstance()

vtkMeshQuality* vtkMeshQuality::NewInstance ( ) const

◆ New()

static vtkMeshQuality* vtkMeshQuality::New ( )
static

◆ SetSaveCellQuality()

virtual void vtkMeshQuality::SetSaveCellQuality ( vtkTypeBool  )
virtual

This variable controls whether or not cell quality is stored as cell data in the resulting mesh or discarded (leaving only the aggregate quality average of the entire mesh, recorded in the FieldData).

◆ GetSaveCellQuality()

virtual vtkTypeBool vtkMeshQuality::GetSaveCellQuality ( )
virtual

◆ SaveCellQualityOn()

virtual void vtkMeshQuality::SaveCellQualityOn ( )
virtual

◆ SaveCellQualityOff()

virtual void vtkMeshQuality::SaveCellQualityOff ( )
virtual

◆ SetTriangleQualityMeasure()

virtual void vtkMeshQuality::SetTriangleQualityMeasure ( int  )
virtual

Set/Get the particular estimator used to function the quality of triangles.

The default is VTK_QUALITY_RADIUS_RATIO and valid values also include VTK_QUALITY_ASPECT_RATIO, VTK_QUALITY_ASPECT_FROBENIUS, and VTK_QUALITY_EDGE_RATIO, VTK_QUALITY_MIN_ANGLE, VTK_QUALITY_MAX_ANGLE, VTK_QUALITY_CONDITION, VTK_QUALITY_SCALED_JACOBIAN, VTK_QUALITY_RELATIVE_SIZE_SQUARED, VTK_QUALITY_SHAPE, VTK_QUALITY_SHAPE_AND_SIZE, and VTK_QUALITY_DISTORTION.

◆ GetTriangleQualityMeasure()

virtual int vtkMeshQuality::GetTriangleQualityMeasure ( )
virtual

◆ SetTriangleQualityMeasureToArea()

void vtkMeshQuality::SetTriangleQualityMeasureToArea ( )
inline

Definition at line 132 of file vtkMeshQuality.h.

◆ SetTriangleQualityMeasureToEdgeRatio()

void vtkMeshQuality::SetTriangleQualityMeasureToEdgeRatio ( )
inline

Definition at line 133 of file vtkMeshQuality.h.

◆ SetTriangleQualityMeasureToAspectRatio()

void vtkMeshQuality::SetTriangleQualityMeasureToAspectRatio ( )
inline

Definition at line 137 of file vtkMeshQuality.h.

◆ SetTriangleQualityMeasureToRadiusRatio()

void vtkMeshQuality::SetTriangleQualityMeasureToRadiusRatio ( )
inline

Definition at line 141 of file vtkMeshQuality.h.

◆ SetTriangleQualityMeasureToAspectFrobenius()

void vtkMeshQuality::SetTriangleQualityMeasureToAspectFrobenius ( )
inline

Definition at line 145 of file vtkMeshQuality.h.

◆ SetTriangleQualityMeasureToMinAngle()

void vtkMeshQuality::SetTriangleQualityMeasureToMinAngle ( )
inline

Definition at line 149 of file vtkMeshQuality.h.

◆ SetTriangleQualityMeasureToMaxAngle()

void vtkMeshQuality::SetTriangleQualityMeasureToMaxAngle ( )
inline

Definition at line 153 of file vtkMeshQuality.h.

◆ SetTriangleQualityMeasureToCondition()

void vtkMeshQuality::SetTriangleQualityMeasureToCondition ( )
inline

Definition at line 157 of file vtkMeshQuality.h.

◆ SetTriangleQualityMeasureToScaledJacobian()

void vtkMeshQuality::SetTriangleQualityMeasureToScaledJacobian ( )
inline

Definition at line 161 of file vtkMeshQuality.h.

◆ SetTriangleQualityMeasureToRelativeSizeSquared()

void vtkMeshQuality::SetTriangleQualityMeasureToRelativeSizeSquared ( )
inline

Definition at line 165 of file vtkMeshQuality.h.

◆ SetTriangleQualityMeasureToShape()

void vtkMeshQuality::SetTriangleQualityMeasureToShape ( )
inline

Definition at line 169 of file vtkMeshQuality.h.

◆ SetTriangleQualityMeasureToShapeAndSize()

void vtkMeshQuality::SetTriangleQualityMeasureToShapeAndSize ( )
inline

Definition at line 170 of file vtkMeshQuality.h.

◆ SetTriangleQualityMeasureToDistortion()

void vtkMeshQuality::SetTriangleQualityMeasureToDistortion ( )
inline

Definition at line 174 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasure()

virtual void vtkMeshQuality::SetQuadQualityMeasure ( int  )
virtual

Set/Get the particular estimator used to measure the quality of quadrilaterals.

The default is VTK_QUALITY_EDGE_RATIO and valid values also include VTK_QUALITY_RADIUS_RATIO, VTK_QUALITY_ASPECT_RATIO, VTK_QUALITY_MAX_EDGE_RATIO VTK_QUALITY_SKEW, VTK_QUALITY_TAPER, VTK_QUALITY_WARPAGE, VTK_QUALITY_AREA, VTK_QUALITY_STRETCH, VTK_QUALITY_MIN_ANGLE, VTK_QUALITY_MAX_ANGLE, VTK_QUALITY_ODDY, VTK_QUALITY_CONDITION, VTK_QUALITY_JACOBIAN, VTK_QUALITY_SCALED_JACOBIAN, VTK_QUALITY_SHEAR, VTK_QUALITY_SHAPE, VTK_QUALITY_RELATIVE_SIZE_SQUARED, VTK_QUALITY_SHAPE_AND_SIZE, VTK_QUALITY_SHEAR_AND_SIZE, and VTK_QUALITY_DISTORTION.

Scope: Except for VTK_QUALITY_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.

◆ GetQuadQualityMeasure()

virtual int vtkMeshQuality::GetQuadQualityMeasure ( )
virtual

◆ SetQuadQualityMeasureToEdgeRatio()

void vtkMeshQuality::SetQuadQualityMeasureToEdgeRatio ( )
inline

Definition at line 198 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToAspectRatio()

void vtkMeshQuality::SetQuadQualityMeasureToAspectRatio ( )
inline

Definition at line 199 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToRadiusRatio()

void vtkMeshQuality::SetQuadQualityMeasureToRadiusRatio ( )
inline

Definition at line 203 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToMedAspectFrobenius()

void vtkMeshQuality::SetQuadQualityMeasureToMedAspectFrobenius ( )
inline

Definition at line 207 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToMaxAspectFrobenius()

void vtkMeshQuality::SetQuadQualityMeasureToMaxAspectFrobenius ( )
inline

Definition at line 211 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToMaxEdgeRatios()

void vtkMeshQuality::SetQuadQualityMeasureToMaxEdgeRatios ( )
inline

Definition at line 215 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToSkew()

void vtkMeshQuality::SetQuadQualityMeasureToSkew ( )
inline

Definition at line 219 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToTaper()

void vtkMeshQuality::SetQuadQualityMeasureToTaper ( )
inline

Definition at line 220 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToWarpage()

void vtkMeshQuality::SetQuadQualityMeasureToWarpage ( )
inline

Definition at line 221 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToArea()

void vtkMeshQuality::SetQuadQualityMeasureToArea ( )
inline

Definition at line 222 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToStretch()

void vtkMeshQuality::SetQuadQualityMeasureToStretch ( )
inline

Definition at line 223 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToMinAngle()

void vtkMeshQuality::SetQuadQualityMeasureToMinAngle ( )
inline

Definition at line 224 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToMaxAngle()

void vtkMeshQuality::SetQuadQualityMeasureToMaxAngle ( )
inline

Definition at line 225 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToOddy()

void vtkMeshQuality::SetQuadQualityMeasureToOddy ( )
inline

Definition at line 226 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToCondition()

void vtkMeshQuality::SetQuadQualityMeasureToCondition ( )
inline

Definition at line 227 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToJacobian()

void vtkMeshQuality::SetQuadQualityMeasureToJacobian ( )
inline

Definition at line 228 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToScaledJacobian()

void vtkMeshQuality::SetQuadQualityMeasureToScaledJacobian ( )
inline

Definition at line 229 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToShear()

void vtkMeshQuality::SetQuadQualityMeasureToShear ( )
inline

Definition at line 233 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToShape()

void vtkMeshQuality::SetQuadQualityMeasureToShape ( )
inline

Definition at line 234 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToRelativeSizeSquared()

void vtkMeshQuality::SetQuadQualityMeasureToRelativeSizeSquared ( )
inline

Definition at line 235 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToShapeAndSize()

void vtkMeshQuality::SetQuadQualityMeasureToShapeAndSize ( )
inline

Definition at line 239 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToShearAndSize()

void vtkMeshQuality::SetQuadQualityMeasureToShearAndSize ( )
inline

Definition at line 243 of file vtkMeshQuality.h.

◆ SetQuadQualityMeasureToDistortion()

void vtkMeshQuality::SetQuadQualityMeasureToDistortion ( )
inline

Definition at line 247 of file vtkMeshQuality.h.

◆ SetTetQualityMeasure()

virtual void vtkMeshQuality::SetTetQualityMeasure ( int  )
virtual

Set/Get the particular estimator used to measure the quality of tetrahedra.

The default is VTK_QUALITY_RADIUS_RATIO (identical to Verdict's aspect ratio beta) and valid values also include VTK_QUALITY_ASPECT_RATIO, VTK_QUALITY_ASPECT_FROBENIUS, VTK_QUALITY_EDGE_RATIO, VTK_QUALITY_COLLAPSE_RATIO, VTK_QUALITY_ASPECT_BETA, VTK_QUALITY_ASPECT_GAMMA, VTK_QUALITY_VOLUME, VTK_QUALITY_CONDITION, VTK_QUALITY_JACOBIAN, VTK_QUALITY_SCALED_JACOBIAN, VTK_QUALITY_SHAPE, VTK_QUALITY_RELATIVE_SIZE_SQUARED, VTK_QUALITY_SHAPE_AND_SIZE, and VTK_QUALITY_DISTORTION.

◆ GetTetQualityMeasure()

virtual int vtkMeshQuality::GetTetQualityMeasure ( )
virtual

◆ SetTetQualityMeasureToEdgeRatio()

void vtkMeshQuality::SetTetQualityMeasureToEdgeRatio ( )
inline

Definition at line 263 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToAspectRatio()

void vtkMeshQuality::SetTetQualityMeasureToAspectRatio ( )
inline

Definition at line 264 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToRadiusRatio()

void vtkMeshQuality::SetTetQualityMeasureToRadiusRatio ( )
inline

Definition at line 265 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToAspectFrobenius()

void vtkMeshQuality::SetTetQualityMeasureToAspectFrobenius ( )
inline

Definition at line 266 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToMinAngle()

void vtkMeshQuality::SetTetQualityMeasureToMinAngle ( )
inline

Definition at line 270 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToCollapseRatio()

void vtkMeshQuality::SetTetQualityMeasureToCollapseRatio ( )
inline

Definition at line 271 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToAspectBeta()

void vtkMeshQuality::SetTetQualityMeasureToAspectBeta ( )
inline

Definition at line 275 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToAspectGamma()

void vtkMeshQuality::SetTetQualityMeasureToAspectGamma ( )
inline

Definition at line 276 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToVolume()

void vtkMeshQuality::SetTetQualityMeasureToVolume ( )
inline

Definition at line 277 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToCondition()

void vtkMeshQuality::SetTetQualityMeasureToCondition ( )
inline

Definition at line 278 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToJacobian()

void vtkMeshQuality::SetTetQualityMeasureToJacobian ( )
inline

Definition at line 279 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToScaledJacobian()

void vtkMeshQuality::SetTetQualityMeasureToScaledJacobian ( )
inline

Definition at line 280 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToShape()

void vtkMeshQuality::SetTetQualityMeasureToShape ( )
inline

Definition at line 284 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToRelativeSizeSquared()

void vtkMeshQuality::SetTetQualityMeasureToRelativeSizeSquared ( )
inline

Definition at line 285 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToShapeAndSize()

void vtkMeshQuality::SetTetQualityMeasureToShapeAndSize ( )
inline

Definition at line 289 of file vtkMeshQuality.h.

◆ SetTetQualityMeasureToDistortion()

void vtkMeshQuality::SetTetQualityMeasureToDistortion ( )
inline

Definition at line 293 of file vtkMeshQuality.h.

◆ SetHexQualityMeasure()

virtual void vtkMeshQuality::SetHexQualityMeasure ( int  )
virtual

Set/Get the particular estimator used to measure the quality of hexahedra.

The default is VTK_QUALITY_MAX_ASPECT_FROBENIUS and valid values also include VTK_QUALITY_EDGE_RATIO, VTK_QUALITY_MAX_ASPECT_FROBENIUS, VTK_QUALITY_MAX_EDGE_RATIO, VTK_QUALITY_SKEW, VTK_QUALITY_TAPER, VTK_QUALITY_VOLUME, VTK_QUALITY_STRETCH, VTK_QUALITY_DIAGONAL, VTK_QUALITY_DIMENSION, VTK_QUALITY_ODDY, VTK_QUALITY_CONDITION, VTK_QUALITY_JACOBIAN, VTK_QUALITY_SCALED_JACOBIAN, VTK_QUALITY_SHEAR, VTK_QUALITY_SHAPE, VTK_QUALITY_RELATIVE_SIZE_SQUARED, VTK_QUALITY_SHAPE_AND_SIZE, VTK_QUALITY_SHEAR_AND_SIZE, and VTK_QUALITY_DISTORTION.

◆ GetHexQualityMeasure()

virtual int vtkMeshQuality::GetHexQualityMeasure ( )
virtual

◆ SetHexQualityMeasureToEdgeRatio()

void vtkMeshQuality::SetHexQualityMeasureToEdgeRatio ( )
inline

Definition at line 310 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToMedAspectFrobenius()

void vtkMeshQuality::SetHexQualityMeasureToMedAspectFrobenius ( )
inline

Definition at line 311 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToMaxAspectFrobenius()

void vtkMeshQuality::SetHexQualityMeasureToMaxAspectFrobenius ( )
inline

Definition at line 315 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToMaxEdgeRatios()

void vtkMeshQuality::SetHexQualityMeasureToMaxEdgeRatios ( )
inline

Definition at line 319 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToSkew()

void vtkMeshQuality::SetHexQualityMeasureToSkew ( )
inline

Definition at line 323 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToTaper()

void vtkMeshQuality::SetHexQualityMeasureToTaper ( )
inline

Definition at line 324 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToVolume()

void vtkMeshQuality::SetHexQualityMeasureToVolume ( )
inline

Definition at line 325 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToStretch()

void vtkMeshQuality::SetHexQualityMeasureToStretch ( )
inline

Definition at line 326 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToDiagonal()

void vtkMeshQuality::SetHexQualityMeasureToDiagonal ( )
inline

Definition at line 327 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToDimension()

void vtkMeshQuality::SetHexQualityMeasureToDimension ( )
inline

Definition at line 328 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToOddy()

void vtkMeshQuality::SetHexQualityMeasureToOddy ( )
inline

Definition at line 329 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToCondition()

void vtkMeshQuality::SetHexQualityMeasureToCondition ( )
inline

Definition at line 330 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToJacobian()

void vtkMeshQuality::SetHexQualityMeasureToJacobian ( )
inline

Definition at line 331 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToScaledJacobian()

void vtkMeshQuality::SetHexQualityMeasureToScaledJacobian ( )
inline

Definition at line 332 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToShear()

void vtkMeshQuality::SetHexQualityMeasureToShear ( )
inline

Definition at line 336 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToShape()

void vtkMeshQuality::SetHexQualityMeasureToShape ( )
inline

Definition at line 337 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToRelativeSizeSquared()

void vtkMeshQuality::SetHexQualityMeasureToRelativeSizeSquared ( )
inline

Definition at line 338 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToShapeAndSize()

void vtkMeshQuality::SetHexQualityMeasureToShapeAndSize ( )
inline

Definition at line 342 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToShearAndSize()

void vtkMeshQuality::SetHexQualityMeasureToShearAndSize ( )
inline

Definition at line 346 of file vtkMeshQuality.h.

◆ SetHexQualityMeasureToDistortion()

void vtkMeshQuality::SetHexQualityMeasureToDistortion ( )
inline

Definition at line 350 of file vtkMeshQuality.h.

◆ TriangleArea()

static double vtkMeshQuality::TriangleArea ( vtkCell cell)
static

This is a static function used to calculate the area of a triangle.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function.

◆ TriangleEdgeRatio()

static double vtkMeshQuality::TriangleEdgeRatio ( vtkCell cell)
static

This is a static function used to calculate the edge ratio of a triangle.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function. The edge ratio of a triangle $t$ is: $\frac{|t|_\infty}{|t|_0}$, where $|t|_\infty$ and $|t|_0$ respectively denote the greatest and the smallest edge lengths of $t$.

◆ TriangleAspectRatio()

static double vtkMeshQuality::TriangleAspectRatio ( vtkCell cell)
static

This is a static function used to calculate the aspect ratio of a triangle.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function. The aspect ratio of a triangle $t$ is: $\frac{|t|_\infty}{2\sqrt{3}r}$, where $|t|_\infty$ and $r$ respectively denote the greatest edge length and the inradius of $t$.

◆ TriangleRadiusRatio()

static double vtkMeshQuality::TriangleRadiusRatio ( vtkCell cell)
static

This is a static function used to calculate the radius ratio of a triangle.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function. The radius ratio of a triangle $t$ is: $\frac{R}{2r}$, where $R$ and $r$ respectively denote the circumradius and the inradius of $t$.

◆ TriangleAspectFrobenius()

static double vtkMeshQuality::TriangleAspectFrobenius ( vtkCell cell)
static

This is a static function used to calculate the Frobenius condition number of the transformation matrix from an equilateral triangle to a triangle.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function. The Frobenius aspect of a triangle $t$, when the reference element is equilateral, is: $\frac{|t|^2_2}{2\sqrt{3}{\cal A}}$, where $|t|^2_2$ and $\cal A$ respectively denote the sum of the squared edge lengths and the area of $t$.

◆ TriangleMinAngle()

static double vtkMeshQuality::TriangleMinAngle ( vtkCell cell)
static

This is a static function used to calculate the minimal (nonoriented) angle of a triangle, expressed in degrees.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function.

◆ TriangleMaxAngle()

static double vtkMeshQuality::TriangleMaxAngle ( vtkCell cell)
static

This is a static function used to calculate the maximal (nonoriented) angle of a triangle, expressed in degrees.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function.

◆ TriangleCondition()

static double vtkMeshQuality::TriangleCondition ( vtkCell cell)
static

This is a static function used to calculate the condition number of a triangle.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function.

◆ TriangleScaledJacobian()

static double vtkMeshQuality::TriangleScaledJacobian ( vtkCell cell)
static

This is a static function used to calculate the scaled Jacobian of a triangle.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function.

◆ TriangleRelativeSizeSquared()

static double vtkMeshQuality::TriangleRelativeSizeSquared ( vtkCell cell)
static

This is a static function used to calculate the square of the relative size of a triangle.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function.

◆ TriangleShape()

static double vtkMeshQuality::TriangleShape ( vtkCell cell)
static

This is a static function used to calculate the shape of a triangle.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function.

◆ TriangleShapeAndSize()

static double vtkMeshQuality::TriangleShapeAndSize ( vtkCell cell)
static

This is a static function used to calculate the product of shape and relative size of a triangle.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function.

◆ TriangleDistortion()

static double vtkMeshQuality::TriangleDistortion ( vtkCell cell)
static

This is a static function used to calculate the distortion of a triangle.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function.

◆ QuadEdgeRatio()

static double vtkMeshQuality::QuadEdgeRatio ( vtkCell cell)
static

This is a static function used to calculate the edge ratio of a quadrilateral.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function. The edge ratio of a quadrilateral $q$ is: $\frac{|q|_\infty}{|q|_0}$, where $|q|_\infty$ and $|q|_0$ respectively denote the greatest and the smallest edge lengths of $q$.

◆ QuadAspectRatio()

static double vtkMeshQuality::QuadAspectRatio ( vtkCell cell)
static

This is a static function used to calculate the aspect ratio of a planar quadrilateral.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function. Use at your own risk with nonplanar quadrilaterals. The aspect ratio of a planar quadrilateral $q$ is: $\frac{|q|_1|q|_\infty}{4{\cal A}}$, where $|q|_1$, $|q|_\infty$ and ${\cal A}$ respectively denote the perimeter, the greatest edge length and the area of $q$.

◆ QuadRadiusRatio()

static double vtkMeshQuality::QuadRadiusRatio ( vtkCell cell)
static

This is a static function used to calculate the radius ratio of a planar quadrilateral.

The name is only used by analogy with the triangle radius ratio, because in general a quadrilateral does not have a circumcircle nor an incircle. It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function. Use at your own risk with nonplanar quadrilaterals. The radius ratio of a planar quadrilateral $q$ is: $\frac{|q|_2h_{\max}}{\min_i{\cal A}_i}$, where $|q|_2$, $h_{\max}$ and $\min{\cal A}_i$ respectively denote the sum of the squared edge lengths, the greatest amongst diagonal and edge lengths and the smallest area of the 4 triangles extractable from $q$.

◆ QuadMedAspectFrobenius()

static double vtkMeshQuality::QuadMedAspectFrobenius ( vtkCell cell)
static

This is a static function used to calculate the average Frobenius aspect of the 4 corner triangles of a planar quadrilateral, when the reference triangle elements are right isosceles at the quadrangle vertices.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function. Use at your own risk with nonplanar quadrilaterals. The Frobenius aspect of a triangle $t$, when the reference element is right isosceles at vertex $V$, is: $\frac{f^2+g^2}{4{\cal A}}$, where $f^2+g^2$ and $\cal A$ respectively denote the sum of the squared lengths of the edges attached to $V$ and the area of $t$.

◆ QuadMaxAspectFrobenius()

static double vtkMeshQuality::QuadMaxAspectFrobenius ( vtkCell cell)
static

This is a static function used to calculate the maximal Frobenius aspect of the 4 corner triangles of a planar quadrilateral, when the reference triangle elements are right isosceles at the quadrangle vertices.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function. Use at your own risk with nonplanar quadrilaterals. The Frobenius aspect of a triangle $t$, when the reference element is right isosceles at vertex $V$, is: $\frac{f^2+g^2}{4{\cal A}}$, where $f^2+g^2$ and $\cal A$ respectively denote the sum of the squared lengths of the edges attached to $V$ and the area of $t$.

◆ QuadMinAngle()

static double vtkMeshQuality::QuadMinAngle ( vtkCell cell)
static

This is a static function used to calculate the minimal (nonoriented) angle of a quadrilateral, expressed in degrees.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function.

◆ QuadMaxEdgeRatios()

static double vtkMeshQuality::QuadMaxEdgeRatios ( vtkCell cell)
static

◆ QuadSkew()

static double vtkMeshQuality::QuadSkew ( vtkCell cell)
static

◆ QuadTaper()

static double vtkMeshQuality::QuadTaper ( vtkCell cell)
static

◆ QuadWarpage()

static double vtkMeshQuality::QuadWarpage ( vtkCell cell)
static

◆ QuadArea()

static double vtkMeshQuality::QuadArea ( vtkCell cell)
static

◆ QuadStretch()

static double vtkMeshQuality::QuadStretch ( vtkCell cell)
static

◆ QuadMaxAngle()

static double vtkMeshQuality::QuadMaxAngle ( vtkCell cell)
static

◆ QuadOddy()

static double vtkMeshQuality::QuadOddy ( vtkCell cell)
static

◆ QuadCondition()

static double vtkMeshQuality::QuadCondition ( vtkCell cell)
static

◆ QuadJacobian()

static double vtkMeshQuality::QuadJacobian ( vtkCell cell)
static

◆ QuadScaledJacobian()

static double vtkMeshQuality::QuadScaledJacobian ( vtkCell cell)
static

◆ QuadShear()

static double vtkMeshQuality::QuadShear ( vtkCell cell)
static

◆ QuadShape()

static double vtkMeshQuality::QuadShape ( vtkCell cell)
static

◆ QuadRelativeSizeSquared()

static double vtkMeshQuality::QuadRelativeSizeSquared ( vtkCell cell)
static

◆ QuadShapeAndSize()

static double vtkMeshQuality::QuadShapeAndSize ( vtkCell cell)
static

◆ QuadShearAndSize()

static double vtkMeshQuality::QuadShearAndSize ( vtkCell cell)
static

◆ QuadDistortion()

static double vtkMeshQuality::QuadDistortion ( vtkCell cell)
static

◆ TetEdgeRatio()

static double vtkMeshQuality::TetEdgeRatio ( vtkCell cell)
static

This is a static function used to calculate the edge ratio of a tetrahedron.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function. The edge ratio of a tetrahedron $K$ is: $\frac{|K|_\infty}{|K|_0}$, where $|K|_\infty$ and $|K|_0$ respectively denote the greatest and the smallest edge lengths of $K$.

◆ TetAspectRatio()

static double vtkMeshQuality::TetAspectRatio ( vtkCell cell)
static

This is a static function used to calculate the aspect ratio of a tetrahedron.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function. The aspect ratio of a tetrahedron $K$ is: $\frac{|K|_\infty}{2\sqrt{6}r}$, where $|K|_\infty$ and $r$ respectively denote the greatest edge length and the inradius of $K$.

◆ TetRadiusRatio()

static double vtkMeshQuality::TetRadiusRatio ( vtkCell cell)
static

This is a static function used to calculate the radius ratio of a tetrahedron.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function. The radius ratio of a tetrahedron $K$ is: $\frac{R}{3r}$, where $R$ and $r$ respectively denote the circumradius and the inradius of $K$.

◆ TetAspectFrobenius()

static double vtkMeshQuality::TetAspectFrobenius ( vtkCell cell)
static

This is a static function used to calculate the Frobenius condition number of the transformation matrix from a regular tetrahedron to a tetrahedron.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function. The Frobenius aspect of a tetrahedron $K$, when the reference element is regular, is: $\frac{\frac{3}{2}(l_{11}+l_{22}+l_{33}) - (l_{12}+l_{13}+l_{23})} {3(\sqrt{2}\det{T})^\frac{2}{3}}$, where $T$ and $l_{ij}$ respectively denote the edge matrix of $K$ and the entries of $L=T^t\,T$.

◆ TetMinAngle()

static double vtkMeshQuality::TetMinAngle ( vtkCell cell)
static

This is a static function used to calculate the minimal (nonoriented) dihedral angle of a tetrahedron, expressed in degrees.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function.

◆ TetCollapseRatio()

static double vtkMeshQuality::TetCollapseRatio ( vtkCell cell)
static

This is a static function used to calculate the collapse ratio of a tetrahedron.

The collapse ratio is a dimensionless number defined as the smallest ratio of the height of a vertex above its opposing triangle to the longest edge of that opposing triangle across all vertices of the tetrahedron. It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function.

◆ TetAspectBeta()

static double vtkMeshQuality::TetAspectBeta ( vtkCell cell)
static

◆ TetAspectGamma()

static double vtkMeshQuality::TetAspectGamma ( vtkCell cell)
static

◆ TetVolume()

static double vtkMeshQuality::TetVolume ( vtkCell cell)
static

◆ TetCondition()

static double vtkMeshQuality::TetCondition ( vtkCell cell)
static

◆ TetJacobian()

static double vtkMeshQuality::TetJacobian ( vtkCell cell)
static

◆ TetScaledJacobian()

static double vtkMeshQuality::TetScaledJacobian ( vtkCell cell)
static

◆ TetShape()

static double vtkMeshQuality::TetShape ( vtkCell cell)
static

◆ TetRelativeSizeSquared()

static double vtkMeshQuality::TetRelativeSizeSquared ( vtkCell cell)
static

◆ TetShapeandSize()

static double vtkMeshQuality::TetShapeandSize ( vtkCell cell)
static

◆ TetDistortion()

static double vtkMeshQuality::TetDistortion ( vtkCell cell)
static

◆ HexEdgeRatio()

static double vtkMeshQuality::HexEdgeRatio ( vtkCell cell)
static

This is a static function used to calculate the edge ratio of a hexahedron.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function. The edge ratio of a hexahedron $H$ is: $\frac{|H|_\infty}{|H|_0}$, where $|H|_\infty$ and $|H|_0$ respectively denote the greatest and the smallest edge lengths of $H$.

◆ HexMedAspectFrobenius()

static double vtkMeshQuality::HexMedAspectFrobenius ( vtkCell cell)
static

This is a static function used to calculate the average Frobenius aspect of the 8 corner tetrahedra of a hexahedron, when the reference tetrahedral elements are right isosceles at the hexahedron vertices.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function.

◆ HexMaxAspectFrobenius()

static double vtkMeshQuality::HexMaxAspectFrobenius ( vtkCell cell)
static

This is a static function used to calculate the maximal Frobenius aspect of the 8 corner tetrahedra of a hexahedron, when the reference tetrahedral elements are right isosceles at the hexahedron vertices.

It assumes that you pass the correct type of cell – no type checking is performed because this method is called from the inner loop of the Execute() member function.

◆ HexMaxEdgeRatio()

static double vtkMeshQuality::HexMaxEdgeRatio ( vtkCell cell)
static

◆ HexSkew()

static double vtkMeshQuality::HexSkew ( vtkCell cell)
static

◆ HexTaper()

static double vtkMeshQuality::HexTaper ( vtkCell cell)
static

◆ HexVolume()

static double vtkMeshQuality::HexVolume ( vtkCell cell)
static

◆ HexStretch()

static double vtkMeshQuality::HexStretch ( vtkCell cell)
static

◆ HexDiagonal()

static double vtkMeshQuality::HexDiagonal ( vtkCell cell)
static

◆ HexDimension()

static double vtkMeshQuality::HexDimension ( vtkCell cell)
static

◆ HexOddy()

static double vtkMeshQuality::HexOddy ( vtkCell cell)
static

◆ HexCondition()

static double vtkMeshQuality::HexCondition ( vtkCell cell)
static

◆ HexJacobian()

static double vtkMeshQuality::HexJacobian ( vtkCell cell)
static

◆ HexScaledJacobian()

static double vtkMeshQuality::HexScaledJacobian ( vtkCell cell)
static

◆ HexShear()

static double vtkMeshQuality::HexShear ( vtkCell cell)
static

◆ HexShape()

static double vtkMeshQuality::HexShape ( vtkCell cell)
static

◆ HexRelativeSizeSquared()

static double vtkMeshQuality::HexRelativeSizeSquared ( vtkCell cell)
static

◆ HexShapeAndSize()

static double vtkMeshQuality::HexShapeAndSize ( vtkCell cell)
static

◆ HexShearAndSize()

static double vtkMeshQuality::HexShearAndSize ( vtkCell cell)
static

◆ HexDistortion()

static double vtkMeshQuality::HexDistortion ( vtkCell cell)
static

◆ SetRatio()

virtual void vtkMeshQuality::SetRatio ( vtkTypeBool  r)
inlinevirtual

These methods are deprecated.

Use Get/SetSaveCellQuality() instead.

Formerly, SetRatio could be used to disable computation of the tetrahedral radius ratio so that volume alone could be computed. Now, cell quality is always computed, but you may decide not to store the result for each cell. This allows average cell quality of a mesh to be calculated without requiring per-cell storage.

Definition at line 719 of file vtkMeshQuality.h.

◆ GetRatio()

vtkTypeBool vtkMeshQuality::GetRatio ( )
inline

Definition at line 720 of file vtkMeshQuality.h.

◆ RatioOn()

virtual void vtkMeshQuality::RatioOn ( )
virtual

◆ RatioOff()

virtual void vtkMeshQuality::RatioOff ( )
virtual

◆ SetVolume()

virtual void vtkMeshQuality::SetVolume ( vtkTypeBool  cv)
inlinevirtual

These methods are deprecated.

The functionality of computing cell volume is being removed until it can be computed for any 3D cell. (The previous implementation only worked for tetrahedra.)

For now, turning on the volume computation will put this filter into "compatibility mode," where tetrahedral cell volume is stored in first component of each output tuple and the radius ratio is stored in the second component. You may also use CompatibilityModeOn()/Off() to enter this mode. In this mode, cells other than tetrahedra will have report a volume of 0.0 (if volume computation is enabled).

By default, volume computation is disabled and compatibility mode is off, since it does not make a lot of sense for meshes with non-tetrahedral cells.

Definition at line 741 of file vtkMeshQuality.h.

◆ GetVolume()

vtkTypeBool vtkMeshQuality::GetVolume ( )
inline

Definition at line 754 of file vtkMeshQuality.h.

◆ VolumeOn()

virtual void vtkMeshQuality::VolumeOn ( )
virtual

◆ VolumeOff()

virtual void vtkMeshQuality::VolumeOff ( )
virtual

◆ SetCompatibilityMode()

virtual void vtkMeshQuality::SetCompatibilityMode ( vtkTypeBool  cm)
inlinevirtual

CompatibilityMode governs whether, when both a quality function and cell volume are to be stored as cell data, the two values are stored in a single array.

When compatibility mode is off (the default), two separate arrays are used – one labeled "Quality" and the other labeled "Volume". When compatibility mode is on, both values are stored in a single array, with volume as the first component and quality as the second component.

Enabling CompatibilityMode changes the default tetrahedral quality function to VTK_QUALITY_RADIUS_RATIO and turns volume computation on. (This matches the default behavior of the initial implementation of vtkMeshQuality.) You may change quality function and volume computation without leaving compatibility mode.

Disabling compatibility mode does not affect the current volume computation or tetrahedral quality function settings.

The final caveat to CompatibilityMode is that regardless of its setting, the resulting array will be of type vtkDoubleArray rather than the original vtkFloatArray. This is a safety function to keep the authors from diving off of the Combinatorial Coding Cliff into Certain Insanity.

Definition at line 786 of file vtkMeshQuality.h.

◆ GetCompatibilityMode()

virtual vtkTypeBool vtkMeshQuality::GetCompatibilityMode ( )
virtual

◆ CompatibilityModeOn()

virtual void vtkMeshQuality::CompatibilityModeOn ( )
virtual

◆ CompatibilityModeOff()

virtual void vtkMeshQuality::CompatibilityModeOff ( )
virtual

◆ RequestData()

int vtkMeshQuality::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
overrideprotectedvirtual

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.

◆ GetCurrentTriangleNormal()

static int vtkMeshQuality::GetCurrentTriangleNormal ( double  point[3],
double  normal[3] 
)
staticprotected

A function called by some VERDICT triangle quality functions to test for inverted triangles.

Member Data Documentation

◆ SaveCellQuality

vtkTypeBool vtkMeshQuality::SaveCellQuality
protected

Definition at line 815 of file vtkMeshQuality.h.

◆ TriangleQualityMeasure

int vtkMeshQuality::TriangleQualityMeasure
protected

Definition at line 816 of file vtkMeshQuality.h.

◆ QuadQualityMeasure

int vtkMeshQuality::QuadQualityMeasure
protected

Definition at line 817 of file vtkMeshQuality.h.

◆ TetQualityMeasure

int vtkMeshQuality::TetQualityMeasure
protected

Definition at line 818 of file vtkMeshQuality.h.

◆ HexQualityMeasure

int vtkMeshQuality::HexQualityMeasure
protected

Definition at line 819 of file vtkMeshQuality.h.

◆ CompatibilityMode

vtkTypeBool vtkMeshQuality::CompatibilityMode
protected

Definition at line 821 of file vtkMeshQuality.h.

◆ Volume

vtkTypeBool vtkMeshQuality::Volume
protected

Definition at line 822 of file vtkMeshQuality.h.

◆ CellNormals

vtkDataArray* vtkMeshQuality::CellNormals
protected

Definition at line 824 of file vtkMeshQuality.h.

◆ CurrentTriNormal

double vtkMeshQuality::CurrentTriNormal[3]
staticprotected

Definition at line 825 of file vtkMeshQuality.h.


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