diff --git a/src/meshlabplugins/filter_isoparametrization/iso_parametrization.h b/src/meshlabplugins/filter_isoparametrization/iso_parametrization.h index 33c72af17..2fbc7a4ba 100644 --- a/src/meshlabplugins/filter_isoparametrization/iso_parametrization.h +++ b/src/meshlabplugins/filter_isoparametrization/iso_parametrization.h @@ -1835,8 +1835,8 @@ public: MeshType *_input_mesh, ParamMesh * _param_mesh, AbstractMesh *_absMesh, - bool test=true, - bool use_quality=true) + bool test=true) +// bool use_quality=true) { param_mesh=_param_mesh; param_mesh->Clear(); diff --git a/src/meshlabplugins/filter_isoparametrization/iso_transfer.h b/src/meshlabplugins/filter_isoparametrization/iso_transfer.h index 29e0aa4f1..3a0ccab86 100644 --- a/src/meshlabplugins/filter_isoparametrization/iso_transfer.h +++ b/src/meshlabplugins/filter_isoparametrization/iso_transfer.h @@ -98,7 +98,7 @@ class IsoTransfer TRGrid.Set(IsoParam.ParaMesh()->face.begin(),IsoParam.ParaMesh()->face.end()); ScalarType maxDist=IsoParam.ParaMesh()->bbox.Diag(); ///then for each vertex find the closest - for (int i=0;iIsD()) @@ -114,7 +114,7 @@ class IsoTransfer (bary.Y()>=0)&&(bary.Y()<=1)&& (bary.Z()>=0)&&(bary.Z()<=1))) { - printf("%d,%3.3f,%3.3f,%3.3f",i,bary.X(),bary.Y(),bary.Z()); + printf("%i,%3.3f,%3.3f,%3.3f",int(i),bary.X(),bary.Y(),bary.Z()); system("pause"); } Clamp(bary); diff --git a/src/meshlabplugins/filter_isoparametrization/local_parametrization.h b/src/meshlabplugins/filter_isoparametrization/local_parametrization.h index 5ae24d889..250c9a75a 100644 --- a/src/meshlabplugins/filter_isoparametrization/local_parametrization.h +++ b/src/meshlabplugins/filter_isoparametrization/local_parametrization.h @@ -743,7 +743,7 @@ template void AssingFather(typename MeshType::VertexType &v, typename MeshType::FaceType *father, typename MeshType::CoordType &bary, - MeshType &domain) + MeshType &/*domain*/) { #ifdef _DEBUG const typename MeshType::ScalarType eps=(typename MeshType::ScalarType)0.00001; diff --git a/src/meshlabplugins/filter_isoparametrization/parametrizator.h b/src/meshlabplugins/filter_isoparametrization/parametrizator.h index 963dc3e39..f1d4bedef 100644 --- a/src/meshlabplugins/filter_isoparametrization/parametrizator.h +++ b/src/meshlabplugins/filter_isoparametrization/parametrizator.h @@ -314,7 +314,7 @@ private: ///take the face that has lower number of vertices BaseFace *fmin=vfi2.F(); int index=vfi2.I(); - int sizeMin=fmin->vertices_bary.size(); + size_t sizeMin=fmin->vertices_bary.size(); while (!vfi2.End()) { BaseFace *f=vfi2.F(); @@ -759,7 +759,7 @@ public: void ScaleMesh(MeshType &m, const ScalarType &factor) { - for (int i=0;i void TranslateMesh(MeshType &m,const typename MeshType::CoordType &vect) { - for (int i=0;i