[vtk-developers] vtkLoopSubdivisionFilter

Bill Lorensen bill.lorensen at gmail.com
Sun Oct 30 11:39:52 EDT 2011


LoopSubdivision will increase the size of a model by a factor of 4 for each
iteration. As David suggests later in this thread, run your data through
CleanPolydata before doing the subdivision.


On Fri, Oct 28, 2011 at 4:10 PM, Laurent Chauvin
<lchauvin at bwh.harvard.edu>wrote:

> Hello,
>
> I am using the vtkLoopSubdivisionFilter to reduce size of a model.
> However, I noticed when running my code from terminal, this filter was
> producing a lot of numCellsInLoop < 1:0 warnings.
> I have been in the souce code, and just commented the warning. And after
> reexecuting the code, I have noticed that the filter was applied 20 times
> faster.
>
> However, I don't really like to comment vtk source code, because I cannot
> really submit it. I would like to know if someone has idea to avoid this
> warning (which seems to really increase the execution time) ?
>
> Thank you very much.
> -Laurent
>
> --
> Laurent Chauvin, MS
> Surgical Planning Laboratory, Radiology
> Brigham And Women's Hospital, Harvard Medical School
> http://wiki.ncigt.org/index.php/User:Lchauvin
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20111030/79b5da88/attachment.html>


More information about the vtk-developers mailing list