[vtkusers] cells and points

David Doria daviddoria at gmail.com
Sat Jul 28 08:10:14 EDT 2012


On Sat, Jul 28, 2012 at 4:53 AM, Hila Hiler <hilahiler at gmail.com> wrote:
> Hi vtk users,
>
> I had a surface and I converted it to polygonal surface by Delaunay 2d. So
> afterwards I had polygons which are represented as cells.
> Is there a way to extract the internals points on a cell? I've notice by
> Paraview that when I select points on a cell (polygon) just the vertexes are
> marked. and I want to use all the points on the cell.
>
> how can I do that?
>
> BR,
> Hilal

I think you're looking for vtkPolyData::GetCellPoints :
http://www.vtk.org/doc/nightly/html/classvtkPolyData.html#aad7a49a6329b3e7492ad3b343ce32470

An example usage is here:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/VertexConnectivity

David



More information about the vtkusers mailing list