[vtkusers] How to write a polyline in VTK?

David Doria daviddoria at gmail.com
Thu Oct 7 16:40:54 EDT 2010


On Thu, Oct 7, 2010 at 4:28 PM, Renan Leser <leser21 at gmail.com> wrote:

> I have a simple question.
>
> I'm trying to write a simple polyline, with 2160 points. Each point has
> it's X,Y,Z.
>
> But everytime i write the file, i get some errors in reading it on
> paraview.
>
> And also, I can't understand how the parameter "LINES" WORK.
>
> Here is an example that I found online:
>
>
This shows how to create and write a polyline:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/PolyLine

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101007/1150d5ae/attachment.htm>


More information about the vtkusers mailing list