[vtkusers] delete vertex from mesh

David Doria daviddoria at gmail.com
Mon Oct 31 10:00:37 EDT 2011


On Mon, Oct 31, 2011 at 9:55 AM, rima4 <rima.sb4 at gmail.com> wrote:

>  thank you for replay, do you think i can proceed like this example to
> delete vertices from mesh?
> My purpose is to change the forme of an object that i extracted from a
> .obj file and i puted it in a polydata.
>  i'm so greetful for your help.
>

Probably - if you delete a vertex from a mesh using a method similar to
that, it will also remove the cells (triangles) that were using that
vertex. So as long as the vertices you delete come from portions of the
mesh that you want to delete entirely, you should be in good shape. You
might want something closer to this:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ExtractCellsUsingPoints

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111031/b446f5a7/attachment.htm>


More information about the vtkusers mailing list