[Paraview] Mesh Subdivision

Jérôme jerome.velut at gmail.com
Sun Feb 22 08:21:25 EST 2009


Hi,

I suggest you to pass your polydata through a vtkCleanPolyData . This should
solves problems of "twin" points that break the connectivity information
(and thus the topology).

Best regard,

Jerome

2009/2/21 David Doria <daviddoria at gmail.com>

> Well actually I think there should be connectivity information. This file
> was made using the DelaunayTriangulation2d filter, then the 2d points were
> replaced with 3d points, so the topology should be correct (ie the triangles
> share the correct points).
>
> Thanks,
>
> David
>
>
>
> On Sat, Feb 21, 2009 at 8:21 AM, Michael Jackson <
> mike.jackson at bluequartz.net> wrote:
>
>> The file needs to have connectivity information. If it does not then you
>> will need to construct that information. You can look at the vtkSTLReader
>> class for an example of how you might go about doing that.
>>
>> ---
>> Mike Jackson                 www.bluequartz.net
>>
>>
>>
>>
>> On Feb 21, 2009, at 7:39 AM, David Doria wrote:
>>
>>  So if my file just contains a bunch of triangles, how can I make it into
>>> a valid input mesh?
>>>
>>> Thanks,
>>>
>>> David
>>>
>>>
>>> On Sat, Feb 21, 2009 at 3:08 AM, Dominik Szczerba <dominik at itis.ethz.ch>
>>> wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Problems with smoothing or subdividing most likely indicate invalid
>>> input mesh.
>>> - - Dominik
>>>
>>> David Doria wrote:
>>> > I have a polydata (vtp) with a bunch of triangles. I want to smooth the
>>> > mesh. I tried the subdivide filter, but it produces absolutely
>>> > ridiculous triangles. So I thought this meant the connectivity
>>> > information was wrong? So I tried the TriangleStrips filter and then
>>> the
>>> > subdivide filter, but now the subdivide filter complains that there are
>>> > no triangles. I tried triangulate and then subdivide and I get the same
>>> > mess as in the first case.
>>> >
>>> > In all cases, the LoopSubdivision filter simply crashes. There is
>>> > clearly still something wrong with my understanding of these file
>>> > formats and which filters can be used on which types of files. Can
>>> > anyone clarify this for me?
>>> >
>>> > Thanks,
>>> >
>>> > David
>>> >
>>> >
>>> >
>>> ------------------------------------------------------------------------
>>> >
>>> > _______________________________________________
>>> > 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 ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>> >
>>> > Follow this link to subscribe/unsubscribe:
>>> > http://www.paraview.org/mailman/listinfo/paraview
>>>
>>>
>>> - --
>>> Dominik Szczerba, Ph.D.
>>> Computational Physics Group
>>> IT'IS Foundation for Research
>>> http://www.itis.ethz.ch
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v2.0.9 (GNU/Linux)
>>> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>>>
>>> iEYEARECAAYFAkmftmgACgkQ/EBMh9bUuzJ33ACfeK65zlMP1OTu9+vkWI6pcLcL
>>> P0QAoKKCoKT2R4P9yBbgE6Ydb2vdLM+Q
>>> =vzqB
>>> -----END PGP SIGNATURE-----
>>>
>>> _______________________________________________
>>> 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 ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>>
>>
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090222/a05a12ed/attachment.htm>


More information about the ParaView mailing list