vtkMeshQuality Class Reference
#include <vtkMeshQuality.h>
Inheritance diagram for vtkMeshQuality:
[legend]Collaboration diagram for vtkMeshQuality:
[legend]List of all members.
Detailed Description
calculate quality of tetrahedral meshes
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.
- Thanks:
- This class was developed by Leila Baghdadi, Hanif Ladak, and David Steinman at the Imaging Research Labs, Robarts Research Institute.
- Created by:
-
- CVS contributions (if > 5%):
- Gobbi, David (80%)
- Malaterre, Mathieu (14%)
- CVS logs (CVSweb):
.cxx (/Graphics/vtkMeshQuality
.cxx)
.h (/Graphics/vtkMeshQuality
.h)
- Tests:
- vtkMeshQuality (Tests)
Definition at line 50 of file vtkMeshQuality.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkMeshQuality::vtkMeshQuality |
( |
|
) |
[protected] |
|
Member Function Documentation
virtual const char* vtkMeshQuality::GetClassName |
( |
|
) |
[virtual] |
|
int vtkMeshQuality::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataSetToDataObjectFilter. |
virtual int vtkMeshQuality::IsA |
( |
const char * |
type |
) |
[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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataSetToDataObjectFilter. |
void vtkMeshQuality::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkDataSetToDataObjectFilter. |
virtual void vtkMeshQuality::SetVolume |
( |
int |
|
) |
[virtual] |
|
|
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. |
virtual int vtkMeshQuality::GetVolume |
( |
|
) |
[virtual] |
|
|
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. |
virtual void vtkMeshQuality::VolumeOn |
( |
|
) |
[virtual] |
|
|
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. |
virtual void vtkMeshQuality::VolumeOff |
( |
|
) |
[virtual] |
|
|
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. |
virtual void vtkMeshQuality::SetRatio |
( |
int |
|
) |
[virtual] |
|
|
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. |
virtual int vtkMeshQuality::GetRatio |
( |
|
) |
[virtual] |
|
|
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. |
virtual void vtkMeshQuality::RatioOn |
( |
|
) |
[virtual] |
|
|
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. |
virtual void vtkMeshQuality::RatioOff |
( |
|
) |
[virtual] |
|
|
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. |
void vtkMeshQuality::Execute |
( |
|
) |
[protected, virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file: