Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

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:

Inheritance graph
[legend]
Collaboration diagram for mitkQEMSimplification:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
void SetMeshingPenalty (double mp)
double GetMeshingPenalty ()
void SetVertexDegreeLimit (size_type vdl)
size_type GetVertexDegreeLimit ()
void SetCompactnessRatio (double cr)
double GetCompactnessRatio ()
void SetLocalValidityThreshold (double lvt)
double GetLocalValidityThreshold ()

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:

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:
cr the compactness ratio

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  doxygen 1.4.3