[vtkusers] connecting points in from vtkPoints
Bill Lorensen
bill.lorensen at gmail.com
Sat Jan 30 08:14:20 EST 2010
Use vtkStripper to order the line segments output from vtkContourFilter.
On Fri, Jan 29, 2010 at 5:30 AM, Rakesh Patil <rakeshthp at in.com> wrote:
> Hello,
>
> I have a scatter data, (xyz file), where x and y are long, and lat resp and
> z is depth. I need to extract a zero contour from this xyz data. I use
> vtkContourFilter to extract the points for zero contour.
>
> I get the points what i require correctly.. But if i connect them serially,
> it shows that points are connected in a zig-zag form. I get points directly
> from contuorfilter. i.e.
>
> vtkPoints *pts = contFilter->GetOutput()->GetPoints();
>
> What and how do i do, so that when i connect the points, i get a decent
> connected line, instead of zig zag ..?
>
> Thanks
>
> Regards
>
>
> 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