HomePhabricator
Diffusion MITK fd647480c6ec

Fix volume rendering for 4d images

Description

Fix volume rendering for 4d images

Summary:
The Volume Visualization did not work correctly for 4D images.
This included mainly that the histogram was not updated for different timesteps and that the volume itself in the 3D renderwindow was the same across all timesteps.
Additionally, the workbench crashed for the Heart3D+t dataset.
The update of the histogram is possible with the extension of the QmitkTransferFunctionWidget and QmitkTransferfunctionGeneratorWidget, which now also take the timestep as input when calculating the histogram.
The update of the volume is possible with the update of the mitkVolumeMapperVtkSmart3D which now calculates the volume for all timesteps of a node instead of only the volume for the first timestep.
Fixes T28274, T24754

Test Plan: manual

Reviewers: floca, O3 MITK Reviewer Group II

Reviewed By: floca, O3 MITK Reviewer Group II

Maniphest Tasks: T28274, T24754

Differential Revision: https://phabricator.mitk.org/D575