- Feb 10, 2018
-
-
Tim Coalson authored
-
- Feb 06, 2018
-
-
John Harwell authored
WB-723 Volume surface outline thickness should scale with tab height: Changed default thickness to 0.4%
-
John Harwell authored
WB-776 Change to Default Tabs: Change View section of toolbar so that the radio buttons for model selection match the default tabs (Montage, Volume, All, Chart) followed by non-default tabs Surface and Chart Old.
-
- Feb 03, 2018
-
-
John Harwell authored
Resolve WB-776: Change to Default Tabs: Default tabs are now limited to Montage, Volume, All, Chart.
-
John Harwell authored
Resolve WB-723 Volume surface outline height should scale with tab height: Thickness of the line is now a percentage of the viewport height.
-
- Feb 01, 2018
-
-
John Harwell authored
Fixed drawing of volume surface outline on volume slices in "All" view so that outlines "behind" the slices are not visible. Solution was to enable depth testing. Also fixed crash when switching to oblique slice drawing in ALL vlew by calling oblique slice drawing instead of orthogonal slice drawing.
-
- Jan 31, 2018
-
-
John Harwell authored
Updates for WB-766 Lock Window/Tab Aspect Ratio Popup: Dialog has been updated to include a "do not show again" checkbox.
-
John Harwell authored
-
- Jan 25, 2018
-
-
John Harwell authored
Resolve WB-773: Change default location of colorbar to tab not window: Default location for colorbar is now TAB for overlays including the chart overlays.
-
John Harwell authored
Resolve WB-772 Apply data normalization status when using Apply to Files: the normalization status (a file property) is now copied to the selected files.
-
John Harwell authored
Improve performance of border drawing by minimizing calls to Surface::getTopologyHelper(). When drawing borders, the border point coordinates are converted from barycentric to cartesian coordinates and Surface::getTopologyHelper() was called for each point in the border. This has been changed so that Surface::getTopologyHelper() is called once for each border and the topology helper is then passed as a parameter to the conversion process for each point. On my Mac, this resulted in about a 20% reduction in time required to draw a large number of surfaces with many borders. Apple's Instruments Tool had indicated that significant time was spent in locking and unlocking of the mutex in Surface::getTopologyHelper. Also, fixed drawing of 'Lines' border drawing so that it uses OpenGL line segments so that when 'unstretched lines' is enabled, segments can be skipped.
-
John Harwell authored
Changed border "Lines" drawing to use OpenGL line strip since it is faster than the new "Polyline" drawing and added a new border drawing type "Polylines" that uses the new Polyline drawing. While the OpenGL line drawing is faster, the line width is limited by OpenGL the quality of the lines may be lower (no joins where line segments meet). The polyline drawning is slower but it is of higher quality (joins ends of line segments) and is not limited in width.
-
- Jan 23, 2018
-
-
John Harwell authored
Re-resolve WB-765 Upload Scene File to BALSA Updates: Moved "Upload" button to bottom of dialog (actually uses the OK button).
-
John Harwell authored
Added method to set the enabled status for any dialog "standard button" to WuQDialog. Added method to set the enabled status for the OK button to WuQDialogModal.
-
John Harwell authored
On the scene dialog: When the selected scene file is empty (contains zero scenes), disable the "List Files", "Zip", and "Upload" buttons.
-
John Harwell authored
-
John Harwell authored
Fixed problem with surface space and stereotaxic space annotations disappearing (going behind) a flat surface when the surface view zooming value is less than one. The solution is to disable depth testing when drawing an annotation in surface/stereotaxic space on a flat surface. An alternative that also fixed the problem is when scaling the view of a flat surface, always use a value of one for scaling in Z in BrainOpenGLFixedPipeline::applyViewingTransformations(). This solution might affect the ‘3D’ view of some shapes.
-
- Jan 20, 2018
-
-
John Harwell authored
Resolve WB-770 Histogram envelope is a straight line: In the Matrix4x4 implementation, logic was present to 'fix numerical error' which changed 'near zero' values to zero and this caused the polyline algorithm (converts line segments to triangle) to fail when a axis/dimension was large. By making the value zero, it caused an incorrect conversion (matrix multiplication) of model coordinates to window coordinates. Usage of the 'fix numerical error' code has been removed and resolves this issue.
-
- Jan 19, 2018
-
-
John Harwell authored
Resolve WB-696 Warning if NIFTI has both qform and sform invalid. A "file warning message" (with methods to 'add' and 'get' warnings and the 'get' method will clear the file's warnings) has been added to the DataFile class. At the end of VolumeFile::readFile, hasGoodSpatialInformation() is called and if it returns false, the 'add warning' method is called with a string indicating that both sform and qform are invalid. After any type of file reading (load file, read spec file, show scene, etc.), all data files are queried for file read warnings. If there are any file warnings, a dialog is displayed listing the file(s) and warnings(s). Note: If the user requests loading of a Scene and a data file in the Scene is already in memory, the data file is NOT reloaded to save time. In this case, no warning will be scene since the file remains in memory and is not read from disk.
-
John Harwell authored
Resolved some additional compilation warnings and fixed a compile error on windows for including OpenGL in FTGL.
-
John Harwell authored
Correct some more compilation warnings. Added some additional Caret Assert Macros, CaretAssertDebugCompileOnly() and CaretAssertParameterDebugCompileOnly() that can be used to 'disable' variables and parameters that are only use in other CaretAssert() statements.
-
John Harwell authored
Resolve WB-715 Too small font size warning: Text Annotations are drawn using a "font height" that is a "percentage of the viewport's height". When the text annotation is drawn, the "percentage of viewport height" is converted to a "pixel height" and a font with the desired pixel height is requested and the text is drawn. However, when the font pixel height gets too small, FTGL may generated an OpenGL error and some or all characters fail to draw. These font drawing errors have been found to occur when the pixel height is 6 to 7. So, a "font too small height" has been set to 8. If when drawing text the height of the font is 8 or less, set a "text too small" property on the text annotation. In Annotation Toolbar's font height control, draw the numeric height value in red if one or more of the selected text annotations has its "text too small" property set.
-
John Harwell authored
When the font height in pixels of the selected text annotations becomes "too small" (8 pixels), the numerical value in the font size spin box will become red.
-
John Harwell authored
Added SET(CMAKE_POSITION_INDEPENDENT_CODE ON) to src/CMakeLists.txt. After the previous commit with changes for processing of OpenGL errors, FTGL code failed to compile on both Ubuntu and RedHat Linux with a 'position independent code' issue in Qt. Adding the property fixed compilation on both Linux operating systems.
-
John Harwell authored
Move some OpenGL error processing out of Brain module and into Graphics so other modules may test for OpenGL errors.
-
John Harwell authored
-
John Harwell authored
-
- Jan 13, 2018
-
-
John Harwell authored
Resolve WB-769 Surface ID node creates 'notch' in volume/surface contour outline: This problem occurred when the volume slice had the same coordinate as a vertex which causes an intersection problem. Code to prevent the intersection problem moved the vertex slightly away from the plane and this code was mistakenly assigning the Y value to the Z value causing the 'notch'.
-
- Jan 12, 2018
-
-
John Harwell authored
-
John Harwell authored
-
John Harwell authored
WB-765 Upload Scene File to BALSA Updates: Revised algorithm for finding the base directory to split up directories into components and compare the directory components to find the base path.
-
John Harwell authored
Added several static methods to AString for conversion of QStringList to a vector, joining AStrings, and counting matches in vectors of AStrings.
-
John Harwell authored
Again resolving WB-651 Cycle through sdseries without needing yoking to layer: In Chart Overlay Layers, the Spin box was 1..N and the rows in the combo box were 0..N-1. This has been corrected to that both are 1..N.
-
John Harwell authored
-
John Harwell authored
Tooltip has been updated for "List Files..." button; dialog that lists files is resized to show all files (not too narrow); and text in dialog has been reformatted to improve readability.
-
John Harwell authored
-
- Jan 11, 2018
-
-
John Harwell authored
Update to WB-768 Scene Data Flies Listing: Now show scene file, automatic base path, and show the data files with paths relative to the scene file.
-
John Harwell authored
Initial implementation of WB-768: Add a button to the scene file dialog that shows all data files in selected scene file. For now, a button containing the text "List Files..." has been added near the top of the Scene Dialog, just to the left of the "Open" button. When the "List Files..." button is clicked, a dialog is displayed listing all data files for all scenes in the scene file. If any data files are missing, the path of the file is prefixed with "MISSING:".
-
John Harwell authored
Changed minimum width for polygonal lines (used by volume surface outline from 1.0 pixels to 0.001 pixels.
-
John Harwell authored
Initial implementation of WB-766 Lock Window/Tab Aspect Ratio Popup: When the presses the Annotate mode and the neither the selected tab nor the window have their aspect locked, display a dialog advising the user to lock tab and window aspects.
-