[vtkusers] Re move unwanted inner mesh inside an enclosed mesh

Bill Lorensen bill.lorensen at gmail.com
Thu May 13 10:41:01 EDT 2010


If there is only one outer mesh, you can use
vtkPolyDataConnectivityFilter and extract the largest region.

This example illustrates one use of the filter

http://www.vtk.org/Wiki/VTK/Examples/PolyData/vtkPolyDataConnectivityFilter_LargestRegion


On Wed, May 12, 2010 at 11:26 AM, superzz <jxdw_zlf at yahoo.com.cn> wrote:
>
> Hello
> I am using marching cube to build 3d mesh. But I found there are lots of
> inner mesh inside the outter mesh. The outter mesh is ensured to be
> enclosed.
>
> Is there any way to remove those inner meshes inside the outter mesh?
>
> I tried use vtkCutter to generate contour, use ImageStencilWithPolydata to
> get all image regions inside mesh. But finally I realised that none of them
> can be applied in this case.
>
> Thanks
>
> superZZ
> --
> View this message in context: http://old.nabble.com/Remove-unwanted-inner-mesh-inside-an-enclosed-mesh-tp28537482p28537482.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> 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
>



More information about the vtkusers mailing list