How to use vtk.js image cutting

I am currently working on 3D medical image cutting on the web side,I want to know, Whether the 3D medical image can be customized irregular cutting through vtk.js

What sort of irregular cutting are you referring to? For instance, we will soon have curved planar reformatting in vtk.js.

I want to do a custom cut by mouse sketching.

This is not yet available in vtk.js, but such functionality is achievable by way of widgets and volume masking and/or cropping.

hi, I don’t know if what you mean is a function similar to MPR. You can use ResliceImage to set matrix, and then you can use ResliceCursorWidget to display the corresponding segmentation map.