What interpolation does Slicer use for visualisation

What kind of interpolation does Slicer use for visualization of slices?

E.g. I have a linear transformation and apply it to a volume - what interpolation method is used for the displayed voxels in the RGY views?

By default, the views apply a linear interpolation.
It can be disabled using this button (a nearest neighbor interpolation is then used), but this can result in aliasing artifacts when rotating the slices or the volume :

Screenshot 2024-04-09 173229


You can find some more details on interpolation in slice views in this topic. There is also a code snippet to enable higher-order interpolation if that is of interest. Interpolation should not be disabled (you would then see the signal sampling points, not the signal itself).