Hi I&#39;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&#39;t find in my vtk libs &quot;vtkPolyLine.GetPointIds()&quot; </div><div><br></div><div><br></div><div>This code use to works but I don&#39;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&#39;ve to do with the cellArray, ¿ what I&#39;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>