How to get the cell ids of mesh intersected with line using vtk ?

Hi Muhammad,
I think vtkCellLocator can help you out.
Take a look at the Find Cell Intersections example.

Gerrick