Skip to content

Commit

Permalink
ENH: Modify value range to 0 centered in gantry angle
Browse files Browse the repository at this point in the history
More intuitive rotating "left or right" than going all the way from 0 to 359 if we want to rotate "left"

Re #218
  • Loading branch information
cpinter committed Oct 5, 2023
1 parent b616b9a commit 3ae787b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions RoomsEyeView/Resources/UI/qSlicerRoomsEyeViewModule.ui
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>449</width>
<width>379</width>
<height>538</height>
</rect>
</property>
Expand Down Expand Up @@ -102,10 +102,10 @@
<item row="0" column="1">
<widget class="ctkSliderWidget" name="GantryRotationSlider">
<property name="minimum">
<double>0.000000000000000</double>
<double>-180.000000000000000</double>
</property>
<property name="maximum">
<double>359.000000000000000</double>

This comment has been minimized.

Copy link
@ferdymercury

ferdymercury Oct 10, 2023

Contributor

I think in RT it is common to speak about a gantry angle of 270 degrees, rather than about a gantry angle of -90 deg

<double>179.000000000000000</double>
</property>
<property name="suffix">
<string>deg</string>
Expand Down Expand Up @@ -488,6 +488,7 @@
<class>qMRMLSegmentSelectorWidget</class>
<extends>qMRMLWidget</extends>
<header>qMRMLSegmentSelectorWidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>ctkCollapsibleButton</class>
Expand Down

0 comments on commit 3ae787b

Please sign in to comment.