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

David Doria daviddoria at gmail.com
Wed Aug 8 10:06:51 EDT 2012


On Tue, Aug 7, 2012 at 6:08 PM, Jana Sefcikova <neollie at gmail.com> wrote:

> Hi, structure in your input file is very similar to reading .off file as
> was implemented by David in its vtkOFFReader<http://homepages.rpi.edu/~doriad/VTK_List/vtkOFFReader/>
> .
> (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.
>
> J.
>

Please note that an updated version of this code can be found here:

https://github.com/daviddoria/vtkOFFReader

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


More information about the vtkusers mailing list