[vtkusers] Connectivity filter largest region problem

David Doria daviddoria+vtk at gmail.com
Sun Apr 11 11:34:55 EDT 2010


In this example:
http://www.vtk.org/Wiki/VTK/Examples/vtkPolyDataConnectivityFilter_LargestRegion

Two spheres (one large and one small) are combined into a single
polydata. When the largest region mode is selected on the connectivity
filter:

connectivityFilter->SetExtractionModeToLargestRegion();

it seems to be extracting (coloring red) the small sphere, when I'd
expect it to extract the large sphere. Anyone know what's going wrong
here?

Thanks,

David



More information about the vtkusers mailing list