Hello folks,
First of all, thanks for considering this feature which is a long standing issue in my opinion
I’m mostly using VTK as the visualization tool of my ITK applications, so here my 2 cents:
- Even if VTK and ITK are different tools with specific designs, I think that every effort to harmonize similar concepts would greatly improve usability and synergy.
- So I would prefer having the orientation carried with the vtkImageData rather than adding a new class
- I don’t mind if the spatial information is split or summarized in a 4x4 matrix, as long as we can easily access origin/spacing/orientation separately
- I can’t envision the performance impact of such choice, so this is might be a bad design, but I would allow the setting of non-orthogonal direction in ImageData, then having a check on filters that can’t handle it. Maybe that might requires too much work for now
- I think StructuredPoints and UniformGrid should handle orientation in the same way
Tim