vtkPolyDataToImageStencil multithreaded
I was wondering if I could parallelize vtkPolyDataToImageStencil across slices. Currently it is single-threaded and loops through all slices:
Line 501 vtkPolyDataToImageStencil.cxx: for (int idxZ = extent[4]; idxZ <= extent[5]; idxZ++)
What would be a way of parallelizing this? I can't see any option that I can set to enable this.
There is a mention of using multithreading here:
784 // ThreadedExecute is only called from a single thread for
785 // now, but it could as easily be called from ThreadedRequestData
Any advice appreciated.
Edited by chrisadamsonmcri