[vtk-developers] vtkPolydata and cell data

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


Hi,
 
In Aug 2004 JB wrote on this topic
 
It's not so much that that the design of the polydata is bad, (well, it
is
really), but you need to know that all filters operate on cells in order
of
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
it,
you always write your filters/importers/etc to operate like this and all
is
well.
 
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.
 
John.

 

-------------- 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