[vtkusers] vtkCleanPolyData hanging on Update call
sebastien MARAUX
maraux at ondim.fr
Mon Jan 6 11:55:23 EST 2003
Hello
I got a loop with 10 differents polygons,
that I want to process and then clean.
I make a loop, and at the end of the process
call vtkCleanPolyData this way :
/*--------------------------------------------------------------------------
----*/
vtkCleanPolyData *cleaner=vtkCleanPolyData::New();
cleaner->SetInput(mp_PolyData);
cleaner->SetTolerance(0.0);
cleaner->Update();
mp_PolyData->SetPoints(cleaner->GetOutput()->GetPoints());
mp_PolyData->DeepCopy(cleaner->GetOutput());
/*--------------------------------------------------------------------------
----*/
The result is OK at first pass (15000 polys, 64000 pts cleaned to around
18000 points)
, OK at second (8000 polys, 50000 points cleaned to 10000 points),
but third polygon make vtkCleanPolyData hang at third pass when calling
Update()
with 15000 points and 4000 polys.
I tried with other smaller (end loop) polygons, and it runned OK.
It exactly hangs on the Update call, with only polys and points.
(access violation in vtkCommon says MS VC++ 6.0)
What can make vtkCleanPolyData hang ?
Thanks
Seb
More information about the vtkusers
mailing list