[vtkusers] VTK 7.0 vtkXMLPolyDataWriter output version issues

Dan Lipsa dan.lipsa at kitware.com
Fri Feb 10 08:52:32 EST 2017


Paul,
Looking closer that the blog it seems that a file with ghosts will have
version 2.0. The difference between 1.0 and 0.1 is caused
by VTK_USE_64BIT_IDS. Can you check that in your VTK's CMakeList.txt. It
seems that your VTK uses 32 bits while ParaView would use 64.
So that would explain the difference. Do you need/want to use 32 bits for
VTK? Can you recompile your VTK with 64 bit ids and retry.

Dan


On Fri, Feb 10, 2017 at 8:00 AM, Paul Korir <pkorir at ebi.ac.uk> wrote:

> (Again, forgot to post to the list...)
>
> There is some history to this...
>
> https://mathema.tician.de/what-they-dont-tell-you-about-
> vtk-xml-binary-formats/
>
> Paul
>
> On 10/02/2017 09:39, Paul Korir wrote:
>
> Hi Dan, (forgot to copy to the list)
>
> Thanks for your reply.
>
> The main issue I'm facing is with blob headers in binary data from data
> arrays. There are no blob headers when I use VTK but Paraview produces
> beautiful blob headers. Is there something I'm doing wrong?
>
> Regards,
>
> Paul
>
> On 09/02/2017 17:56, Dan Lipsa wrote:
>
> Paul,
> The version changed when we made the ghost cell updates:
>
> https://blog.kitware.com/ghost-and-blanking-visibility-changes/
>
> Ghost cells in 1.0 have a different format than ghost cells in 0.1
> If there are no ghost cells we use version 0.1
>
> Is your data in ParaView different than the data in VTK?
> For the same data, you should get the same version I think.
>
> Dan
>
>
>
> On Thu, Feb 9, 2017 at 11:40 AM, Paul Korir <pkorir at ebi.ac.uk> wrote:
>
>> Hi All,
>>
>> I'm using vtkXMLPolyDataWriter and I'm getting output files with version
>> 0.1 while I get version 1.0 files using Paraview version 5.0.0.
>>
>> How do I get version 1.0 files using VTK?
>>
>> Thanks.
>>
>> --
>> Paul K. Korir, PhD
>> Scientific Programmer
>> EMBL-EBI
>> 01223494422
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>
>
> --
> Paul K. Korir, PhD
> Scientific Programmer
> EMBL-EBI
> 01223494422
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/vtkusers
>
>
> --
> Paul K. Korir, PhD
> Scientific Programmer
> EMBL-EBI
> 01223494422
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170210/6b0117b0/attachment.html>


More information about the vtkusers mailing list