[vtk-developers] vtkLoopSubdivisionFilter

David Gobbi david.gobbi at gmail.com
Sat Oct 29 11:24:18 EDT 2011


Have you tried vtkCleanPolyData? I'm not familiar with the
vtkLoopSubdivisionFilter, so I don't have anything else to suggest.

 - David


On Sat, Oct 29, 2011 at 7:07 AM, Laurent Chauvin
<lchauvin at bwh.harvard.edu> wrote:
> 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
>



More information about the vtk-developers mailing list