[vtkusers] Curve / Equal Subdivision

Bill Lorensen bill.lorensen at gmail.com
Tue Jul 10 10:21:23 EDT 2012


Look at vtkSplineFIlter
Here is one use:
http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/FitSplineToCutterOutput


On Tue, Jul 10, 2012 at 9:59 AM, Jean-Hugues Royer <jhroyer at joher.com>wrote:

> Hi,
>
> I have a curve which is a vtkPoints array.
>
> I would like to generate another vtkPoints array where every consecutive
> points have the same distance. (basically divide the curve to n equals
> segments)
>
> I tried to use vtkParametricSpline/**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.
>
> Any idea ?
>
> ______________________________**_________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_**FAQ <http://www.vtk.org/Wiki/VTK_FAQ>
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/**listinfo/vtkusers<http://www.vtk.org/mailman/listinfo/vtkusers>
>



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120710/87226d14/attachment.htm>


More information about the vtkusers mailing list