Skip to content
Snippets Groups Projects
  1. May 11, 2018
  2. May 10, 2018
  3. May 08, 2018
    • David Gobbi's avatar
      Backport 'reslicemapper-border' to release branch. · 508c2ada
      David Gobbi authored
      When MultiSamples are used in VTK (which is the default on Windows
      and Linux), a thin border appeared at the edge of the image if the
      the image pixel values were not zero at the edge.  The thin border
      is the result of the zero 'Background' value of vtkImageReslice.
      All of the "Background" pixels produced by vtkImageReslice are
      supposed to map to beyond edges of the polygon used to render the
      image texture.  However, MultiSamples causes the edge to be soft,
      and the coloring of these background pixels bleeds into the edge
      of the polygon.
      
      The solution is to tell vtkImageReslice to add a bit more edge
      tolerance when clamping its interpolation coordinates.  This moves
      the 'Background' beyond the edge of the polygon, so that these
      background pixels no longer bleed into view.
      508c2ada
  4. May 04, 2018
  5. May 01, 2018
  6. Apr 27, 2018
  7. Apr 26, 2018
  8. Mar 27, 2018
  9. Mar 26, 2018
    • Cory Quammen's avatar
      Fix out-of-bounds memory write · 77183b27
      Cory Quammen authored
      An out-of-bounds memory write could occur in GetSingleLoop() when the
      condition (pointCells->GetNumberOfIds() < 2). GetSingleLoop() adds a
      line cell to complete a loop in this case, but that fact was not
      accounted for in the caller when allocating the argument for the
      lineBool array. Fixed that, and cleaned up the code by using a
      std::vector instead of an array. Finally, added a test that exercises
      the condition to make sure it is tested.
      77183b27
  10. Mar 17, 2018
    • David Gobbi's avatar
      17265: Fix OpenGL2 vtkImageResliceMapper OOB issue · fd6b906b
      David Gobbi authored
      For OpenGL2, the vtkOpenGLImageSliceMapper:RenderPolygon was being
      called even if the slice specified by vtkImageResliceMapper was
      beyond the volume bounds.  This caused a regression: specifically,
      when the slice moved out-of-bounds the old polygon would be reused
      even though no polygon should be displayed at all.  The fix is for
      RenderPolygon to return early if no polygon should be displayed.
      
      Closes #17265
      fd6b906b
  11. Mar 12, 2018
  12. Mar 11, 2018
  13. Mar 10, 2018
  14. Mar 09, 2018
  15. Mar 08, 2018
  16. Feb 20, 2018
Loading