Rev 215 | Blame | Compare with Previous | Last modification | View Log | RSS feed
#ifndef __HMESHUTIL_SMOOTH_H
#define __HMESHUTIL_SMOOTH_H
#include "HMesh/Manifold.h"
namespace HMesh
{
/// Simple laplacian smoothing with an optional weight.
void laplacian_smooth(HMesh::Manifold& m, float t=1.0f);
/// Taubin smoothing is similar to laplacian smoothing but reduces shrinkage
void taubin_smooth(HMesh::Manifold& m, int iter);
/** Fuzzy vector median smoothing is effective when it comes to
preserving sharp edges. */
void fvm_smooth(HMesh::Manifold& m, int iter);
}
#endif