[vtkusers] vtkAppendPolyData()..

David Gobbi david.gobbi at gmail.com
Mon Mar 1 08:07:28 EST 2010


The filter you are looking for is vtkStripper, it will join the line
segments together.

    David


On Mon, Mar 1, 2010 at 12:03 AM, Rakesh Patil <rakeshthp at in.com> wrote:
> Hi VTK Users..
>
> I want to extract a single contour line from a set of xy points. So to begin
> with i used vtkContourFilter class to extract a single contour line of a
> particular value. But the output contained n number of lines not a single
> line. So I thought of merging them.. So i used,
>
> vtkAppendPolyData
>
> class to make it a single line. I get it as a single line but there is a
> smal confusion here.. Suppose there are 6 lines. when displaying, the first
> point of the 2nd line is connected to the first point of 1st line. similarly
> first point of the third line is connected to the first point of the second
> line. Thus creating unwanted lines in between..
>
> Any solution to get rid of this..???
>
> Thanks
>
> Regards
> Rakesh Patil
>
>
>
> Dear vtkusers ! Get Yourself a cool, short @in.com Email ID now!
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list