Cutting plane does not close the cutting surface for tetrahedral volumes from Java
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The VTKCuttingPlane demo application in the attached Eclipse project demonstrates a problem I am having with the cutting plane feature. I am using VTK 1.7 rc1 with 64 bit Java 1.8 using Eclipse Mars.1 on Windows 10.
To reproduce, run the application. It will display a cube composed of 6 tetrahedral volumes. Click the Update Origin button twice to move the cutting plane origin. When you rotate the object you will see that the cutting surface is not closed. You may also click the Update Orientation to rotate the cutting plane. Sometimes it appears that part of the cutting surface will be capped. Click the Reset button to restore the original cutting plane origin and orientation.
The code also contains a method for creating the box from a single hexahedron. Comment out createTetraBox() and uncomment createBox() and repeat the run. The box is correctly cut and capped.
There is also an array initializer to construct the tetrahedral with opposite connectivity, but this does not work either.
Is this a bug in VTK or a bug in the way that I am constructing the tetrahedra?
Thanks, Kent