I have made a dynamic IEC hierarchy matrix transformation calculation, and i can make a PR if this is interesting.
Transformation for Collimator to Patient looks like:
Collimator → Gantry → fixedReference → patientSupport → tableTopEccentric → tableTop → Patient (RAS)
- Works with “Beams” and “External Beam Plan” modules
- Doesn’t break compatibility with “Room’s Eye View” module
Gantry and patient support angles:
RTBeamNode transformation:
Image example: