Dear Lucas,
you can save the data as vti file and use the reader BlockVTKwriter2D. From it get BlockF and transform the functur by using an iterpolation fonctor to an indicator functor. You may also right your own reader with an indicator interface.
Best
Mathias