how to clip vtkImageData with the specified mask?

Hi Zhang,
I guess this question related to this topic created by you : How to crop 3D image from a 2D free-hand ROI? - #5 by Linfeng_Song . Have you manged to implement the free-form cut function ? I am implementing this function by just only using VTK code. Somehow it works with data with slicing (1, 1, 1), but for volume with different slicing the cut position is always not correct. Can you please help to share your algorithm of implementing free-form cut ? Thank in advance. BTW, is there any opportunity that I can know your contact and have a conversation about this topic.