[vtkusers] Extrude along a polyline
Bill Lorensen
bill.lorensen at gmail.com
Tue May 23 15:49:38 EDT 2017
John,
I don't think vtk has such a filter. You could make copy of your 2d
polydata at each point in the polyline. Then generate a ruled surface
between each pair of polydata's. The tricky part is to orient the
polydata properly. A recently added remote module computes the
FrenetSerretFrame along a line:
https://lorensen.github.io/VTKExamples/site/Cxx/Remote/FrenetSerretFrame/
The resulting frame could be used to align the polydata.
Just a half-baked idea,
Bill
On Tue, May 23, 2017 at 3:25 PM, John Platt <jcplatt at dsl.pipex.com> wrote:
> Hi,
>
> I would like to extrude some 2d polydata along a polyline. Something like
> vtkTubeFilter but not a circular section or vtkLinearExtrusionFilter applied
> to each line segment. Any suggestions or advice would be very much
> appreciated.
>
> Thanks,
>
> John.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
--
Unpaid intern in BillsBasement at noware dot com
More information about the vtkusers
mailing list