Subversion Repositories gelsvn

Rev

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

Rev Author Line No. Line
448 jab 1
#ifndef __HMESH_QUADRIC_SIMPLIFY__H
2
#define __HMESH_QUADRIC_SIMPLIFY__H
149 jab 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. 
367 jab 9
		keep_fraction is the fraction of vertices to retain. The singular_thresh defines how
10
		small singular values from the SVD we accept. It is relative to the greatest singular value. 
11
		If choose_optimal_positions is true, we reposition vertices. Otherwise the vertices are a subset
12
		of the old vertices. */
13
	void quadric_simplify(HMesh::Manifold& m, double keep_fraction, double singular_thresh=0.0001, 
14
							bool choose_optimal_positions=true);
149 jab 15
}
16
#endif