[vtk-developers] vtkPolydata and cell data
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
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...
More information about the vtk-developers