[vtkusers] getting reasonable results from vtkPolyDataConnectivityFilter

David Gobbi dgobbi at imaging.robarts.ca
Wed Oct 13 09:48:36 EDT 2004


Hi Michel,

Try passing the data through vtkCleanPolyData first, before passing
it to vtkPolyDataConnectivityFilter.  This will remove degenerate points
that are foiling the connectivity testing.

 - David


On Wed, 13 Oct 2004, Michel Audette wrote:

> Hi everyone,
>
> I'm using vtkPolyDataConnectivityFilter, with
> SetExtractionModeToAllRegions(), and the number of extracted regions seems
> quite high to me. For a brain surface, I'm expecting more or less one
> connected surface, but I'm getting 200 regions. Is this the right function
> to use to obtain the number of connected vtkPolyData surfaces? Is there a
> parameter I should be setting, or a better function to use?
>
> Cheers,
>
> Michel
>
> Michel Audette, Ph.D.,
> Research Fellow, Surgical Simulation,
> Surgical Assist Technology Group,
> AIST,
> Namiki 1-2,
> Tsukuba, Japan,
> 305-8564.
> --------------------------------------------------------
> "If you think you can do it, you're right.
>  If you think you can't do it, you're still right."
> - Henry Ford
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list