[vtk-developers] vtkPolydata and cell data

John Platt jcplatt at dsl.pipex.com
Tue Mar 18 15:46:39 EDT 2008

In Aug 2004 JB wrote on this topic
It's not so much that that the design of the polydata is bad, (well, it
really), but you need to know that all filters operate on cells in order
verts/lines/polys/strips and so all cell data needs to be stored in this
order. Its extremely annoying and everyone who's used vtk for some
length of
time will have been bitten by this one - however, once you know about
you always write your filters/importers/etc to operate like this and all
Could someone please give me a hint as to why? It's not obvious to me
because vtkPolyData::InsertNextCell() returns a unique cellId which can
be used for the cell scalars.
Thanks for any help.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20080318/b395cee4/attachment.html>

More information about the vtk-developers mailing list