Closed MichaelColonel closed 4 years ago
I haven't built or tried it, but after reading the code it looks excellent work! I just added one minor comment. Thank you once more! If it looks good to @Sunderlandkyl and @lassoan then we can go ahead and integrate it.
Screenshots and some additional info: https://discourse.slicer.org/t/how-to-make-rtbeamnode-or-volumenode-sensitive-to-patient-support-rotation-from-ui/10410/11 (@MichaelColonel right? :) )
I've fixes everything except debug and error messages (not quite sure how to make it properly), and added separate transformation from IEC Patient to RAS.
If there are no comments from the other project owners, I think we can merge it later today. Thanks again for the contribution!
@MichaelColonel please squash the extra commits into the first one and then I'll merge it. I would rather not add commits into the repository like "ENH: Fixes for PR #133" or "ENH: Tests fixes" (as a matter of fact, fixes are usually not ENH, see https://www.slicer.org/wiki/Documentation/Nightly/Developers/Style_Guide#Commit_message_prefix). In general, what I think is a better approach is to amend your initial commit with the fixes requested during review. Thanks!
PR has been squashed to initial commit.
Next i will try to apply dynamic transform for "Room's Eye View" module, at least for mandatory elements such as: Gantry, FixesReference, PatientSupport, Collimator, TableTopEccentricRotation, TableTop, Patient. All these coordinate systems will be transformed to RAS according to IEC hierarchy:
For example: Gantry to RAS: Gantry -> FixesReference -> PatientSupport -> TableTopEccentricRotation -> TableTop -> Patient -> RAS
TableTop to RAS: TableTop -> TableTopEccentricRotation -> PatientSupport -> FixesReference -> PatientSupport -> TableTopEccentricRotation -> TableTop -> Patient -> RAS
Sounds good, looking forward to it!
Allows correct patient support rotation for beam node within "Beams" module.