[vtk-developers] vtkLoopSubdivisionFilter

Laurent Chauvin lchauvin at bwh.harvard.edu
Sat Oct 29 09:07:39 EDT 2011


Thank you very much.

Is it possible to avoid this warning without turning it off ? Like in
applying another filter before to avoid having numCellsInLoop < 1 ?

Thank you.
-Laurent

On Fri, Oct 28, 2011 at 4:47 PM, David Gobbi <david.gobbi at gmail.com> wrote:

> 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
>



-- 
Laurent Chauvin, MS
Surgical Planning Laboratory, Radiology
Brigham And Women's Hospital, Harvard Medical School
http://wiki.ncigt.org/index.php/User:Lchauvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20111029/39598c35/attachment.html>


More information about the vtk-developers mailing list