[vtk-developers] question about vtkDecimatePolylineFilter and potential bug

Arnaud GELAS arnaud_gelas at hms.harvard.edu
Thu May 6 16:32:47 EDT 2010


Will,

I have implemented a quick solution for closed contours, and added one test.

Please see 
http://github.com/arnaudgelas/VTK/commit/d96522d92b84cca28aa8bef0c1ac3fde7e61a657

Arnaud

On 05/06/2010 12:10 PM, Will Schroeder wrote:
> Arnaud-
>
> This filter was written in a few hours to meet a pressing deadline. It 
> can stand improvement including updating the local neighborhood. Are 
> you volunteering ;-) ?
>
> Will
>
> On Thu, May 6, 2010 at 11:59 AM, Arnaud Gelas 
> <arnaud_gelas at hms.harvard.edu <mailto:arnaud_gelas at hms.harvard.edu>> 
> wrote:
>
>     Hi guys,
>
>     I was reading the code of vtkDecimatePolylineFilter, and I have
>     few questions:
>
>      * why one vtkstd::priority_queue is being used? and not one
>     vtkPriorityQueue?
>
>      * after removing one point / vertex from the polyline the error
>     of its neighbor is never updated... Is it normal?
>
>     Best,
>     Arnaud
>
>
>
>
>     _______________________________________________
>     Powered by www.kitware.com <http://www.kitware.com>
>
>     Visit other Kitware open-source projects at
>     http://www.kitware.com/opensource/opensource.html
>
>     Follow this link to subscribe/unsubscribe:
>     http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
>
> -- 
> William J. Schroeder, PhD
> Kitware, Inc.
> 28 Corporate Drive
> Clifton Park, NY 12065
> will.schroeder at kitware.com <mailto:will.schroeder at kitware.com>
> http://www.kitware.com
> (518) 881-4902

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100506/feedc1c5/attachment.html>


More information about the vtk-developers mailing list