[vtkusers] Question ? [Reading data from txt file]

Jana Sefcikova neollie at gmail.com
Tue Aug 7 18:08:13 EDT 2012

Hi, structure in your input file is very similar to reading .off file as
was implemented by David in its
(Main change is that .off file has different header lines, other suffix and
there is polygon point count of cells before their list
instead of your line
2661     2778    2645
.off file format expects this
3    2661     2778    2645
You could correct few lines in that code and you would have working
polydata reader.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120808/345ca8b9/attachment.htm>

More information about the vtkusers mailing list