From a00da7b3f3986c5d6b24a4ac7edf615a8c957ceb Mon Sep 17 00:00:00 2001 From: ganovelli Date: Tue, 19 Aug 2008 11:09:52 +0000 Subject: [PATCH] minor type changes to compile with gcc removed debug include to export_ply.h --- vcg/complex/trimesh/update/curvature.h | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/vcg/complex/trimesh/update/curvature.h b/vcg/complex/trimesh/update/curvature.h index 27c72892..0aca633a 100644 --- a/vcg/complex/trimesh/update/curvature.h +++ b/vcg/complex/trimesh/update/curvature.h @@ -68,8 +68,6 @@ the vertex #include #include -#include - namespace vcg { namespace tri { @@ -87,7 +85,6 @@ class UpdateCurvature { public: - typedef typename MeshType MeshType; typedef typename MeshType::FaceType FaceType; typedef typename MeshType::FacePointer FacePointer; typedef typename MeshType::FaceIterator FaceIterator; @@ -301,17 +298,17 @@ public: If pointVSfaceInt==false the covariance is computed by (analytic)integration over the surface (slower) */ - typedef vcg::GridStaticPtr MeshGridType; - typedef vcg::GridStaticPtr PointsGridType; + typedef vcg::GridStaticPtr MeshGridType; + typedef vcg::GridStaticPtr PointsGridType; static void PrincipalDirectionsPCA(MeshType &m, ScalarType r, bool pointVSfaceInt = true) { - std::vector closests; - std::vector distances; - std::vector points; + std::vector closests; + std::vector distances; + std::vector points; VertexIterator vi; ScalarType area; MeshType tmpM; - std::vector::iterator ii; + typename std::vector::iterator ii; vcg::tri::TrivialSampler vs; MeshGridType mGrid; @@ -336,9 +333,9 @@ public: { vcg::trimesh::GetInSphereVertex< MeshType, - PointsGridType,std::vector, - std::vector, - std::vector >(tmpM,pGrid, (*vi).cP(),r ,closests,distances,points); + PointsGridType,std::vector, + std::vector, + std::vector >(tmpM,pGrid, (*vi).cP(),r ,closests,distances,points); A.Covariance(points,bp); A*=area*area/1000;