[vtkusers] Extrude along a polyline

John Platt jcplatt at dsl.pipex.com
Wed May 24 03:59:36 EDT 2017

Thanks Bill.

I'll try and modify vtkTubeFilter to produce a rectangular section and 
see if the orientation problem can be easily solved. Fortunately,  the 
lines in the polydata have no torsion.


On 5/23/2017 8:49 PM, Bill Lorensen wrote:
> 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

More information about the vtkusers mailing list