[vtkusers] delete a cell (or point)
Bill Chivas
billno123 at hotmail.com
Wed Nov 17 03:42:54 EST 2010
Thanks David. I will try it.
> Date: Tue, 16 Nov 2010 07:52:48 -0500
> From: daviddoria at gmail.com
> To: billno123 at hotmail.com
> CC: vtkusers at vtk.org
> Subject: Re: [vtkusers] delete a cell (or point)
>
> On Tue, Nov 16, 2010 at 4:50 AM, Bill Chivas <billno123 at hotmail.com> wrote:
> > Hello all,
> >
> > is there an efficient way to delete an element from a grid? One could say
> > "just rebuild a new grid with the rest of the cells".
> > Imagine i have a very large grid, for example 5 million cells. It's very
> > inefficient.
> > So, is there any other way to delete a cell (or a point) from a grid apart
> > from building a new grid with the remaining cells (or points)?
> > If not, any tricks for optimization the current "solution" of re-building
> > the grid?
> >
> > Thanks
>
> Did you try ExtractSelection with the inverse of the selection of the
> points to delete?
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ExtractCellsUsingPoints
>
> 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/20101117/0c607454/attachment.htm>
More information about the vtkusers
mailing list