[vtk-developers] Fwd: vtkSlicer patch (9372) correction

David E DeMarle dave.demarle at kitware.com
Tue Mar 18 09:47:24 EDT 2014


Thank you Simon,

Please submit that patch via gerrit to facilitate automated code review and
eventual integration into the master branch.

For instructions see: http://www.vtk.org/Wiki/VTK/Git/Develop and contact
me if you need assistance.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Tue, Mar 18, 2014 at 9:21 AM, Simon Kolotov <simonkolotov at gmail.com>wrote:

> Hi.
>
> When using the vtk-stripper I came across a problem already encountered by
> many, namely that the stripper can't connect polylines.
>
> *Carl Hetherington *proposed a patch for this problem in 2002
> .  (I'm curious as to why Carl Hetherington's patch from 2002 was not
> included into the release version of vtk. Is there a hidden problem with
> it?)
>
> However, even with his patch there were some problems, and the stripper
> did not manage to correctly connect all the polylines.
>
> Having invested considerable time to find and correct this issue I'd be
> happy to share it with others.
>
> Attached is the corrected vtkSlicer.cxx file, with both Carl's and my
> corrections
> , as well as my diff relative to Carl's patch.
>
>
> My correction to Carl's patch is relatively minor, namely doing
> InitTraversal to the newLines structure at every inner loop so as not to
> miss previously discarded lines (All my additions are around line 557)
>
>
> Respectfully,
> Simon Kolotov
>
>
>
> _______________________________________________
> Powered by 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20140318/eeb04e20/attachment-0002.html>


More information about the vtk-developers mailing list