[vtkusers] vtkCleanUnstructuredGrid avalaible in VTK-4.4

Peter Schmitt pschmitt at gmail.com
Thu Jul 14 14:48:17 EDT 2005


Gah, I mis-read your original post.  My bad.

Maybe try vtkCleanPolyData
http://www.vtk.org/doc/release/4.2/html/classvtkCleanPolyData.html

There is another class to do this too, but I cant currently think of
what it is...

-Pete

On 7/14/05, Peter Schmitt <pschmitt at gmail.com> wrote:
> Patrick,
> I ran into a similar problem a few weeks back with vtkStructuredGrid.
> You may want to see my thread:
> http://public.kitware.com/pipermail/vtkusers/2005-June/080319.html
> click on "Sort by  [thread]" to see all postings.
> 
> For the issue of a vtkUnstructuredGrid... I'll try to summarize what I
> said in [http://public.kitware.com/pipermail/vtkusers/2005-July/080704.html]:
> 
> I stored 3-d chunks of connected points with an unstructured grid.
> Every volume of space in my data was stored as a vtkVoxel cell.  Since
> each cell is unstructured, it doesn't matter where you set it up in
> vtk as long as you have your 8 indices (to a points list) correct for
> each voxel.
> 
> I had no luck with vtkMergePoints either.
> 
> Let me know if that helps you get started
> -Pete
> 
> On 7/14/05, Patrick Brockmann <Patrick.Brockmann at cea.fr> wrote:
> > Hi all,
> >
> > How can I merge redundant points in a vtkUnstructuredGrid ?
> >
> > With Paraview, I can use the filter vtkCleanUgrid
> > But I could not find it in the VTK-4.4 release.
> >
> > Can you confirm this ?
> > Is there a way to apply a merging of points
> > from my unstructured grid using VTK-4.4 API ?
> >
> > BTW, is there anyone who could provide a program
> > using vtkMergePoints.
> >
> > The following python script gave me a segmentation fault.
> > import vtk
> > a=vtkMergePoints()
> > print a.InsertPoint(0,23.,34.,45.)
> > --> Seg fault
> >
> > Thks
> > Patrick
> >
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
> 
> 
> --
> Pete
> 


-- 
Pete



More information about the vtkusers mailing list