Opened 8 years ago

Last modified 8 years ago

#693 assigned enhancement

Add next / previous map buttons

Reported by: olibclarke@… Owned by: Tom Goddard
Priority: major Milestone:
Component: Volume Data Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Begin forwarded message:

From: Oliver Clarke <>
Subject: [chimerax-users] button for next/previous volume?
Date: May 30, 2017 at 1:35:43 AM PDT
To: chimerax-users@…

Hi,

I frequently encounter the issue in “old” chimera where I have a bunch of different maps and I want to switch between them one by one, to better perceive differences or look at them in concert with another model. This is kind of tedious using the volume viewer, especially when many volumes are loaded concurrently

Would it be possible to add next/previous volume buttons as shortcuts for this? I would envision this as follows:

If multiple volumes are currently displayed, display the one with the lowest #ID and undisplay the rest.

If a single volume is displayed, hide it and display the one with the next or previous ID (in a circular fashion, such that the next from the highest ID is the first ID.

I have similar shortcuts in Coot which I use all the time and find very helpful for this purpose.

Cheers
Oli

Change History (1)

comment:1 by Tom Goddard, 8 years ago

This would be easy to add as two toolbar buttons. I plan to support user-defined toolbars and toolbar buttons that could easily handle this case. While some toolbar buttons translate into a command, these need to form the command using some Python code that figures out the next or previous model id number. But that is very simple Python code. We can try it after I add the user-toolbar mechanism.

While this could be integrated into the volume viewer panel, I think it is too specialized and rarely useful to take up real-estate on that panel. Maybe in the future some optional configuration would allow adding such controls.

Note: See TracTickets for help on using tickets.