Ray box intersection in a Programmable filter

I am building a programmable filter on CellData. In the filter, I need to find intersection between rays and cells. Is there a ready-made code using VTK with python wrapping that I can make use of for this?