From 55d278cdff740062c7904bc04b0731027f3fa9c5 Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 20 Feb 2013 21:21:49 +0000 Subject: [PATCH] updated to the last changes of the library (standardization of naming Vertex->PerVertex) --- apps/metro/metro.cpp | 4 ++-- apps/metro/sampling.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/metro/metro.cpp b/apps/metro/metro.cpp index 91cc95ba..f498afb2 100644 --- a/apps/metro/metro.cpp +++ b/apps/metro/metro.cpp @@ -377,8 +377,8 @@ int main(int argc, char**argv) p.mask|=vcg::tri::io::Mask::IOM_VERTCOLOR | vcg::tri::io::Mask::IOM_VERTQUALITY /* | vcg::ply::PLYMask::PM_VERTQUALITY*/ ; //p.mask|=vcg::ply::PLYMask::PM_VERTCOLOR|vcg::ply::PLYMask::PM_VERTQUALITY; if(ColorMax!=0 || ColorMin != 0){ - vcg::tri::UpdateColor::VertexQualityRamp(S1,ColorMin,ColorMax); - vcg::tri::UpdateColor::VertexQualityRamp(S2,ColorMin,ColorMax); + vcg::tri::UpdateColor::PerVertexQualityRamp(S1,ColorMin,ColorMax); + vcg::tri::UpdateColor::PerVertexQualityRamp(S2,ColorMin,ColorMax); } tri::io::ExporterPLY::Save( S1,S1NewName.c_str(),true,p); tri::io::ExporterPLY::Save( S2,S2NewName.c_str(),true,p); diff --git a/apps/metro/sampling.h b/apps/metro/sampling.h index 97dacf6d..8d8b1ae7 100644 --- a/apps/metro/sampling.h +++ b/apps/metro/sampling.h @@ -592,7 +592,7 @@ void Sampling::Hausdorff() // compute vertex colour if(Flags & SamplingFlags::SAVE_ERROR) - vcg::tri::UpdateColor::VertexQualityRamp(S1); + vcg::tri::UpdateColor::PerVertexQualityRamp(S1); // compute statistics n_samples_per_area_unit = (double) n_total_samples / area_S1;