A key search term is geometric tomography. The problem posed is a version of Hammer’s X-ray reconstruction problem:
Gardner, Richard J., and Markus Kiderlen. "A solution to Hammer's X-ray reconstruction problem." Advances in Mathematics 214.1 (2007): 323-343. PDF download
[![Xrays][1]][1]
Two shapes with the same parallel X-rays.