<br><br><blockquote>Hi.<br><br>I guess vtkStripper produces vtkPolydata as its output.. so How can be the polyline extracted from vtkstripper?<br>As u said, i'm using the points from stripper and producing polyline of my own..<br><br>Thanks<br><br>---------- Original message ----------<br>From:Bill Lorensen< bill.lorensen@gmail.com ><br>Date: 01 Feb 10 19:19:48<br>Subject: Re: [vtkusers] connecting points in from vtkPoints<br>To: Rakesh Patil <rakeshthp@in.com><br><br>Are you using the polyline generated by the stripper or creating your<br>own? You must use the one produced by the stripper.<br><br><br>On Mon, Feb 1, 2010 at 4:14 AM, Rakesh Patil <rakeshthp@in.com> wrote:<br>><br>> Yes it does changes ... I get the points.. But when i connect these points<br>> using polyline, again i get a zigzag lines...<br>><br>> ---------- Original message ----------<br>> From:David Doria< daviddoria+vtk@gmail.com ><br>> Date: 31 Jan 10 01:22:41<br>> Su
bject: Re: [vtkusers] connecting points in from vtkPoints<br>> To: rakeshthp@in.com<br>><br>> Thanks,<br>><br>> David<br>><br>><br>><br>> On Sat, Jan 30, 2010 at 12:25 PM, Rakesh Patil wrote:<br>>> I need to store the points in an array.. but vtkStripper is not returning<br>>> the points.. i tried implementing it as follows<br>>><br>>> vtkStripper *sp = vtkStripper::New();<br>>><br>>> sp->SetInputConnection( contFilter->GetOutputPort());<br>>><br>>> vtkPoints *pt = sp->GetPoints();<br>>><br>>> Here pt is not showing any values.. It is all empty..<br>>><br>>> ---------- Original message ----------<br>>> From:Bill Lorensen< bill.lorensen@gmail.com ><br>>> Date: 3 0 Jan 10 18:44:20<br>>> Subject: Re: [vtkusers] connecting points in from vtkPoints<br>>> To: Rakesh Patil<br>>><br>>> Use vtkStripper to order the line segments output
from vtkContourFilter.<br>>><br>>> On Fri, Jan 29, 2010 at 5:30 AM, Rakesh Patil wrote:<br>>>> Hello,<br>>>><br>>>> I have a scatter data, (xyz file), where x and y are long, and lat resp<br>>>> and<br>>>> z is depth. I need to extract a zero contour from this xyz data. I use<br>>>> vtkContourFilter to extract the points for zero contour.<br>>>><br>>>> I get the points what i require correctly.. But if i connect them<br>>>> serially,<br>>>> it shows that points are connected in a zig-zag form. I get points<br>>>> directly<br>>>> from contuorfilter. i.e.<br>>>><br>>>> vtkPoints *pts = contFilter->GetOutput()->GetPoints();<br>>>><br>>>> What and how do i do, so that when i connect the points, i get a decent<br>>> > connected line, instead of zig zag ..?<br>>>><br>>>> Thanks<br>>>><b
r>>>> Regards<br>>>><br>>>><br>>>> Dear vtkusers ! Get Yourself a cool, short @in.com Email ID now!<br>>>> _______________________________________________<br>>>> Powered by <a target=\"_blank\" href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>>>><br>>>> Visit other Kitware open-source projects at<br>>>> <a target=\"_blank\" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>>>><br>>>> Please keep messages on-topic and check the VTK FAQ at:<br>>>> <a target=\"_blank\" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>>>><br>>>> Follow this link to subscribe/unsubscribe:<br>>>> <a target=\"_blank\" href="http://www." target="_blank">http://www.</a> vtk.org/mailman/listinfo/vtkusers<br>>>><br>>
;>><br>>><br>>> _______________________________________________<br>>> Powered by <a target=\"_blank\" href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>>><br>>> Visit other Kitware open-source projects at<br>>> <a target=\"_blank\" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>>><br>>> Please keep messages on-topic and check the VTK FAQ at:<br>>> <a target=\"_blank\" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>>><br>>> Follow this link to subscribe/unsubscribe:<br>>> <a target=\"_blank\" href="http://www." target="_blank">http://www.</a>vtk.org/mailman/listinfo/vtkusers<br>>><br>>><br>><br>> Try updating the stripper:<br>><br>> vtkSmartPointer stripper =<br>> vtkSmartPointer::New();<br>> st ripper->SetInputConnectio
n( contFilter->GetOutputPort());<br>> stripper->Update();<br>> vtkPoints *pt = stripper->GetPoints();<br>><br>> Does that change anything?<br>><br>> Dave<br>> _______________________________________________<br>> Powered by <a target=\"_blank\" href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>><br>> Visit other Kitware open-source projects at<br>> <a target=\"_blank\" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>><br>> Please keep messages on-topic and check the VTK FAQ at:<br>> <a target=\"_blank\" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>><br>> Follow this link to subscribe/unsubscribe:<br>> <a target=\"_blank\" href="http://www." target="_blank">http://www.</a>vtk.org/mailman/listinfo/vtkusers<br>><br>><br>> Get Yourself a cool, short @in.com Email I
D now!<br>> _______________________________________________<br>> Powered by <a target=\"_blank\" href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>><br>> Visit other Kitware open-source projects at<br>> <a target=\"_blank\" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>><br>> Please keep messages on-topic and check the VTK FAQ at:<br>> <a target=\"_blank\" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>><br>> Follow this link to subscribe/unsubscribe:<br>> <a target=\"_blank\" href="http://www." target="_blank">http://www.</a>vtk.org/mailman/listinfo/vtkusers<br>><br>><br></rakeshthp@in.com></rakeshthp@in.com></blockquote>