[vtkusers] Connectivity filter largest region problem

Darshan Pai darshanpai at gmail.com
Sun Apr 11 14:56:01 EDT 2010


I think the SetExtractionModeToLargestRegion() does not have anything to do
with scale , but by number of cells or points .
set the theta and phi resolution and the higher resoltion is selected
irrespective of scale
On Sun, Apr 11, 2010 at 11:34 AM, David Doria
<daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> wrote:

> 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
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100411/7f800e7f/attachment.htm>


More information about the vtkusers mailing list