#include <vtkMeshQuality.h>
Inheritance diagram for vtkMeshQuality:
vtkMeshQuality will calculate the normalized quality ratio of the cells in a tetrahedral mesh according to the equation:
ratio = (radius of circumscribed sphere)/(radius of inscribed sphere)/3.
The minumum (and ideal) quality ratio is 1.0 for regular tetrahedra, i.e. all sides of equal length. Larger values indicate poorer mesh quality. The resulting quality values (and the tetrahedron volumes) are set as the Scalars of the FieldData of the output.
Definition at line 39 of file vtkMeshQuality.h.
Public Types | |
typedef vtkDataSetToDataObjectFilter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetVolume (int) |
virtual int | GetVolume () |
virtual void | VolumeOn () |
virtual void | VolumeOff () |
virtual void | SetRatio (int) |
virtual int | GetRatio () |
virtual void | RatioOn () |
virtual void | RatioOff () |
Static Public Member Functions | |
vtkMeshQuality * | New () |
int | IsTypeOf (const char *type) |
vtkMeshQuality * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkMeshQuality () | |
~vtkMeshQuality () | |
void | Execute () |
Protected Attributes | |
int | Volume |
int | Ratio |
|
Reimplemented from vtkDataSetToDataObjectFilter. Definition at line 43 of file vtkMeshQuality.h. |
|
|
|
|
|
Instantiate the object to transform all data into a data object. Reimplemented from vtkDataSetToDataObjectFilter.
|
|
Reimplemented from vtkDataSetToDataObjectFilter.
|
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkDataSetToDataObjectFilter.
|
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkDataSetToDataObjectFilter.
|
|
Reimplemented from vtkDataSetToDataObjectFilter.
|
|
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 vtkDataSetToDataObjectFilter.
|
|
Turn on/off the calculation of volume for each cell (Default: On). The volume the first component of the cell scalars in the output data. |
|
Turn on/off the calculation of volume for each cell (Default: On). The volume the first component of the cell scalars in the output data. |
|
Turn on/off the calculation of volume for each cell (Default: On). The volume the first component of the cell scalars in the output data. |
|
Turn on/off the calculation of volume for each cell (Default: On). The volume the first component of the cell scalars in the output data. |
|
Turn on/off the calculation of the quality ratio for each cell (Default: On). The ratio is 1 for a regular tetrahedron and greater than one for other tetrahedrons. The values are stored in the second component of the cell scalars in the output data, unless Volume calculation is off in which case the values are stored in the first scalar component. |
|
Turn on/off the calculation of the quality ratio for each cell (Default: On). The ratio is 1 for a regular tetrahedron and greater than one for other tetrahedrons. The values are stored in the second component of the cell scalars in the output data, unless Volume calculation is off in which case the values are stored in the first scalar component. |
|
Turn on/off the calculation of the quality ratio for each cell (Default: On). The ratio is 1 for a regular tetrahedron and greater than one for other tetrahedrons. The values are stored in the second component of the cell scalars in the output data, unless Volume calculation is off in which case the values are stored in the first scalar component. |
|
Turn on/off the calculation of the quality ratio for each cell (Default: On). The ratio is 1 for a regular tetrahedron and greater than one for other tetrahedrons. The values are stored in the second component of the cell scalars in the output data, unless Volume calculation is off in which case the values are stored in the first scalar component. |
|
This method is the old style execute method Reimplemented from vtkDataSetToDataObjectFilter.
|
|
Definition at line 73 of file vtkMeshQuality.h. |
|
Definition at line 74 of file vtkMeshQuality.h. |