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.<br><br><br><div class="gmail_quote">
On Fri, Oct 28, 2011 at 4:10 PM, Laurent Chauvin <span dir="ltr"><<a href="mailto:lchauvin@bwh.harvard.edu">lchauvin@bwh.harvard.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br><br>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.<br>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. <br>
<br>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) ?<br>
<br>
Thank you very much.<br>-Laurent<br clear="all"><font color="#888888"><br>-- <br><div>Laurent Chauvin, MS</div><div>Surgical Planning Laboratory, Radiology</div><div>Brigham And Women's Hospital, Harvard Medical School<br>
</div><div><a href="http://wiki.ncigt.org/index.php/User:Lchauvin" target="_blank">http://wiki.ncigt.org/index.php/User:Lchauvin</a></div>
<br>
</font><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br>