[vtkusers] vtkConnectivityFilter
Jean-Marie Normand
normand at lina.univ-nantes.fr
Wed Nov 10 13:22:39 EST 2004
Hi vtkusers,
I have a question on vtkConnectivityFilter, I'd like to extract all the
connected components of an implicit surface (the number of these
components being unknown).
My question is do I need to make a first pass on the surface to get the
number N of the connected components (by creating a
vtkConnectivityFilter, setting its input and extraction mode to
AllRegions and calling GetNumberOfExtractedRegions), and afterwards
extract the N components in a loop (by using
SetExtractionModeToSpecifiedRegions() and using the loop increment) ?
Is there a simplier way to do this?
Thanks in advance
Regards
Jim
More information about the vtkusers
mailing list