EGSnrc
EGSnrc copied to clipboard
Allow generation of .3ddose files for transformed EGS_XYZGeometry
Is your feature request related to a problem? Please describe. Currently, egs++ supports reading a CT .egsphant file into a rectilinear EGS_XYZGeometry. Using EGS_DoseScoring, a .3ddose file can potentially be generated for a simulation using this EGS_XYZGeometry. However, if, as is almost always the case, the EGS_XYZGeometry created using CT data must be rotated/translated from "CT space" into the simulation coordinate system, a .3ddose file for the transformed geometry can no longer be generated.
Describe the solution you'd like It would be very useful to be able to generate a .3ddose file for CT data. By default, this data would be output in "CT space" and could be plotted atop the untransformed CT image. There may be a way to also transform the dose data into simulation space.
Alternatives I suppose one could build their simulation geometry around the original CT data, but this seems unnecessarily complicated and inflexible.