[vtkusers] Number of vertices in one component

David Doria daviddoria at gmail.com
Wed Feb 2 08:18:52 EST 2011


On Tue, Feb 1, 2011 at 10:18 PM, Rachel <aracha2010 at gmail.com> wrote:
>
> what i could get is that vtkPolyDataConnectivityFilter doesn't give us
> information about the geometry, only the connectivity of the largest
> component is displayed.  is it correct ?

When you use this:
connectivityFilter->SetExtractionModeToLargestRegion();

the largest region is extracted. Setting

SetExtractionModeToAllRegions ()

will label the components
(http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/ConnectivityFilter)

David



More information about the vtkusers mailing list