does VTK support Cut 1 mesh into 2 meshes at the PickedPoint(by a plane on its normal) on the ? any demo? thanks!

does VTK support Cut 1 mesh into 2 meshes at the PickedPoint(by a plane on its normal) on the ? any demo? thanks!
and how to revert it back in order to support redo&undo?

Here is an example of clipping by a plane:

https://examples.vtk.org/site/Cxx/UnstructuredGrid/ClipUnstructuredGridWithPlane/

VTK follows a data pipeline model, so to “unclip” the dataset just means removing the clipping filter and using the original mesh instead.

1 Like