- Jan 13, 2021
-
-
John Harwell authored
WB-900 Charting Revisions: Correct line layer normalization to apply the absolute value to the input data values (was applying absolute value result of transformed data). Update normalization pop-up widget to show order of operations.
-
John Harwell authored
WB-918 Transparency channel in captures: When the Develop Menu is enabled (in Preferences: Misc tab), add "Show Pixel RGBA..." to the View Mode's pop-up (right-click) menu. When selected, a dialog is displayed containing the RGBA values in the frame buffer for the pixel under the mouse.
-
- Jan 12, 2021
-
-
John Harwell authored
WB-925 Some PNG format icon files cause warnings: The warning messages produced by Qt when reading the PNG images can be safely ignored. So, the Qt message handler callback was moved out of desktop.cxx and into a new class WorkbenchQtMessageHandler. This new class also includes support for suppressing messages and currently suppresses the Qt PNG ICC profile messages. It does not look like wb_command has a Qt message handler, and WorkbenchQtMessageHandler could also be used for wb_command.
-
- Jan 09, 2021
-
-
John Harwell authored
-
John Harwell authored
WB 918 Transparency channel in captures: Had a git merging nightmare and a commit was lost and I think I have found all of the changes that were lost. Open Blending (opacity/transparency) did not function as I thought. Calling glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) results in ALPHA values less than one in the frame buffer. Replacement is to use the call to glBlendFuncSeparate() as shown later in this comment. This function allows blending only the RGB values while preserving 1.0 as the alpha value. This corrects the colors when drawing so that colors are blended properly with 1.0 for the alpha channel. It also fixes the problems with image colors. The coloring is different between the two functions. To view the old coloring, uncheck "Separate RGB / Alpha Blending" in the Develop Menu. glBlendFuncSeparate(GL_SRC_ALPHA, /* source (incoming) RGB blending factor */ GL_ONE_MINUS_SRC_ALPHA, /* destination (frame buffer) RGB blending factor */ GL_ZERO, /* source (incoming) Alpha blending factor */ GL_ONE); /* destination (frame buffer) Alpha blending factor */
-
- Jan 08, 2021
-
-
John Harwell authored
WB-918 Transparency channel in captures: Ensure alpha is 1.0 for background by ignoring alpha component of background color.
-
John Harwell authored
-
John Harwell authored
Resolve WB-930 Add 'Window Annotations' to Manual Tile Tabs Z-order: Z-order for window annotations added to manual configurations; drawing updated; editor dialog updated.
-
John Harwell authored
Resolve WB-929 Annotations are ignoring Z-order in Manual Tabs: Annotations for all tabs were drawn after drawing all tabs. Now, a tab's annotations are drawn immediately after drawing the tab's content.
-
John Harwell authored
WB-907 Draw free hand lines: Improvements/fixes for editing polyline annotations in various annotation coordinate spaces.
-
John Harwell authored
-
John Harwell authored
Fixed bug that resulted in wb_view crashing if the user attempted to create an image annotation by dragging the mouse. During this time, the image is invalid, and a message logged at the warning level was changed to the fine level.
-
John Harwell authored
WB-907 Draw free hand lines: Continuing implementation including drawing with mouse clicks; correction of line width; ESC key to exit drawing; and other improvements.
-
John Harwell authored
Update polygonal line drawing: if a line contains one vertex, draw the vertex as a point symbol instead of drawing nothing.
-
John Harwell authored
-
John Harwell authored
WB-907 Draw free hand lines: First part of implementation: File reader and writer updated for new "PolyLine" annotation; drawing poly lines; edit poly line coordinates using mouse, and select polylines.
-
John Harwell authored
WB-907 Draw freehand lines: Renamed AnnotationOneDimensionalShape to AnnotationTwoCoordinateShape and renamed AnnotationTwoDimensionalShape to AnnotationOneCoordinateShape so that the names reflect the number of coordinates uses by the annotation. WB-907 will add line strip types that will be multi-coordinate (more than 2) annotations.
-
John Harwell authored
WB-907 Draw freehand lines: Renamed AnnotationOneDimensionalShape to AnnotationTwoCoordinateShape and renamed AnnotationTwoDimensionalShape to AnnotationOneCoordinateShape so that the names reflect the number of coordinates uses by the annotation. WB-907 will add line strip types that will be multi-coordinate (more than 2) annotations.
-
John Harwell authored
WB-917 Workbench Video Player: QMovie is another option instead of using QMedia for playing videos. Added supported formats for QMovie to the About Workbench -> More dialog. With Qt 5.14.2, supported formats for QMovie are GIF and WEBP.
-
John Harwell authored
WB-919 New view mode for images: Update DataFileTypeEnum so that is supports different extensions for reading and writing files. With the version of Qt on my Mac, it supports readings some formats that it does not write (GIF is one example).
-
John Harwell authored
Displaying the About Workbench Dialog on my Mac caused this warning message "WARNING: Populating font family aliases took 242 ms. Replace uses of missing font family "13" with one that exists to avoid this cost". The font was set in the HTML link that was placed in the label. To fix the problem, the font is now set on the QLabel.
-
John Harwell authored
WB-919 New view mode for images: Add list of qt supported images formats and a subset of them supported by Workbench to the About Workbench More Information dialog.
-
- Jan 06, 2021
-
-
Tim Coalson authored
-
- Jan 05, 2021
-
-
John Harwell authored
-
- Dec 24, 2020
-
-
John Harwell authored
WB-928 Allow foci symbol size to be percentage or millimeters: Fix tooltip for the size method selection so that it can be used with multiple data types (foci and identification for now).
-
John Harwell authored
-
John Harwell authored
-
- Dec 23, 2020
-
-
John Harwell authored
WB-926 Long scene descriptions cut off in scene selector: Changed default to show full scene description in scene dialog ("-scene-scroll 2"). -
John Harwell authored
WB-928 Allow foci symbol size to be percentage or millimeters: Percentage sizing has been added for foci symbols in both surface and volume displays (millimeters was pre-existing functionality).
-
- Dec 15, 2020
-
-
John Harwell authored
WB-907 Draw Free Hand Lines: When an unrecognized child of AnnotationGroup is encountered, issue a warning instead of a fatal error. This will occur if a new annotation type has been added but not supported by the version of wb_view. The warning allows reading the remainder of the annotation file.
-
- Dec 12, 2020
-
-
John Harwell authored
WB-909 New View Mode for Images: Sort image files so that they are easier to find in the overlay toolbox.
-
- Dec 09, 2020
-
-
Tim Coalson authored
-
Tim Coalson authored
-
- Dec 08, 2020
-
-
John Harwell authored
-
John Harwell authored
WB-926 Long scene descriptions cut off in scene selector: Added a command line option, "-scene-scroll <number>" to wb_view that allows testing of two different options on the scene dialog for resolving this issue. If this option is not specified, wb_view uses the existing functionality that chops off long scene descriptions. "wb_view -scene-scroll 1" places the description of the each scene inside a scroll area so that the user can scroll and read long scene descriptions. The problem with this option is that it places "scroll regions" (for each scene) inside a larger scroll region (the scroll bar that scrolls all scenes). On a Mac (and maybe other platforms) this is cumbersome with trackpad scrolling. If the mouse is over a scene description, the scene description is scrolled but if the user moves the mouse left of the scene description, the all scenes are scrolled. "wb_view -scene-scroll 2" displays the full description for each scene. If each scene contains a long description, the user will need to perform more scrolling to view each of the available scenes. In my opinion, this is the preferred solution. For testing a scene file that contains several scenes with long descriptions, try /mnt/myelin/caret7_gui_design/data/HCP_WB_Tutorial_1.0/WB_1.0_SCENES.32k_fs_LR.scene. Keep in mind this is an old scene file that contains "default descriptions" for each scene. These "default descriptions" have been disabled for new scenes (but can be inserted using the "Add Window Info" button on the new scene dialog).
-
John Harwell authored
In the dialog displayed while loading a spec file or a showing a scene, a counter and number of total files in the progress dialog.
-
John Harwell authored
-
John Harwell authored
-
- Dec 05, 2020
-
-
Tim Coalson authored
-
John Harwell authored
WB-919 New view mode for images: Fixed bug with all tabs containing images get transformed the same way. The media transformations were mistakenly included in the copying of transformations for brainordinate model tab yoking.
-