Subversion Repositories gelsvn

Rev

Rev 357 | Rev 363 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 357 Rev 362
1
#ifndef __HMESHUTIL_QUADRIC_SIMPLIFY__H
1
#ifndef __HMESHUTIL_QUADRIC_SIMPLIFY__H
2
#define __HMESHUTIL_QUADRIC_SIMPLIFY__H
2
#define __HMESHUTIL_QUADRIC_SIMPLIFY__H
3
 
3
 
4
#include "HMesh/Manifold.h"
4
#include "HMesh/Manifold.h"
5
 
5
 
6
namespace HMesh
6
namespace HMesh
7
{
7
{
-
 
8
	/** Garland Heckbert simplification in our own implementation. 
-
 
9
		max_work indicates the number of collapses that we wish to perform. The singular_thresh defines how
-
 
10
		small singular values from the SVD we accept. Relocate origin decides whether the new points should be
-
 
11
		a subset of the old (false) or in optimal positions (true). */
8
	void quadric_simplify(HMesh::Manifold& m, int max_work, double singular_thresh=0.0001, bool relocate_origin=true);
12
	void quadric_simplify(HMesh::Manifold& m, int max_work, double singular_thresh=0.0001, bool relocate_origin=true);
9
}
13
}
10
#endif
14
#endif
11
 
15