Crash when using vtkClipClosedSurface to clip a simple box from Java
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The attached example code illustrates the problem of trying to clip a simple box constructed from polydata. I have not been able to find any examples of how to use vtkClipClosedSurface, so I may be using it incorrectly. A crash occurs when calling the update method after setting a clipping plane and adding the polydata as input. Without calling the Update() method nothing happens.
I have tried many other methods to clip polydata like the box, but cannot find a solution. The sample code includes some other methods of clipping a cube and a quadric, but I could not succeed in applying the same methods to polydata.