[vtk-developers] Call for Comments: Ascii representation of floats and doubles in files

Bill Lorensen bill.lorensen at gmail.com
Fri Mar 2 14:56:13 EST 2018


+1


On Fri, Mar 2, 2018 at 9:14 AM, Berk Geveci <berk.geveci at kitware.com> wrote:
> There is a difference between what Bill is suggesting and using some sort of
> encoding. What Bill is suggesting will still result in human readable as
> well as generic parser parseable files. I had to look at the
> double-precision documentation to figure that out.... So Bill's suggestion
> should not prevent previous versions of the reader from reading new files
> and wouldn't require updating the format version as far as I understand.
>
> Best,
> -berk
>
>
> On Thu, Mar 1, 2018 at 6:05 PM, Todd via vtk-developers
> <vtk-developers at vtk.org> wrote:
>>
>> Hi Ben
>>
>> On 2 Mar 2018 11:56 a.m., Ben Boeckel <ben.boeckel at kitware.com> wrote:
>>
>> On Fri, Mar 02, 2018 at 11:30:39 +1300, Todd via vtk-developers wrote:
>> > I wasn't suggesting base64 encoding the whole file. Just the
>> > double/float
>> > values.
>>
>> That doesn't matter, it still changes the file format.
>>
>> Yes. It changes the file format. So does Bill's proposal to use itk
>> NumberToString().
>>
>> I guess the change would need to be limited to some VTK readers/writers
>> with an optional constructor parameter to utilise the new format.
>>
>>
>> --Ben
>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> https://vtk.org/mailman/listinfo/vtk-developers
>>
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtk-developers
>
>



-- 
Unpaid intern in BillsParadise at noware dot com


More information about the vtk-developers mailing list