Interestingly that code is also making use of getClippingPlaneInDataCoords()
, there is actually another issue with clipping planes here.
It would be interesting to see if you have the bug in VTK.js v22 (prior to the changes with clipping plane in data coords)