Subversion Repositories gelsvn

Rev

Rev 357 | Rev 363 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
149 jab 1
#ifndef __HMESHUTIL_QUADRIC_SIMPLIFY__H
2
#define __HMESHUTIL_QUADRIC_SIMPLIFY__H
3
 
4
#include "HMesh/Manifold.h"
5
 
150 jab 6
namespace HMesh
149 jab 7
{
362 jab 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). */
357 jab 12
	void quadric_simplify(HMesh::Manifold& m, int max_work, double singular_thresh=0.0001, bool relocate_origin=true);
149 jab 13
}
14
#endif