1. 27 Oct, 2015 1 commit
    • David Gobbi's avatar
      The vtkImageResliceMapper was needlessly recomputing. · af5d537c
      David Gobbi authored
      The ResliceNeedUpdate flag was not being reset after each update.  It
      looks like the developer (myself) was playing with this flag during a
      debugging session, and forgot to set it to the correct value before
      committing the code.
      af5d537c
  2. 26 Oct, 2015 1 commit
  3. 22 Oct, 2014 1 commit
    • David Gobbi's avatar
      Make streaming optional for the 3D image mappers. · 5e2432fb
      David Gobbi authored
      Previously, the default behavior of the 3D image mappers was to stream
      the data through the pipeline, meaning that only the part of the input
      image that was required to display one (possibly oblique) slice on the
      screen was updated.  However, this resulted in the UPDATE_EXTENT changing
      whenever a new slice was displayed, triggerring a pipeline update.
      
      The new default behaviour is to set the UPDATE_EXTENT to the WHOLE_EXTENT,
      so that the whole extent is updated on the first render, but no pipeline
      execution occurs on subsequent renders (e.g. while slicing through the data)
      unless the pipeline is modified.
      
      The StreamingOn() method can be used to revert to the old behavior.
      
      Change-Id: I76b31a2ae4b329885d755c2947b62f9a9474b88a
      5e2432fb
  4. 02 May, 2014 1 commit
    • David Gobbi's avatar
      Add SetSlabModeToSum() to vtkImageResliceMapper. · 048419fb
      David Gobbi authored
      This change allows vtkImageResliceMapper to produce images that look
      like digitally reconstructed radiographs.  It required a new property
      to be added to vtkImageReslice, called ScalarScale, so that the output
      intensity can be appropriately scaled to the slab thickness, which is
      specified in physical units of distance (typically millimeters).  An
      existing test was modified in order to test this new feature.
      
      A ScalarShift property was also added for symmetry with ScalarScale,
      plus an OutputScalarType property so that vtkImageReslice can output a
      different scalar type than its input (useful for avoiding overflow with
      SetSlabModeToSum()).
      
      This change also fixes a performance issue that was introduced in August
      2011 when the SetInterpolator() method was added: that change caused the
      scalar conversion to always clamp to the limits of the output type, even
      when clamping was unecessary.  Now, clamping is only done when needed.
      
      Change-Id: I5e55db509e8ec537632a7a7e063a3bc0c50d9d20
      048419fb
  5. 09 Apr, 2012 2 commits
    • VTK Developers's avatar
      Remove trailing whitespace from all source files · 2d323fc4
      VTK Developers authored
      Exclude ThirdParty, Utilities/MetaIO, and Utilities/KWSys as these
      are maintained outside VTK.
      
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      2d323fc4
    • VTK Developers's avatar
      Modularize VTK tree layout · cdd4d6fd
      VTK Developers authored
      Move source files from their former monolithic VTK location to their new
      location in modular VTK without modification.  This preserves enough
      information for "git blame -M" and "git log --follow" to connect
      modularized VTK files to their original location and history.
      
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>
      cdd4d6fd
  6. 08 Mar, 2012 1 commit
  7. 29 Dec, 2011 1 commit
    • David Gobbi's avatar
      BUG: Check if input updated since the image mapper updated. · b47d9ea7
      David Gobbi authored
      When an input to vtkImageSliceMapper had multiple consumers, if
      any of the consumers required a different extent than the mapper,
      then the mapper would get the wrong extent on its next update and
      crash.  Comparing the input's update time with the mapper's update
      time allows the update to be forced when necessary.
      
      Change-Id: I248ccf2b8cb7bd37d0e9ba894775d741c3c389bb
      b47d9ea7
  8. 14 Dec, 2011 1 commit
    • David Gobbi's avatar
      BUG: Rendering bug when switching to interactive mode. · 0ca6c14c
      David Gobbi authored
      The switch to interactive rendering during to camera pan, zoom
      failed to occur, resulting in the full-screen texture, which is
      used for non-interactive rendering, to be panned or zoomed so
      that it no longer filled the screen.
      0ca6c14c
  9. 11 Dec, 2011 1 commit
  10. 08 Dec, 2011 1 commit
  11. 23 Nov, 2011 1 commit
  12. 02 Nov, 2011 1 commit
  13. 05 Oct, 2011 1 commit
  14. 02 Oct, 2011 1 commit
  15. 13 Sep, 2011 1 commit
    • David Gobbi's avatar
      ENH: Image interpolator classes for VTK · b6f5efe3
      David Gobbi authored
      Move the interpolation code out of vtkImageReslice so that it can
      be used by other classes.  This makes the interpolation routines
      usable from other VTK classes and from the wrapper languages.
      
      The vtkImageSincInterpolator class adds windowed sinc interpolators
      such as Lanczos and includes an on/off switch for antialiasing.
      
      Change-Id: I81314cc51c7d5ec1276b95807392af369ac3ef19
      b6f5efe3
  16. 10 Sep, 2011 2 commits
  17. 10 Aug, 2011 1 commit
  18. 22 Jul, 2011 1 commit
  19. 27 Jun, 2011 1 commit
  20. 25 Jun, 2011 3 commits
  21. 24 Jun, 2011 1 commit
  22. 23 Jun, 2011 2 commits
  23. 22 Jun, 2011 1 commit
  24. 18 Jun, 2011 2 commits
  25. 17 Jun, 2011 1 commit
  26. 15 Jun, 2011 3 commits
  27. 13 Jun, 2011 1 commit
    • David Gobbi's avatar
      ENH: Add LOD-style behavior to vtkImageResliceMapper. · 7fe8069d
      David Gobbi authored
      Now the default interactive behavior is to do 3D reslicing at
      the resolution of the data set, followed by magnification via
      the texture mapping.  Non-interactive rendering still does 3D
      reslicing at the screen resolution using double-precision math
      for the highest quality results.
      7fe8069d
  28. 31 Mar, 2011 1 commit
  29. 26 Mar, 2011 1 commit
  30. 23 Mar, 2011 1 commit
  31. 19 Mar, 2011 1 commit
  32. 15 Mar, 2011 1 commit