Spatial domain optics with nonlocal interactions