Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: VTKPolyDataMeshIO support for reading VTK 5.1 format #4669

Merged
merged 1 commit into from
May 16, 2024

Conversation

thewtex
Copy link
Member

@thewtex thewtex commented May 15, 2024

This format is not documented per:

so best guess implementation.

Continue to write with the older form, which is supported by more software.

Closes #4478

@github-actions github-actions bot added type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots area:IO Issues affecting the IO module labels May 15, 2024
Copy link
Member

@dzenanz dzenanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good on a glance. Is anyone expected to make thorough review of this?

This format is not documented per:

- Kitware/VTK@7f76b9e
- https://gitlab.kitware.com/vtk/vtk/-/issues/17989
- https://discourse.vtk.org/t/legacy-polydata-file-compatibility/5354/11

so best guess implementation.

Continue to write with the older form, which is supported by more software.

Closes InsightSoftwareConsortium#4478
@thewtex
Copy link
Member Author

thewtex commented May 16, 2024

@dzenanz thanks for the review. Other reviews are welcome, but I will merge this by the end of the day to have the bug addressed for the 5.4.0 release.

Copy link
Contributor

@seanm seanm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok at a glance, but I did not actually try the code

@thewtex thewtex merged commit e59ee99 into InsightSoftwareConsortium:master May 16, 2024
14 checks passed
@thewtex thewtex deleted the mesh-segfault branch May 16, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:IO Issues affecting the IO module type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calling python itk.meshread on the linked file causes itk to segfault.
3 participants