mitkQEMSimplification Class Reference
mitkQEMSimplification - an implementation for the simplification algorithm using Quadric Error Metrics (QEM)
More...
#include <mitkQEMSimplification.h>
Inherits mitkTriangleMeshSimplification.
Inheritance diagram for mitkQEMSimplification:
[legend]Collaboration diagram for mitkQEMSimplification:
[legend]List of all members.
Detailed Description
mitkQEMSimplification - an implementation for the simplification algorithm using Quadric Error Metrics (QEM)
mitkQEMSimplification is an implementation for the simplification algorithm using Quadric Error Metrics (QEM). The implementation is based on the algorithm presented in following papers written by Michael Garland and Paul S. Heckbert and their implementation in QSlim Simplification Software:
- Michael Garland and Paul S. Heckbert, Surface Simplification Using Quadric Error Metrics, in Proceedings of SIGGARPH'97, pp. 209-216, 1997.
- Michael Garland and Paul S. Heckbert, Simplifying Surfaces with Color and Texture using Quadric Error Metrics, in Proceedings of IEEE Visualization'98, pp. 263-269, 1998.
Thanks for their excellent works.
Member Function Documentation
double mitkQEMSimplification::GetCompactnessRatio |
( |
|
) |
[inline] |
|
|
Get the compactness ratio for triangle compactness check. - Returns:
- Return the compactness ratio.
|
double mitkQEMSimplification::GetLocalValidityThreshold |
( |
|
) |
[inline] |
|
|
Get the local validity threshold for local validity check. - Returns:
- Return the local validity threshold.
|
double mitkQEMSimplification::GetMeshingPenalty |
( |
|
) |
[inline] |
|
|
Get meshing penalty. - Returns:
- Return the meshing penalty.
|
size_type mitkQEMSimplification::GetVertexDegreeLimit |
( |
|
) |
[inline] |
|
|
Set the limit of the vertex degree. - Returns:
- Return the limit of the vertex degree.
|
virtual void mitkQEMSimplification::PrintSelf |
( |
ostream & |
os |
) |
[virtual] |
|
|
Print the necessary information about this object for the debugging purpose. - Parameters:
-
| os | The specified ostream to output information. |
Reimplemented from mitkTriangleMeshSimplification. |
void mitkQEMSimplification::SetCompactnessRatio |
( |
double |
cr |
) |
[inline] |
|
|
Set the compactness ratio for triangle compactness check. The default value is 0.0. - Parameters:
-
|
void mitkQEMSimplification::SetLocalValidityThreshold |
( |
double |
lvt |
) |
[inline] |
|
|
Set the local validity threshold for local validity check. The default value is 0.0. - Parameters:
-
| lvt | the local validity threshold |
|
void mitkQEMSimplification::SetMeshingPenalty |
( |
double |
mp |
) |
[inline] |
|
|
Set meshing penalty. The default value is 1.0. - Parameters:
-
| mp | meshing penalty (>1.0 will enable checks for the mesh penalties) |
|
void mitkQEMSimplification::SetVertexDegreeLimit |
( |
size_type |
vdl |
) |
[inline] |
|
|
Set the limit of the vertex degree after simplification. The default value is 24. - Parameters:
-
| vdl | the vertex degree limit |
|
The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:05:17 2014 for MITK (Medical Imaging ToolKit) by
1.4.3