Laurent,<br><br>A reminder that the Loop Subdivision is approximating, not interpolating. For an interpolating subdivision you should use Butterfly Subdivision.<br><br>It's good to see that someone at the Brigham is using this, since it was developed under Ron's NAC P41 grant:  P41 RR13218-01 (albeit over 10 years ago).<br>
<br>Bill<br><br><div class="gmail_quote">On Mon, Oct 31, 2011 at 9:43 AM, 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;">
Thank you very much, it works really well.<br><br>Thank you.<br><font color="#888888">-Laurent</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Sun, Oct 30, 2011 at 1:48 PM, Laurent Chauvin <span dir="ltr"><<a href="mailto:lchauvin@bwh.harvard.edu" target="_blank">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;">Ok, I will try this.<br><br>Than you very much.<br><font color="#888888">-Laurent</font><div>

<div></div><div><br><br><div class="gmail_quote">On Sun, Oct 30, 2011 at 11:39 AM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</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;">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"><div>
On Fri, Oct 28, 2011 at 4:10 PM, Laurent Chauvin <span dir="ltr"><<a href="mailto:lchauvin@bwh.harvard.edu" target="_blank">lchauvin@bwh.harvard.edu</a>></span> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<div><div></div><div>
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></div></div>_______________________________________________<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>
</blockquote></div><br><br clear="all"><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>
</div></div></blockquote></div><br><br clear="all"><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>
</div></div></blockquote></div><br>