itk-wasm icon indicating copy to clipboard operation
itk-wasm copied to clipboard

Emit data from/to pipeline workers?

Open EJShim opened this issue 3 years ago • 1 comments

Is it possible to transfer data during pipeline worker running?

For example, if I create a worker with polydata input (can be done using String type + XMLPolyDataWriter), and can emit mouse position data on mouse click event, I can use a c++ cellpicker ( intersection using OBBTree), which works faster than a vtk.js's picker.

Is it possible to do such a thing using itk.js's runPipelineWorker ?

EJShim avatar Jun 05 '21 13:06 EJShim

@EJShim yes, I'll add support for this.

thewtex avatar Jun 10 '21 20:06 thewtex