[vtkusers] vtkExtractSelection -- how to get output as polydata

Cory Quammen cory.quammen at kitware.com
Fri Nov 6 15:11:11 EST 2015


You should be able to use vtkDataSetSurfaceFilter to get a vtkPolyData from
a vtkUnstructuredGrid [1].

HTH,
Cory

[1] http://www.vtk.org/doc/nightly/html/classvtkDataSetSurfaceFilter.html

On Fri, Nov 6, 2015 at 2:33 PM, Saeed Mahdizadeh Bakhshmand <
saeedbakhshmand at gmail.com> wrote:

> Hello,
>
> Any idea on how to get output of vtkExtractSelection as polydata? I input
> polydata but output is an UnstructuredGrid which is not suitable for next
> step and converting to vtkpolydata seems to be a pain.
>
> Thanks,
> Saeed
>
> _______________________________________________
> 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
>
>


-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151106/07d7c1dd/attachment.html>


More information about the vtkusers mailing list