Sketched the interface of the odd/even refine function

This commit is contained in:
Paolo Cignoni cignoni 2005-10-31 17:17:47 +00:00
parent b4b2114d9b
commit 322f06b2c0
2 changed files with 16 additions and 1 deletions

View File

@ -24,6 +24,9 @@
History
$Log$
Revision 1.3 2005/10/31 17:17:47 cignoni
Sketched the interface of the odd/even refine function
Revision 1.2 2005/10/22 10:23:28 mariolatronico
on meshlab.pro added a lib dependency , on other files modified #include directive to allow compilation on case sensitive o.s.
@ -40,7 +43,7 @@ First rough version. It simply load a mesh.
#include "interfaces.h"
#include "mainwindow.h"
#include "glarea.h"
//#include "plugindialog.h"
#include "plugindialog.h"
MainWindow::MainWindow()
{

View File

@ -24,6 +24,9 @@
History
$Log$
Revision 1.4 2005/10/31 17:17:47 cignoni
Sketched the interface of the odd/even refine function
Revision 1.3 2005/10/26 14:43:32 mariolatronico
on OddPointLoop added control on border case
@ -137,6 +140,15 @@ struct EvenPointLoop : public std::unary_function<face::Pos<typename MESH_TYPE::
};
template<class MESH_TYPE, class EVEN_VERT, class ODD_VERT, class EDGEPRED>
bool RefineOddEvenE(MESH_TYPE &m, EVEN_VERT even, ODD_VERT odd, EDGEPRED ep,bool RefineSelected=false)
{
1) calcola nuova pos vertici old e memorizza in un vett ausiliairio
2) invoca RefineE e crea i nuovi vertici nella giusta posizione
3) assegna ai vecchi vertici (i primi n) le posizioni calcolate al punto 1
}
} // namespace vcg