[vtkusers] Create an actual mesh from a set of "connected" triangles

David Doria daviddoria at gmail.com
Sun Mar 22 13:50:55 EDT 2009


Bah sorry, I turned on debug symbols and re-ran it:
http://rpi.edu/~doriad/output.txt


Thanks,

David


On Sun, Mar 22, 2009 at 12:57 PM, Thompson, David C <dcthomp at sandia.gov>wrote:

> It helps a little bit, but unfortunately you're using ParaView compiled
> without debug information so I cannot tell where in the routines
> mentioned the problem is occurring. I'll take a look at it on Monday
> when I am at my development machine.
>
>    David
> ________________________________________
> From: vtkusers-bounces at vtk.org [vtkusers-bounces at vtk.org] On Behalf Of
> David Doria [daviddoria at gmail.com]
> Sent: Sunday, March 22, 2009 05:22
> To: vtkusers at vtk.org
> Subject: Re: [vtkusers] Create an actual mesh from a set of "connected"
> triangles
>
> I ran it with valgrind and here is the output:
> http://rpi.edu/~doriad/output.txt <http://rpi.edu/%7Edoriad/output.txt>
>
> Does that help anyone?
>
> Thanks,
>
> David
>
>
> On Sun, Mar 22, 2009 at 3:17 AM, Thompson, David C <dcthomp at sandia.gov
> <mailto:dcthomp at sandia.gov>> wrote:
> Well, ParaView should never crash so I would say you have
> found a bug. I looked at the file you put up and it didn't
> appear to have problems in the connectivity array so running
> ParaView through valgrind is the next step but I don't have
> the time to do that right now. I was able to replicate your
> crash, though.
>
>   David
> ________________________________________
> From: vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org> [
> vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org>] On Behalf Of
> David Doria [daviddoria at gmail.com<mailto:daviddoria at gmail.com>]
> Sent: Saturday, March 21, 2009 10:50
> To: vtkusers at vtk.org<mailto:vtkusers at vtk.org>
> Subject: Re: [vtkusers] Create an actual mesh from a set of "connected"
> triangles
>
> I don't understand how the mesh can be broken? The cells (triangles) are a
> function of the points, so if the triangles look correct the connectivity
> info should implicitly be there, no? So there is not a way to take triangles
> that look like a mesh and make them into an actual mesh in the paraview/vtk
> framework?
>
> Thanks,
>
> David
>
>
> On Sat, Mar 21, 2009 at 1:47 PM, Dominik Szczerba <dominik at itis.ethz.ch
> <mailto:dominik at itis.ethz.ch><mailto:dominik at itis.ethz.ch<mailto:
> dominik at itis.ethz.ch>>> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> well if the mesh is arbitrarily broken then VTK will not help you. you
> may need a meshing application.
>
> David Doria wrote:
> > When I do "Clean to grid" and then "Extract surface", and then
> > "Subdivide", the subdivide filter still crashes.
> >
> > Thanks,
> >
> > David
> >
> >
> > On Sat, Mar 21, 2009 at 1:30 PM, Thompson, David C <dcthomp at sandia.gov
> <mailto:dcthomp at sandia.gov><mailto:dcthomp at sandia.gov<mailto:
> dcthomp at sandia.gov>>
> > <mailto:dcthomp at sandia.gov<mailto:dcthomp at sandia.gov><mailto:
> dcthomp at sandia.gov<mailto:dcthomp at sandia.gov>>>> wrote:
> >
> >     "Clean to grid" creates an unstructured grid. If you use it, you
> >     must convert
> >     the model back to polydata with "Extract surface." Or you can use the
> >     vtkCleanPolyData filter with PointMergingOn().
> >
> >        David
> >     ________________________________________
> >     From: vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org
> ><mailto:vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org>>
> <mailto:vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org><mailto:
> vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org>>>
> >     [vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org><mailto:
> vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org>> <mailto:
> vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org><mailto:
> vtkusers-bounces at vtk.org<mailto:vtkusers-bounces at vtk.org>>>] On
> >     Behalf Of David Doria [daviddoria at gmail.com<mailto:
> daviddoria at gmail.com><mailto:daviddoria at gmail.com<mailto:
> daviddoria at gmail.com>>
> >     <mailto:daviddoria at gmail.com<mailto:daviddoria at gmail.com><mailto:
> daviddoria at gmail.com<mailto:daviddoria at gmail.com>>>]
> >     Sent: Saturday, March 21, 2009 10:29
> >     To: Dominik Szczerba
> >     Cc: vtkusers at vtk.org<mailto:vtkusers at vtk.org><mailto:
> vtkusers at vtk.org<mailto:vtkusers at vtk.org>> <mailto:vtkusers at vtk.org
> <mailto:vtkusers at vtk.org><mailto:vtkusers at vtk.org<mailto:vtkusers at vtk.org
> >>>
> >     Subject: Re: [vtkusers] Create an actual mesh from a set of
> >     "connected" triangles
> >
> >     Using paraview, once I do "clean to grid", none of the meshing
> >     operations (subdivide, Loop subdivision) are available.
> >
> >     Thanks,
> >
> >     David
> >
> >
> >     2009/3/21 Dominik Szczerba <dominik at itis.ethz.ch<mailto:
> dominik at itis.ethz.ch><mailto:dominik at itis.ethz.ch<mailto:
> dominik at itis.ethz.ch>>
> >     <mailto:dominik at itis.ethz.ch<mailto:dominik at itis.ethz.ch><mailto:
> dominik at itis.ethz.ch<mailto:dominik at itis.ethz.ch>>><mailto:
> dominik at itis.ethz.ch<mailto:dominik at itis.ethz.ch><mailto:
> dominik at itis.ethz.ch<mailto:dominik at itis.ethz.ch>>
> >     <mailto:dominik at itis.ethz.ch<mailto:dominik at itis.ethz.ch><mailto:
> dominik at itis.ethz.ch<mailto:dominik at itis.ethz.ch>>>>>
> > try clean to grid
> >
> > David Doria wrote:
> >> I have a vtp file where the triangles look connected, but the file
> >> apparently doesn't think they are (none of the mesh operations work).
> >
> >> http://rpi.edu/~doriad/dolphin.vtp<http://rpi.edu/%7Edoriad/dolphin.vtp>
> <http://rpi.edu/%7Edoriad/dolphin.vtp><
> http://rpi.edu/%7Edoriad/dolphin.vtp>
> > <http://rpi.edu/%7Edoriad/dolphin.vtp><
> http://rpi.edu/%7Edoriad/dolphin.vtp>
> >
> >> Is there a filter that will get these triangles into a usable mesh?
> >
> >> Thanks,
> >
> >> David
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> >> _______________________________________________
> >> Powered by www.kitware.com<http://www.kitware.com><
> http://www.kitware.com>
> > <http://www.kitware.com><http://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
> >
> >
>
> - --
> Dominik Szczerba, PhD
> Computational Physics Group
> IT'IS Foundation for Research
> www.itis.ethz.ch<http://www.itis.ethz.ch><http://www.itis.ethz.ch>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>
> iEYEARECAAYFAknFKDsACgkQ/EBMh9bUuzIhBgCfUjFuB+QOqQt4TKQWQl9runMF
> 1ooAnRgYwjnyAo4rQUlDrLIrd2F+9GVV
> =YV08
> -----END PGP SIGNATURE-----
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090322/366b5861/attachment.htm>


More information about the vtkusers mailing list