[vtkusers] Are blank lines allowed in the header of Legacy format VTK files?
cory.quammen at kitware.com
Thu Oct 13 10:29:29 EDT 2016
Looking at vtkDataReader::ReadHeader(), I see nothing that indicates any
blank lines are tolerated by the reader. I suggest having your code skip
blank lines to deal with any files you may encounter that may have blank
On Tue, Oct 11, 2016 at 3:40 PM, drilene <Ilene.Cohen at bsci.com> wrote:
> I had implemented my code to only read the first 4 lines of the Leagcy file
> to get the: 1) version and identifier, 2) header, 3) file format and 4)
> dataset type. One of our test engineers found a file on the web that had a
> blank line between 3) and 4). This file failed in my code but loads in
> Paraview. So, I tried putting blank lines in the header and it appears that
> Paraview tolerates some blank lines such as 2 lines between 2) and 3) but
> lines between 1) and 2). Is there an accepted standard regarding blank
> View this message in context: http://vtk.1045678.n5.nabble.
> Sent from the VTK - Users mailing list archive at Nabble.com.
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
Staff R&D Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers