Subversion Repositories gelsvn

Rev

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

Rev 631 Rev 646
Line 10... Line 10...
10
 * ----------------------------------------------------------------------- */
10
 * ----------------------------------------------------------------------- */
11
 
11
 
12
#ifndef __HMESH_SMOOTH_H
12
#ifndef __HMESH_SMOOTH_H
13
#define __HMESH_SMOOTH_H
13
#define __HMESH_SMOOTH_H
14
 
14
 
-
 
15
#include <vector>
-
 
16
#include "Manifold.h"
-
 
17
 
15
namespace HMesh
18
namespace HMesh
16
{
19
{
17
    class Manifold;
20
   enum NormalSmoothMethod {FVM_NORMAL_SMOOTH, BILATERAL_NORMAL_SMOOTH};
18
    
21
    
19
    enum NormalSmoothMethod {FVM_NORMAL_SMOOTH, BILATERAL_NORMAL_SMOOTH};
-
 
20
 
-
 
21
    /// Simple laplacian smoothing with an optional weight.
22
    /// Simple laplacian smoothing with an optional weight.
22
    void laplacian_smooth(HMesh::Manifold& m, float t=1.0f, int iter=1);
23
    void laplacian_smooth(HMesh::Manifold& m, float t=1.0f, int iter=1);
23
 
24
 
24
    /// Taubin smoothing is similar to laplacian smoothing but reduces shrinkage
25
    /// Taubin smoothing is similar to laplacian smoothing but reduces shrinkage
25
    void taubin_smooth(HMesh::Manifold& m, int iter=1);
26
    void taubin_smooth(HMesh::Manifold& m, int iter=1);