Hi I'm trying to do a simple line using vtkPolyLine, to pass it to vtkSplineFilter.<div><br></div><div>This example <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/PolyLine">http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/PolyLine</a></div>
<div>shows how to do it but is using some methods that I can't find in my vtk libs "vtkPolyLine.GetPointIds()" </div><div><br></div><div><br></div><div>This code use to works but I don't know how it does</div>
<div><br></div><div>polyLine.SetPoints(pathPoints);</div><div><div>polyLine.SetLines(cellArray);</div></div><div><br></div><div>vtkPoints pathPoints, has 2 or more points</div><div>but not sure what I've to do with the cellArray, ¿ what I've to put in there?.</div>
<div><br></div><div>¿ Do somebody got some example about how to do it or can tell me how it works ?</div><div><br></div><div>Thanks!</div>