Changes to Decimater Base for new mods

Decimate to faces function in DecimaterT
ModBase with preprocess_collapse



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@448 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2011-11-04 12:59:37 +00:00
parent 6ad0e545f4
commit ce1d3c7b89
3 changed files with 146 additions and 0 deletions

View File

@@ -242,6 +242,12 @@ public: // common interface
virtual float collapse_priority(const CollapseInfoT<Mesh>& /* _ci */)
{ return LEGAL_COLLAPSE; }
/** Before _from_vh has been collapsed into _to_vh, this method
will be called.
*/
virtual void preprocess_collapse(const CollapseInfoT<Mesh>& /* _ci */)
{}
/** After _from_vh has been collapsed into _to_vh, this method
will be called.
*/