InsightSoftwareConsortium / InsightSoftwareConsortium/ITKVtkGlue

`vtkVersion.h` not included in `itkImageToVTKImageFilter.hxx`

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
15
Forks
7
PR merge metrics
No merged PRs in 30d

Description

`itkImageToVTKImageFilter` does not directly depend on `vtkVersion.h` which can lead to unexpected behavior since the [GetDirectionCallback][1] is not correctly set.

The companion filter: `itkVTKImageToImageFilter` does [import `vtkVersion.h`][2].

[1]: https://github.com/InsightSoftwareConsortium/ITKVtkGlue/blob/a7a8c1e0758e2536085e5c91d4501badbe70528b/include/itkImageToVTKImageFilter.hxx#L41

[2]: https://github.com/InsightSoftwareConsortium/ITKVtkGlue/blob/a7a8c1e0758e2536085e5c91d4501badbe70528b/include/itkVTKImageToImageFilter.hxx#L24

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.