[vtk-developers] vtkLoopSubdivisionFilter

David Gobbi david.gobbi at gmail.com
Fri Oct 28 16:47:44 EDT 2011


A brute-force method is to call vtkObject::GlobalWarningDisplayOff().
There is no way to turn off warnings per-object (or to turn off just the
warnings and not the errors... both are turned off at the same time).

 - David


On Fri, Oct 28, 2011 at 2: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



More information about the vtk-developers mailing list