Added log info to Basic Parametrization filter (triangles catheti px size)

This commit is contained in:
Luigi Malomo malomo 2009-11-08 01:55:47 +00:00
parent 430a6275f2
commit 2a47647ad1

View File

@ -406,6 +406,8 @@ bool FilterTexturePlugin::applyFilter(QAction *filter, MeshModel &m, RichParamet
}
}
assert(idx == faceNo);
Log(GLLogStream::FILTER, "Biggest triangle's catheti are %.2f px long", (cache[0].P(0)-cache[0].P(2)).Norm() * textDim);
Log(GLLogStream::FILTER, "Smallest triangle's catheti are %.2f px long", (cache[cache.size()-1].P(0)-cache[cache.size()-1].P(2)).Norm() * textDim);
}
else
@ -473,6 +475,7 @@ bool FilterTexturePlugin::applyFilter(QAction *filter, MeshModel &m, RichParamet
}
}
}
Log(GLLogStream::FILTER, "Triangles catheti are %.2f px long", (1.0/sideDim-border-bordersq2)*textDim);
}
}
break;