For example, I have a polydata: the black object in the following figure.
Then, I hope to expand
it, and I expect the result is the red object. The hole in the black object would disappear in the red object.
A possible indirectly solution is: firstly converting the black polydata into a binary mask image, then the image dilate/erode is used, finally extracting the boundary as the result.
Is there any method in vtk
to directly implement it? Any suggestion is appreciated~~~