Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
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
- Date:
-
2002/10/22 16:02:39
- Revision:
-
1.3
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%):
-
- CVS logs (CVSweb):
-
- .
cxx
(/Graphics/vtkMeshQuality.cxx)
- .
h
(/Graphics/vtkMeshQuality.h)
- Tests:
-
vtkMeshQuality (Tests)
Definition at line 53 of file vtkMeshQuality.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkMeshQuality::vtkMeshQuality |
( |
|
) |
[protected] |
|
vtkMeshQuality::~vtkMeshQuality |
( |
|
) |
[protected] |
|
Member Function Documentation
vtkMeshQuality* vtkMeshQuality::New |
( |
|
) |
[static] |
|
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. |
vtkMeshQuality* vtkMeshQuality::SafeDownCast |
( |
vtkObject * |
o |
) |
[static] |
|
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
int vtkMeshQuality::Volume [protected]
|
|
int vtkMeshQuality::Ratio [protected]
|
|
The documentation for this class was generated from the following file: