[vtkusers] Cell data in a vtkPolyData object

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Fri Aug 27 08:13:27 EDT 2004


> The values of 'cell' are 0, 1, 2. So using 'index++' doesn't change a 
> thing.

Apologies, I was so busy writing the solution, that I didn't read the
original properly. I see that you are calling
> > cell = polydata.InsertNextCell(VTK_LINE, ids)
and not
lines.InsertNextCell(ids) (would give 0)
polys.InsertNextCell(ids) (would give 0,1)
etc etc

It should work as before then

JB




More information about the vtkusers mailing list