[vtkusers] Unstructured Grid to Polygonal Mesh

Sahan Ranasinghe sahancr at gmail.com
Wed Jun 5 14:07:15 EDT 2013


It is working. Thank you for help. I
changed geometryFilter->SetInput(reader);  to
geometryFilter->SetInputConnection(reader->GetOutputPort());
also used the vtkXMLUnstructuredGridReader to read the .vtu file.

Thank you for help

Regards,
Sahan


On Wed, Jun 5, 2013 at 11:23 PM, Sahan Ranasinghe <sahancr at gmail.com> wrote:

> DearnJoachim,
>
> I tried to use Geometry Filter. But I have .vtu file. If I insert .vtu
> file as an input. it gives an error. Can you please give me a suggestion
> for that?
> Thank you.
>
> Sahan
>
>
> On Wed, Jun 5, 2013 at 3:24 PM, Joachim Pouderoux <
> joachim.pouderoux at kitware.com> wrote:
>
>> Hi Sahan,
>>
>> You may use the vtkGeometryFilter.
>> See http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/GeometryFilter
>>
>> Regards,
>>
>> *Joachim Pouderoux*
>>
>> *PhD, R&D Enginee*r
>> *Kitware SAS <http://www.kitware.fr>*
>>
>>
>>
>> 2013/6/5 Sahan Ranasinghe <sahancr at gmail.com>
>>
>>>  Hi all,
>>>
>>> Can anybody tell me how to convert vtk unstructured grid to vtk
>>> polygonal mesh?
>>> Thank you.
>>>
>>> Regards,
>>> Sahan
>>>
>>> _______________________________________________
>>> 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/20130605/bd9289a2/attachment.htm>


More information about the vtkusers mailing list