Skip to content
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

Several changes to improve zooming behaviour. #299

Merged
merged 2 commits into from
May 13, 2016

Conversation

rdvincent
Copy link
Collaborator

This collects several small changes. One of the main goals is to make the volume viewer more usable with smaller field-of-view images such as mouse brains.

  1. For the volume viewer demo, use the 'r' key to reset the view.
  2. When resetting, reset zoom to the computed "preferred" or default value.
  3. Compute the preferred zoom when the volume is loaded.
  4. Draw the cursor with a fixed line width, so that it doesn't get absurdly thick at high zoom levels.
  5. Use multiplicative rather than additive calculation when zooming, to improve responsiveness at high zoom levels.

@natacha-beck natacha-beck merged commit cf79ab1 into aces:master May 13, 2016
@rdvincent rdvincent deleted the rdv-zoom branch May 29, 2016 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants