medInria/medInria-public

VTK 9 files not displayed

Opened this issue · 1 comments

VTK has changed its vtk legacy file format (.vtk files) since VTK version 9. medInria uses VTK8. As a result, medInria can read VTK 9 files but the display is incorrect (empty actually). Switching to VTK9 would probably solve this.

Otherwise there is a converter proposed here that we could implement on the fly (but is it really worth it?) : https://stackoverflow.com/questions/63396725/change-vtk-datafile-version#63470428

To keep the history of this:

  • Previously, the VTK9 files were crashing the application. The #954 Pull Request prevented the crash.
  • Also, there is an old draft PR for the switch to VTK9 : #875, so if needed we could continue it for the 4.0 branch?