Subversion Repositories gelsvn

Rev

Rev 149 | Rev 182 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 149 Rev 150
Line 1... Line 1...
1
#ifndef __HMESHUTIL_SMOOTH_H
1
#ifndef __HMESHUTIL_SMOOTH_H
2
#define __HMESHUTIL_SMOOTH_H
2
#define __HMESHUTIL_SMOOTH_H
3
 
3
 
4
#include "HMesh/Manifold.h"
4
#include "HMesh/Manifold.h"
5
 
5
 
6
namespace HMeshUtil
6
namespace HMesh
7
{
7
{
8
	/// Simple laplacian smoothing with an optional weight.
8
	/// Simple laplacian smoothing with an optional weight.
9
	void laplacian_smooth(HMesh::Manifold& m, float t=1.0f);
9
	void laplacian_smooth(HMesh::Manifold& m, float t=1.0f);
10
 
10
 
11
	/// Taubin smoothing is similar to laplacian smoothing but reduces shrinkage
11
	/// Taubin smoothing is similar to laplacian smoothing but reduces shrinkage