Look at vtkSplineFIlter<br>Here is one use:<br><a href="http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/FitSplineToCutterOutput">http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/FitSplineToCutterOutput</a><br><br><br><div class="gmail_quote">
On Tue, Jul 10, 2012 at 9:59 AM, Jean-Hugues Royer <span dir="ltr"><<a href="mailto:jhroyer@joher.com" target="_blank">jhroyer@joher.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I have a curve which is a vtkPoints array.<br>
<br>
I would like to generate another vtkPoints array where every consecutive points have the same distance. (basically divide the curve to n equals segments)<br>
<br>
I tried to use vtkParametricSpline/<u></u>vtkParametricFunctionSource but I was only able to change the number of points to another value but I didn't find how to specify that these new points should be equally distributed.<br>
<br>
Any idea ?<br>
<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_<u></u>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/<u></u>listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>