Some more GUI improvements - #544
Merged
Merged
Conversation
Collaborator
Author
|
@bHimes |
twagner9
force-pushed
the
heat-map-to-png
branch
from
September 15, 2025 12:54
2eaf457 to
ba01cb6
Compare
twagner9
force-pushed
the
heat-map-to-png
branch
2 times, most recently
from
October 16, 2025 18:27
c8cac2e to
7a62fc1
Compare
twagner9
force-pushed
the
heat-map-to-png
branch
from
October 28, 2025 13:59
b399830 to
1ecf759
Compare
-Makes the first display instance a server with a listening socket in /tmp. Subsequent attempts to open a display (with arguments) will instead be opened in the existing instance of the display. It is possible to still have multiple displays by opening a new instance of the program without any arguments.
It can sometimes be useful for creating figures to used the binned form of the angular distribution plot. This adds a button to give that option.
-Only works for the currently displayed images that are rendered in the bitmap; slices or images that are further in the stack will not be saved, and images that are zoomed in single image mode will not be displayed either. -Image selection circles and coordinate selection circles will not be present as these are not actually rendered directly onto the bitmap. It may be useful to change this in the future, so users can save selection distances and image selections as a way to point more specifically to certain images.
Original bitmap saving to PNG would save the full client panel size, not just the part of the bitmap that contains the relevant info. This updates the logic so that only the relevant porition of the image is saved.
The cisTEM display program has some keyboard and mouse controls that are not immediately clear upon opening the display. This adds an option to the help menu that will open up the manual and explain some of these controls. In the future, this may also be a good place to add additional information on how a user might go about utilizing the display.
-DisplayFrame has a new option in the File menu that allows users to save their displayed image(s) as a PNG with a legend that displays a grayscale gradient displaying intervals of pixel values. -DisplayPanel now properly stores the number of images in the current view; before it would default to the maximum number of images that could fit on the panel instead of the number actually displayed.
cisTEM_display.cpp: -Now uses wxCmdLineParser to check for a switch, -n, which will allow users to open a new instance of cisTEM_display WITH arguments, instead of forcing users to open in the current display server. Requested by @timothygrant80. clang-format for MyRefinementResultsPanel.h
-DisplayPanel.cpp: Previously, the short_image_filename member of the DisplayNotebookPanel class was not being updated to store the wanted tab title, and would leave only an '*' character. This causes the assignment to happen during the OpenFile function instead of outside of it, so that the tab title will always be properly displayed. Also unifies the display when opening from CLI or the file opening dialog so that only the file name is displayed rather than the absolute path. The absolute path can still be displayed by hovering to get a tooltip. -cisTEM_display.cpp: gets the wanted tab title so that it can be passed to DisplayPanel::OpenFile and properly store the file name.
twagner9
force-pushed
the
heat-map-to-png
branch
from
December 5, 2025 16:11
1ecf759 to
4a2203c
Compare
timothygrant80
self-requested a review
May 19, 2026 16:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This update tackles a few different UX improvements:
Refinement Results
Previously the only heat map that could be saved as a PNG was the highly detailed one that showed every point plotted, as opposed to the binned heat map, which can sometimes be useful to save as well.
Display Program
This included several UX updates:
Fixes # (issue)
I have rebased my feature branch to be current with the master branch using to minimize conflicts and headaches
Which compilers were tested
These changes are isolated to the
How has the functionality been tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.
Checklist: