[vtkusers] eliminate duplicate nodes

Oliver Gloth oliver.gloth at engits.com
Thu Dec 6 11:01:09 EST 2007

I had a look at vtkCleanPolyData and the classes vtkMergePoints and
vtkPointLocator seem to be good starting points. It is required to clean a
vtkUnstructuredGrid, that's why the vtkCleanPolyData is not directly
applicable - but thanks for pointing me in the right direction.

The links you sent (thanks btw.) are not completely unknown to me and I
might use the Netgen package for this project. It is not a CFD project, but
a mesh generation project (I would not use VTK data structures for a solver
...). I gave some thought to using VTK: it might not be ideal, but
definitely well suited. Tools like, for example, vtkMergePoints, are very
valuable and they can be a real pain to implement and debug. The other thing
I like about VTK is that it is well documented and has a large user
community, and yes visualisation is very easy indeed!


-----Original Message-----
From: burlen [mailto:burlen at apollo.sr.unh.edu] 
Sent: 06 December 2007 16:28
To: Oliver Gloth
Cc: vtkusers
Subject: Re: [vtkusers] eliminate duplicate nodes

Does the vtkCleanPolyData class do what you want??

Although I supose you could do it, I am not convinced that VTK would be 
ideal for CFD project, you might find these links of use:


On the other hand at least visualization would be easy.

Oliver Gloth wrote:
> Dear VTK Users,
> I am currently working on an open-source project - developing a mesh
> generator for CFD simulations. Due to budget and time constraints I have
> chosen to use the VTK data structures as a basis, instead of writing my
> data structures. Furthermore this makes building a GUI (based on Qt) to
> modify and visualise the mesh easy. One thing that is required is a filter
> to merge two grids and eliminate duplicate nodes. Is such a thing already
> part of VTK, or does somebody have a piece of code that would do this? The
> implementation is not trivial, because the 3D search can be very time
> consuming. If it doesn't exist yet I will implement it myself, but I would
> like to avoid double work as much as possible.
> Oliver

More information about the vtkusers mailing list