-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
WIP,ENH: some coreg features and fixes #10224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I don't think we should get rid of some of the opacity management. I think that whenever the fiducials are unlocked, we should go to a fully-opaque state. (It's okay to let the user change it from this, but I doubt they will.) Once they lock the fiducials, it should go back to its previous opacity (or to the default opacity if the UI launched in edit-fiducials mode).
Make sure you fix the step, too -- I'd go for 1 mm, 1 degree, and 1 percent for the translation, rotation, and scaling, respectively. Let me know when I should test! |
|
How is it now @larsoner ? |
The plot, yes: The rX/rY/rZ, no -- they should not all be 1. Did you fix the range of these so that they are always >= 1? I think these actually in practice go from something like -180 to 180, but please do check the range. It could even be -360 to 360 degrees, not sure... The translations similarly seem fixed to >= 1, when they should be allowed to range at least -100 to 100 (mm), maybe even -500 to 500 just in case someone's MRI has a very weird affine. The range of 1 to 1000 percent for scaling seems reasonable, though. |
|
In fixing a test I broke flake, so please fix this while fixing the above stuff: |
Screen.Recording.2022-01-20.at.08.45.30.mov |
I think you voted against a slider but @drammock and I voted for a slider |
Hm... I believe this is how vtk handles transparency. I have the same on my linux. I would like to have a smoother transition too |
|
@GuillaumeFavelier should I test again? Did you test locally a bit to make sure these things worked properly? |
I did not check this yet. I still have to deprecate I also found a bug with |
|
@GuillaumeFavelier @larsoner i will also test tonight (currently out for a walk) and can report back! |
|
After extracting some code from it, now this PR:
|
Partially extraced from mne-tools#10242 and mne-tools#10224 - status bar is now stored in `self._widgets` - `_forward_widget_command()` has a docstring and new functionality (extracted from mne-tools#10224)
|
I fixed the conflicts, can you test it @hoechenberger ? |
|
|
|
This is ready for review @larsoner, @hoechenberger |
|
@hoechenberger as per your offline review, I added 4ec8b39 |

This PR :
transparameter is setRelated to #10117 and #8833