Subversion Repositories gelsvn

Rev

Rev 511 | Rev 578 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

/* ----------------------------------------------------------------------- *
 * This file is part of GEL, www.imm.dtu.dk/GEL
 * Copyright (C) the authors (see AUTHORS.txt) and DTU Informatics
 *
 * Principal authors:
 *  Christian Thode Larsen (thode2d@gmail.com)
 *  J. Andreas Baerentzen (jab@imm.dtu.dk)
 *
 * See LICENSE.txt for licensing information
 * ----------------------------------------------------------------------- */

#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.