Get Open CASCADE TopoDS_Shape from vtkPolyData

I have such a requirement, the user inputs a function about F(x,y,z), and then generates solid through this function.