From 1c29faf57535559e300922486b9966459546de58 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 2 Jan 2006 09:49:36 +0000 Subject: [PATCH] Added some missing std:: --- vcg/complex/trimesh/clean.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/vcg/complex/trimesh/clean.h b/vcg/complex/trimesh/clean.h index 150c1d87..30b2acdf 100644 --- a/vcg/complex/trimesh/clean.h +++ b/vcg/complex/trimesh/clean.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.27 2005/12/29 12:27:37 cignoni +Splitted IsComplexManifold in IsTwoManifoldFace and IsTwoManifoldVertex + Revision 1.26 2005/12/21 14:15:03 corsini Remove printf @@ -404,7 +407,7 @@ namespace vcg { vcg::face::Pos he; vcg::face::Pos hei; - vector > holes; //indices of vertices + std::vector< std::vector > holes; //indices of vertices for(fi=m.face.begin();fi!=m.face.end();++fi) (*fi).ClearS(); @@ -419,7 +422,7 @@ namespace vcg { if(face::IsBorder(*fi,j))//found an unvisited border edge { he.Set(&(*fi),j,fi->V(j)); //set the face-face iterator to the current face, edge and vertex - vector hole; //start of a new hole + std::vector hole; //start of a new hole hole.push_back(fi->P(j)); // including the first vertex numholev++; he.v->SetS(); //set the current vertex as selected @@ -432,7 +435,7 @@ namespace vcg { if(he.v->IsS())//check if this vertex was selected already, because then we have an additional hole. { //cut and paste the additional hole. - vector hole2; + std::vector hole2; int index = find(hole.begin(),hole.end(),newpoint) - hole.begin(); for(unsigned int i=index; i he; vcg::face::Pos hei; - vector nrfaces; + std::vector nrfaces; nrfaces.reserve(1); for(fi=m.face.begin();fi!=m.face.end();++fi) @@ -633,7 +636,7 @@ namespace vcg { fi->ClearS(); // initialize stack - stack faces; + std::stack faces; // for each face of the mesh FacePointer fp,fpaux;