[vtkusers] how to retrieve my edges from a picked cell???

David Doria daviddoria at gmail.com
Tue May 8 09:16:51 EDT 2012


On Tue, May 8, 2012 at 9:00 AM, tasnim <hanene-jeder at hotmail.fr> wrote:
> i'm using the vtkCellPicker to pick a cell.My aim is to retrive the edges of
> this cell and the vertex. How to do that pleeeeeeeeeeeeeaaaaaaaaase???

To get the edges of a cell:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/CellEdges

And to get the points of a cell:

http://www.vtk.org/doc/nightly/html/classvtkPolyData.html#aad7a49a6329b3e7492ad3b343ce32470

David



More information about the vtkusers mailing list