Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
39 |
bj |
1 |
#ifndef __HMESHUTIL_SMOOTH_H
|
|
|
2 |
#define __HMESHUTIL_SMOOTH_H
|
|
|
3 |
|
|
|
4 |
#include "HMesh/Manifold.h"
|
|
|
5 |
|
|
|
6 |
namespace HMeshUtil
|
|
|
7 |
{
|
|
|
8 |
/// Simple laplacian smoothing with an optional weight.
|
|
|
9 |
void laplacian_smooth(HMesh::Manifold& m, float t=1.0f);
|
|
|
10 |
|
|
|
11 |
/// Taubin smoothing is similar to laplacian smoothing but reduces shrinkage
|
|
|
12 |
void taubin_smooth(HMesh::Manifold& m, int iter);
|
|
|
13 |
}
|
|
|
14 |
#endif
|