Thank you very much.<br><br>Is it possible to avoid this warning without turning it off ? Like in applying another filter before to avoid having numCellsInLoop < 1 ?<br><br>Thank you.<br>-Laurent<br><br><div class="gmail_quote">
On Fri, Oct 28, 2011 at 4:47 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
A brute-force method is to call vtkObject::GlobalWarningDisplayOff().<br>
There is no way to turn off warnings per-object (or to turn off just the<br>
warnings and not the errors... both are turned off at the same time).<br>
<font color="#888888"><br>
- David<br>
</font><div><div></div><div class="h5"><br>
<br>
On Fri, Oct 28, 2011 at 2:10 PM, Laurent Chauvin<br>
<<a href="mailto:lchauvin@bwh.harvard.edu">lchauvin@bwh.harvard.edu</a>> wrote:<br>
> Hello,<br>
><br>
> I am using the vtkLoopSubdivisionFilter to reduce size of a model. However,<br>
> I noticed when running my code from terminal, this filter was producing a<br>
> lot of numCellsInLoop < 1:0 warnings.<br>
> I have been in the souce code, and just commented the warning. And after<br>
> reexecuting the code, I have noticed that the filter was applied 20 times<br>
> faster.<br>
><br>
> However, I don't really like to comment vtk source code, because I cannot<br>
> really submit it. I would like to know if someone has idea to avoid this<br>
> warning (which seems to really increase the execution time) ?<br>
><br>
> Thank you very much.<br>
> -Laurent<br>
><br>
> --<br>
> Laurent Chauvin, MS<br>
> Surgical Planning Laboratory, Radiology<br>
> Brigham And Women's Hospital, Harvard Medical School<br>
> <a href="http://wiki.ncigt.org/index.php/User:Lchauvin" target="_blank">http://wiki.ncigt.org/index.php/User:Lchauvin</a><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>