gattia / pymskt

Python Musculoskeletal Tools
11 stars 4 forks source link

Requires VTK < 9 #1

Open gattia opened 2 years ago

gattia commented 2 years ago

Fileversion is the old legacy version because new tools (Slicer, Paraview) dont support vtk version 5.1 which shipped with VTK 9.

https://discourse.vtk.org/t/legacy-polydata-file-compatibility/5354 https://discourse.vtk.org/t/can-we-write-out-the-old-vtk-4-2-file-format-with-vtk-9/5066/17 https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7652/diffs?commit_id=7f76b9e97b1a05cfe4fcd5f9af58f0d7a385b639#528e66f324b988666af9696641f935da71b6f670

For now, vtk < 9 is a requirement.

gattia commented 2 years ago

https://stackoverflow.com/questions/63396725/change-vtk-datafile-version

This provides a way to convert from new to old version of vtk files