[vtkusers] vtkSplineFilter

Bill Lorensen bill.lorensen at gmail.com
Wed May 5 10:56:00 EDT 2010


Look at this example:
http://vtk.org/Wiki/VTK/Examples/ExtractPolyLinesFromPolyData

it shows how to connect the segments produced by the cutter into polylines.

On Tue, May 4, 2010 at 4:08 PM, pablo p del castillo <
pablodecastillo at yahoo.es> wrote:

> Hello,
>
> I am trying to improve the visualization of sections of surface mesh, so i
> create a cutter and the apply vtksplinefilter like this;
>
> vtkSplineFilter sf
>     #sf SetInput planeCut
>     sf SetInputConnection [planeCut GetOutputPort]
>     sf SetNumberOfSubdivisions 6
>     sf Update
>    # sf SetLength 0.01
> vtkTubeFilter rf
>     rf SetInput [sf GetOutput]
>     rf SetRadius 0.1
>     rf SetNumberOfSides 6
>
> But only i get the initial section with tubes.
> Any idea?
>
> Pablo
>
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100505/00f2704b/attachment.htm>


More information about the vtkusers mailing list