Rev 468 | Rev 512 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*
* Written by Christian Thode Larsen 2009-2010
* Contact: thode2d@gmail.com
* Based on original work by J. Andreas Baerentzen
* Inspired by OpenMesh (www.openmesh.org)
*/
#ifndef __HMESH_QUADRIC_SIMPLIFY__H
#define __HMESH_QUADRIC_SIMPLIFY__H
namespace HMesh
{
class Manifold;
/** \brief Garland Heckbert simplification in our own implementation.
keep_fraction is the fraction of vertices to retain. The singular_thresh defines how
small singular values from the SVD we accept. It is relative to the greatest singular value.
If choose_optimal_positions is true, we reposition vertices. Otherwise the vertices are a subset
of the old vertices. */
void quadric_simplify(Manifold& m, double keep_fraction, double singular_thresh = 0.0001, bool choose_optimal_positions = true);
}
#endif __HMESH_QUADRIC_SIMPLIFY__H
Generated by GNU Enscript 1.6.6.