Limit computation only to current slices

brandus1
Fri, 15 Jul 2022 23:37:26 +0000
Development

Hello,

I have a 200x200x200 vtk array of 20 components (representing 10 complex numbers).

I need to do a fairly heavy matrix multiplication on each set of 20 components. This needs to happen in real time as the user changes some input parameters with a slider, or moves through the 3 standard slices.

I want to limit the computation only to the visible slices, in order to avoid repeating the computation on the whole volume(which takes too much for real time).

I have an old piece of code that implements this in a custom interface by connecting a custom vtk filter to 3 vtkImageReslices.

I have been searching for the appropriate solution to this for the past week, but I keep struggling to find a suitable one. Any idea would be much appreciated.

Thank you very much

5 posts - 3 participants