diff --git a/vcg/complex/trimesh/closest.h b/vcg/complex/trimesh/closest.h index 2bde5080..e90a5a0f 100644 --- a/vcg/complex/trimesh/closest.h +++ b/vcg/complex/trimesh/closest.h @@ -247,7 +247,7 @@ namespace vcg { typedef VertTmark MarkerVert; MarkerVert mv; mv.SetMesh(&mesh); - typedef vcg::vert::PointDistanceFunctor VDistFunct; + typedef vcg::vertex::PointDistanceFunctor VDistFunct; VDistFunct fn; _minDist=_maxDist; Point3x _closestPt; @@ -263,7 +263,7 @@ namespace vcg { typedef VertTmark MarkerVert; MarkerVert mv; mv.SetMesh(&mesh); - typedef vcg::vert::PointNormalDistanceFunctor VDistFunct; + typedef vcg::vertex::PointNormalDistanceFunctor VDistFunct; VDistFunct fn; _minDist=_maxDist; Point3x _closestPt; @@ -291,7 +291,7 @@ namespace vcg { typedef VertTmark MarkerVert; MarkerVert mv; mv.SetMesh(&mesh); - typedef vcg::vert::PointDistanceFunctor VDistFunct; + typedef vcg::vertex::PointDistanceFunctor VDistFunct; VDistFunct distFunct; return (gr.GetKClosest/* */ (distFunct,mv,_k,_p,_maxDist,_objectPtrs,_distances,_points)); @@ -326,7 +326,7 @@ namespace vcg { typedef VertTmark MarkerVert; MarkerVert mv; mv.SetMesh(&mesh); - typedef vcg::vert::PointDistanceFunctor VDistFunct; + typedef vcg::vertex::PointDistanceFunctor VDistFunct; VDistFunct fn; return (gr.GetInSphere/**/ (fn, mv,_p,_r,_objectPtrs,_distances,_points)); @@ -424,13 +424,13 @@ namespace vcg { }; template - class ClosestVertexIterator:public vcg::ClosestIterator, VertTmark > + class ClosestVertexIterator:public vcg::ClosestIterator, VertTmark > { public: typedef GRID GridType; typedef MESH MeshType; typedef VertTmark MarkerVert; - typedef vcg::vert::PointDistanceFunctor VDistFunct; + typedef vcg::vertex::PointDistanceFunctor VDistFunct; typedef vcg::ClosestIterator > ClosestBaseType; VDistFunct fn; ClosestVertexIterator(GridType &_Si):ClosestBaseType(_Si,fn){} diff --git a/vcg/math/random_generator.h b/vcg/math/random_generator.h index 620f61e6..b45e4dcf 100644 --- a/vcg/math/random_generator.h +++ b/vcg/math/random_generator.h @@ -75,4 +75,4 @@ public: } // end namespace vcg -#endif \ No newline at end of file +#endif diff --git a/vcg/simplex/vertexplus/component_ocf.h b/vcg/simplex/vertexplus/component_ocf.h index 4ae8959d..211c79db 100644 --- a/vcg/simplex/vertexplus/component_ocf.h +++ b/vcg/simplex/vertexplus/component_ocf.h @@ -557,14 +557,14 @@ namespace tri template < class, class > class TriMesh; template < class VertexType, class FaceContainerType > - bool HasPerVertexQuality (const TriMesh < vert::vector_ocf< VertexType > , FaceContainerType > & m) + bool HasPerVertexQuality (const TriMesh < vertex::vector_ocf< VertexType > , FaceContainerType > & m) { if(VertexType::HasQualityOcf()) return m.vert.IsQualityEnabled(); else return VertexType::HasQuality(); } template < class VertexType > - void ReorderVert( std::vector &newVertIndex, vert::vector_ocf< VertexType > &vertVec) + void ReorderVert( std::vector &newVertIndex, vertex::vector_ocf< VertexType > &vertVec) { vertVec.ReorderVert(newVertIndex); }