[vtkusers] vtkExtractSelection -- how to get output as polydata
Saeed Mahdizadeh Bakhshmand
saeedbakhshmand at gmail.com
Fri Nov 6 17:18:42 EST 2015
Thanks Cory,
I figured to use vtkExtractSelectedPolyDataIds instead of
vtkExtractSelection.
Cheers,
Saeed
On Fri, Nov 6, 2015 at 3:11 PM, Cory Quammen <cory.quammen at kitware.com>
wrote:
> 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/d21c3bbe/attachment.html>
More information about the vtkusers
mailing list