[vtkusers] vtkConnectivityFilter and connected components
David Cole
dlrdave at aol.com
Mon Apr 22 20:49:31 EDT 2013
Did you try running vtkConnectivityFilter again (on the output of the
first run of vtkConnectivityFilter...), but this time using
SetExtractionModeToSpecifiedRegions and AddSpecifiedRegion to choose
one region at a time?
From the documentation, that looks like it should yield what you're
asking for.
-----Original Message-----
From: matheus_viana <vianamp at gmail.com>
To: vtkusers <vtkusers at vtk.org>
Sent: Mon, Apr 22, 2013 8:26 pm
Subject: [vtkusers] vtkConnectivityFilter and connected components
Hi guys.
I've a polydata composed by many disconnected components. By using
vtkConnectivityFilter I'm able to identify each of these components and
assign a specific Id for them (see enclosed picture). Now I'd like to
isolate every of these components for a further process, for instance to
calculate the volume of them. How can I do it?
Many thanks.
Matheus.
<http://vtk.1045678.n5.nabble.com/file/n5720289/RegionId.png>
--
View this message in context:
http://vtk.1045678.n5.nabble.com/vtkConnectivityFilter-and-connected-components-tp5720289.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
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 VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list