Patch: #include <vtkVersionMacros.h> to resolve the issue
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Aug 2 2016
Aug 2 2016
hofmannmi added a comment to T19052: Volume rendering plugin fails to detect VTK version 6 and above.
hofmannmi added a comment to F1241: 0001-Volume-rendering-plugin-include-vtkVersionMacros.h-a.patch.
Patch: #include <vtkVersionMacros.h> to resolve the issue
hofmannmi added projects to T19052: Volume rendering plugin fails to detect VTK version 6 and above: MITK, Bugzilla.
hofmannmi added a comment to T18512: Initializing a mitk::Image with vtkImageData does not consider multiple scalar components.
I managed to import images with multiple scalar components from VTK by taking the same steps as found in mitk::Image::Initialize, but creating the correct PixelType myself. This works flawlessly for RGB(A) images with a component type of unsigned char. Other component types, however, lead to a crash in vtkMitkLevelWindowFilter when the image is rendered. This is probably related to T18411. Another limitation is that the PixelType has to be determined at compile-time.