Fourier--Mukai functors in geometric contexts