1. Jul 06, 2019
  2. Jun 27, 2019
    • John Harwell's avatar
      WB-860 NIFTI Volume Time Series Issues: Volume File was not overriding... · a8f2e51a
      John Harwell authored
      WB-860 NIFTI Volume Time Series Issues: Volume File was not overriding getMapIntervalStartAndStep() to report the time step and this has been fixed so that time-series line charts display correctly.  For any previously created line-series charts, one must reselect the brainordinate to correct the chart.
      a8f2e51a
  3. Jun 26, 2019
    • John Harwell's avatar
      WB-860 NIFTI Volume Timeseries Issues: VolumeFile was always reporting... · e846e142
      John Harwell authored
      WB-860 NIFTI Volume Timeseries Issues: VolumeFile was always reporting NIFTI_UNITS_UNKNOWN as it failed to override CaretMappableDataFile::getMapIntervalUnits().  VolumeFile now overrides getMapIntervalUnits() and it returns NIFTI_UNITS_SEC if the time dimension is greater than one and NiftiHeader::getTimeStep() is greater than zero.
      e846e142
    • John Harwell's avatar
      For the experimental texture volume drawing, more enhancements including... · 3ad1deab
      John Harwell authored
       For the experimental texture volume drawing, more enhancements including addition of a developer flag to smooth voxel drawing (remove aliasing artifacts) and use of the GLM library to replace some GLU functions.
      3ad1deab
    • John Harwell's avatar
      Added OpenGL Mathematics (GLM) library that will be used in future OpenGL... · ed1b8cab
      John Harwell authored
      Added OpenGL Mathematics (GLM) library that will be used in future OpenGL code.  From the GLM description: "a header-only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specifications. An extension system provides extended capabilities such as matrix transformations and quaternions."  It also contains functions that replace some of the GLU functions and some that replace OpenGL functions that are in the Fixed Pipeline OpenGL  API but not in the Programmable Pipeline OpenGL.  On Linux, the CMakeLists.txt file uses the PKG_CHECK_MODULES command to look for a GLM package and, if found, is used instead of the GLM headers in the Workbench source code.
      ed1b8cab
  4. Jun 22, 2019
  5. Jun 20, 2019
  6. Jun 19, 2019
  7. Jun 18, 2019
  8. Jun 15, 2019
  9. Jun 14, 2019
  10. Jun 13, 2019
  11. Jun 11, 2019
  12. Jun 04, 2019
  13. May 31, 2019
    • John Harwell's avatar
      This change only affects the usage of QOpenGLWidget which is used with Qt... · 2c21aac6
      John Harwell authored
      This change only affects the usage of QOpenGLWidget which is used with Qt 5.12.0 on John's Mac.  All build systems use QGLWidget with Qt 5.7.x.   Anyway, there is a bug in QOpenGLWidget::repaint() as it does not function as described in the Qt documentation.  It is supposed to repaint the graphics (call paintGL()), before returning.  However, it does not and functions like QOpenGLWidget::update() and returns with the graphics being updated later by Qt.  There are two Qt bug reports for this (QT-BUG-74404 and QTBUG-53107).  A previous work-around made a call to QApplication::processEvents() after the call to repaint() and it appeared to fix the problem.  However, annotation dragging was found to be unusable (annotations kept moving after release of the mouse and did not follow the mouse) due to processEvents() allowing mouse event while still updating graphics.  Now, the call to processEvents() has been replaced with a call to grabFrameBuffer().  This captures an image and I assume it waits until the graphics have updated before capturing the image.  This fixes the problem with annotation dragging.
      2c21aac6
  14. May 30, 2019
    • John Harwell's avatar
      Unfortunately, the previous commit for keeping the main window active does not... · 0d21ff9a
      John Harwell authored
      Unfortunately, the previous commit for keeping the main window active does not function as desires on Linux.  It appears (on Linux) that the active window is always the top most window.  The functionality remains for Mac so that the Identification window is over the main window after an ID but the main window retains mouse focus.  A difference between the main window on Linux is that if the main window is not active, clicking any control (slice spin box), makes the window active.  On Mac it is different as the user must click the titlebar to make the window active (clicking a control such as slice spin box does not activate the window).
      0d21ff9a
    • John Harwell's avatar
      Previous commit for keeping main window active after identification operation... · 74b443ae
      John Harwell authored
      Previous commit for keeping main window active after identification operation was obscuring the identification window if it was behind the main window.  This fix (at least on Mac) keeps the main window as the active window (mouse focus) but keeps identification window visible over the main window.
      74b443ae
    • John Harwell's avatar
      When an identification operation was performed, the identification window... · b0f028d8
      John Harwell authored
      When an identification operation was performed, the identification window became the top window and the keyboard focus was moved to the identification window.  This has been changed so that the keyboard focus no longer is transferred to the identification window and the keyboard focus remains with the main window.
      b0f028d8
    • John Harwell's avatar
      Code that processed mouse wheel (track pad is reported as mouse wheel event)... · 84877ba2
      John Harwell authored
      Code that processed mouse wheel (track pad is reported as mouse wheel event) was using an obsolete function, QWheelEvent::delete(), and it was replaced with QWheelEvent::pixelDelta() and QWheelEvent::angleDelta() as a fallback.  This seems to have fixed the sort oscillation that was noticed when trying to use the track pad on Macs.
      84877ba2