mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
corrected the VoronoiColoring filter after the changes to the voronoi processing stuff
This commit is contained in:
parent
a9dbe7337c
commit
26fc34d22b
@ -1067,6 +1067,8 @@ case FP_CLUSTERED_SAMPLING :
|
||||
vector<CMeshO::VertexPointer> vecV; // points to vertexes of ColoredMesh;
|
||||
tri::VoronoiProcessing<CMeshO>::SeedToVertexConversion (mmM->cm, vecP, vecV);
|
||||
Log("Converted %ui points into %ui vertex ",vecP.size(),vecV.size());
|
||||
tri::VoronoiProcessing<CMeshO>::ComputePerVertexSources(mmM->cm,vecV);
|
||||
|
||||
for(uint i=0;i<vecV.size();++i) vecV[i]->C()=Color4b::Red;
|
||||
tri::VoronoiProcessing<CMeshO>::VoronoiColoring(mmM->cm, vecV,backwardFlag);
|
||||
} break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user