1. Feb 10, 2018
  2. Feb 06, 2018
  3. Feb 03, 2018
  4. Feb 01, 2018
  5. Jan 31, 2018
  6. Jan 25, 2018
    • John Harwell's avatar
      Resolve WB-773: Change default location of colorbar to tab not window: Default... · f63c766f
      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.
      f63c766f
    • John Harwell's avatar
      Resolve WB-772 Apply data normalization status when using Apply to Files: the... · b865bf86
      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.
      b865bf86
    • John Harwell's avatar
      Improve performance of border drawing by minimizing calls to... · 3a4e7c4a
      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.
      3a4e7c4a
    • John Harwell's avatar
      Changed border "Lines" drawing to use OpenGL line strip since it is faster... · d98d9b10
      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.
      d98d9b10
  7. Jan 23, 2018
  8. Jan 20, 2018
    • John Harwell's avatar
      Resolve WB-770 Histogram envelope is a straight line: In the Matrix4x4... · 66fe5e17
      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.
      66fe5e17
  9. Jan 19, 2018
    • John Harwell's avatar
      Resolve WB-696 Warning if NIFTI has both qform and sform invalid. A "file... · 357c66f0
      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.
      357c66f0
    • John Harwell's avatar
      Resolved some additional compilation warnings and fixed a compile error on... · 396dea09
      John Harwell authored
      Resolved some additional compilation warnings and fixed a compile error on windows for including OpenGL in FTGL.
      396dea09
    • John Harwell's avatar
      Correct some more compilation warnings. Added some additional Caret Assert... · d0d13fac
      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.
      d0d13fac
    • John Harwell's avatar
      Resolve WB-715 Too small font size warning: Text Annotations are drawn using a... · c6ef139f
      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.
      c6ef139f
    • John Harwell's avatar
      When the font height in pixels of the selected text annotations becomes "too... · 4fc75179
      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.
      4fc75179
    • John Harwell's avatar
      Added SET(CMAKE_POSITION_INDEPENDENT_CODE ON) to src/CMakeLists.txt. After... · 9a8b5717
      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.
      9a8b5717
    • John Harwell's avatar
      Move some OpenGL error processing out of Brain module and into Graphics so... · 77dc9c2e
      John Harwell authored
      Move some OpenGL error processing out of Brain module and into Graphics so other modules may test for OpenGL errors.
      77dc9c2e
    • John Harwell's avatar
    • John Harwell's avatar
      Fix some "narrowing" compilation warnings. · 8352b60e
      John Harwell authored
      8352b60e
  10. Jan 13, 2018
    • John Harwell's avatar
      Resolve WB-769 Surface ID node creates 'notch' in volume/surface contour... · 05543992
      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'.
      05543992
  11. Jan 12, 2018
  12. Jan 11, 2018