#15209 closed defect (fixed)
simplify "segmentations" command keyword options
Reported by: | Elaine Meng | Owned by: | Zach Pearson |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | DICOM | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
(1) Consolidate resetMouseModes + setMouseModes into one keyword option with true/false or on/off values (whichever you prefer), keyword could be setMouseModes or even mouseModes
(2) Consolidate resetHandModes + setHandModes into one keyword option with true/false or on/off values, keyword could be setHandModes or even handModes
(3) consolidate sphereCenter + (planeCenter + slice) into one keyword option with 3-tuple value, keyword of your choice, could even be center. Whether 2D or 3D is indicated by whether or not an axis is given. If axis is given, then it's 2D.
Change History (3)
comment:1 by , 17 months ago
comment:2 by , 17 months ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 17 months ago
re|setMouseModes moved to mouseModes
re|setHandModes moved to handModes
as discussed, center is now one keyword argument that takes three integers. if an axis is specified, the third value is taken as the slice
Partially fixed by this commit (parts 1 and 2).