Changed include order

removed clean::initialize
This commit is contained in:
Paolo Cignoni 2005-11-17 00:42:03 +00:00
parent c86e0478f1
commit 8b4ceb6dc4
1 changed files with 9 additions and 7 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.12 2005/11/16 16:45:51 rita_borgo
Minor changes
Revision 1.11 2005/11/16 15:59:46 cignoni Revision 1.11 2005/11/16 15:59:46 cignoni
Changed name of the component from <Flag> to <BitFlags> Changed name of the component from <Flag> to <BitFlags>
@ -85,12 +88,11 @@ Added Standard comments
using namespace std; using namespace std;
#include<vcg/simplex/face/pos.h>
#include<vcg/complex/trimesh/base.h> #include<vcg/complex/trimesh/base.h>
#include<vcg/complex/trimesh/update/topology.h> #include<vcg/complex/trimesh/update/topology.h>
#include <vcg/complex/trimesh/update/edges.h> #include <vcg/complex/trimesh/update/edges.h>
#include <vcg/complex/trimesh/update/bounding.h> #include <vcg/complex/trimesh/update/bounding.h>
#include <vcg/complex/trimesh/update/flag.h>
#include <vcg/complex/trimesh/clean.h> #include <vcg/complex/trimesh/clean.h>
#include <vcg/space/intersection/triangle_triangle3.h> #include <vcg/space/intersection/triangle_triangle3.h>
@ -99,20 +101,19 @@ using namespace std;
#include <wrap/io_trimesh/export.h> #include <wrap/io_trimesh/export.h>
#include<vcg/simplex/vertexplus/base.h> #include<vcg/simplex/vertexplus/base.h>
#include<vcg/simplex/faceplus/base.h>
#include<vcg/simplex/vertexplus/component.h> #include<vcg/simplex/vertexplus/component.h>
#include<vcg/simplex/faceplus/base.h>
#include<vcg/simplex/faceplus/component.h> #include<vcg/simplex/faceplus/component.h>
#include<vcg/simplex/face/pos.h>
#include "XMLTree.h" #include "XMLTree.h"
#include <vcg/space/index/grid_static_ptr.h> #include <vcg/space/index/grid_static_ptr.h>
#include "defs.h" #include "defs.h"
//#include "trimeshtype.h"
using namespace std; using namespace std;
using namespace vcg; using namespace vcg;
//using namespace tri;
//using namespace face;
class CFace; class CFace;
@ -295,8 +296,9 @@ int main(int argc,char ** argv)
// UNREFERENCED VERTEX // UNREFERENCED VERTEX
mi.count_uv = tri::Clean<CMesh>::DetectUnreferencedVertex(m); mi.count_uv = tri::Clean<CMesh>::DetectUnreferencedVertex(m);
tri::UpdateFlags<CMesh>::Clear(m);
// IS MANIFOLD // IS MANIFOLD
tri::Clean<CMesh>::Initialize(m);
mi.Manifold = tri::Clean<CMesh>::IsComplexManifold(m); mi.Manifold = tri::Clean<CMesh>::IsComplexManifold(m);
// COUNT EDGES // COUNT EDGES