<br>Yes it does changes ... I get the points.. But when i connect these points using polyline, again i get a zigzag lines...<br><blockquote><br>---------- Original message ----------<br>From:David Doria< daviddoria+vtk@gmail.com ><br>Date: 31 Jan 10 01:22:41<br>Subject: 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 <rakeshthp@in.com> 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>>><br>>> 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.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.
vtk.org/mailman/listinfo/vtkusers</a><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.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>><br>><br><br>Try updating the stripper:<br><br>vtkSmartPointer<vtkstripper> stripper =<br> vtkSmartPointer<vtkstripper>::New();<br>st
ripper->SetInputConnection( 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 <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: <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>http://www.vtk.org/mailman/listinfo/vtkusers<br></vtkstripper></vtkstripper></rakeshthp@in.com></blockquote> <br><br><div style="border-top:1px dashed #ccc; border-bottom:1px dashed #ccc; padding:5px;"><a href="http://mail.in.com
/mails/new_reg.php?utm_source=invite&utm_medium=outgoing" style="font:13px arial; color:#1E56A1; text-decoration:none;">Get Yourself a cool, short <b>@in.com</b> Email ID now!</a></div>