[vtkusers] vtkPolyLine create a line
Jonathan Ruiz Peinado
jonathan.ruiz3 at gmail.com
Thu May 24 05:37:47 EDT 2012
Hi I'm trying to do a simple line using vtkPolyLine, to pass it
to vtkSplineFilter.
This example
http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/PolyLine
shows how to do it but is using some methods that I can't find in my vtk
libs "vtkPolyLine.GetPointIds()"
This code use to works but I don't know how it does
polyLine.SetPoints(pathPoints);
polyLine.SetLines(cellArray);
vtkPoints pathPoints, has 2 or more points
but not sure what I've to do with the cellArray, ¿ what I've to put in
there?.
¿ Do somebody got some example about how to do it or can tell me how it
works ?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120524/6eab5fe1/attachment.htm>
More information about the vtkusers
mailing list