<P> </P>
<P>I need to store the points in an array.. but vtkStripper is not returning<BR>the points.. i tried implementing it as follows</P>
<P>vtkStripper *sp = vtkStripper::New();</P>
<P>sp->SetInputConnection( contFilter->GetOutputPort());</P>
<P>vtkPoints *pt = sp->GetPoints();</P>
<P>Here pt is not showing any values.. It is all empty..</P>
<P><BR>---------- Original message ----------<BR>From:Bill Lorensen< bill.lorensen@gmail.com ><BR>Date: 30 Jan 10 18:44:20<BR>Subject: Re: [vtkusers] connecting points in from vtkPoints<BR>To: Rakesh Patil <RAKESHTHP@IN.COM><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 <RAKESHTHP@IN.COM>wrote:<BR>> Hello,<BR>><BR>> I have a scatter data, (xyz file), where x and y are long, and lat resp 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 serially,<BR>> it shows that points are connected in a zig-zag form. I get points 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></P>