I think the SetExtractionModeToLargestRegion() does not have anything to do with scale , but by number of cells or points . <br>set the theta and phi resolution and the higher resoltion is selected irrespective of scale<br>
<div class="gmail_quote">On Sun, Apr 11, 2010 at 11:34 AM, David Doria <span dir="ltr"><<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
In this example:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/vtkPolyDataConnectivityFilter_LargestRegion" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/vtkPolyDataConnectivityFilter_LargestRegion</a><br>
<br>
Two spheres (one large and one small) are combined into a single<br>
polydata. When the largest region mode is selected on the connectivity<br>
filter:<br>
<br>
connectivityFilter->SetExtractionModeToLargestRegion();<br>
<br>
it seems to be extracting (coloring red) the small sphere, when I'd<br>
expect it to extract the large sphere. Anyone know what's going wrong<br>
here?<br>
<br>
Thanks,<br>
<br>
David<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br>