[vtkusers] Query Cell ID
Lim, Theodore
T.Lim at hw.ac.uk
Tue May 15 09:08:30 EDT 2007
Hi Everybody,
How can a vtkCell ID be reterived?
It would be great if vtkCell had a function say GetID() but there isn't one.
I can parse through the polydata to get cells:
for (int index = 0; index < pvtkPolydata->GetNumberOfCells(); index++)
{
vtkCell *C = pvtkPolydata->GetCell(index);
vtkIdType cellID = C->GetID() // how? would like but function not available... help!
}
Please point me in the right direction.
Many thanks, Theo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070515/e671f590/attachment.htm>
More information about the vtkusers
mailing list