I am using VTK ray casting method in my application and I need to restrict the rotation of the 3d image along a particular axis (like Rotating about a coordinate axis in Par