1. 08 Jan, 2019 1 commit
  2. 17 Sep, 2018 1 commit
  3. 13 Sep, 2018 1 commit
  4. 25 May, 2018 1 commit
  5. 18 May, 2018 1 commit
    • Kitware Robot's avatar
      ExternalData: Convert content links from MD5 to SHA512 · d6d05b2a
      Kitware Robot authored
      Populate a script with `map_<md5>=<sha512>` variable settings and
      then run the following to convert the content link files:
      
          git ls-files -- '*.md5' | while read f; do
            md5="$(cat "$f")"
            sha512="$(eval echo \${map_$md5})"
            rm "$f"
            echo $sha512 > ${f%.md5}.sha512
          done
      d6d05b2a
  6. 08 May, 2018 3 commits
    • David Gobbi's avatar
      Fix misuse of purportedly boolean Border. · 8847a29e
      David Gobbi authored
      The vtkImageResliceMapper was setting "Border" to 2, even though
      the API suggests that it is meant to be boolean.  This commit adds
      a new method called SetBorderThickness().
      8847a29e
    • 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
    • David Gobbi's avatar
      Fix thin border around vtkImageResliceMapper · 54e3614a
      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.
      54e3614a
  7. 20 Dec, 2017 1 commit
  8. 19 Dec, 2017 1 commit
  9. 05 Dec, 2017 2 commits
  10. 04 Dec, 2017 1 commit
    • luzpaz's avatar
      Misc. typo fixes · e6590119
      luzpaz authored
      This commit removes double whitespace from source comments + fixes some other typos.
      e6590119
  11. 04 Oct, 2017 2 commits
    • Ken Martin's avatar
      manually convert more NULL to nullptr · de3c93a3
      Ken Martin authored
      This topic catches another batch of NULL conversions that
      clang did not handle for various reasons. It also includes
      a number of changes to comments and strings where NULL was
      used. It also catches some recent code changes where NULL
      was used instead of nullptr.
      de3c93a3
    • Kitware Robot's avatar
      Replace VTK_DELETE_FUNCTION with =delete. · 1ac2c008
      Kitware Robot authored
      Now that VTK requires a C++11 compiler we can ditch using custom typedefs to
      wrap =delete;
      1ac2c008
  12. 02 Oct, 2017 1 commit
  13. 29 Sep, 2017 1 commit
    • Andrew Bauer's avatar
      Improvements for vtkNew for stl containers and comparison operations · fd04b442
      Andrew Bauer authored
      Adding in functionality to allow inserting vtkNew objects into
      stl containers of vtkSmartPointer objects as well as comparisons
      between vtkNew objects and raw pointers. Also removing Get() and
      GetPointer() calls from vtkNew objects since in most instances we
      can just pass in the vtkNew<> object instead of having to use the
      Get() or GetPointer() methods to get the raw pointer.
      fd04b442
  14. 05 Sep, 2017 1 commit
  15. 26 Jul, 2017 2 commits
  16. 27 Apr, 2017 1 commit
  17. 14 Mar, 2017 1 commit
  18. 22 Jan, 2017 1 commit
    • Sean McBride's avatar
      const improvements to APIs and internal usage · 8b32854b
      Sean McBride authored
      - Made a few APIs' params const
      - Changed many usages of the evil GetBounds() to expect a const
        return value, even though it does not (yet?) return const
      - Slightly changed return values of vtkTextActor3D::GetBounds()
        to return its own ivar instead of its ImageActor's
      8b32854b
  19. 16 Jan, 2017 1 commit
  20. 23 Sep, 2016 2 commits
    • Kitware Robot's avatar
      Reindent using the reindentation script. · f830ff47
      Kitware Robot authored
      This commit reindents the code with the following utility:
      Utilities/Maintenance/vtk-reindent-code.py
      
      This utility changes the positions of the braces so that they are no
      longer indented relative to the code block they reside in.
      
      The bash command line used was the following:
      
      for d in Charts Common Deprecated Domains Examples Filters GUISupport \
               Geovis IO Imaging Infovis Interaction Parallel Rendering \
               Testing Views Web Wrapping; do
        for e in cxx cxx.in txx txx.in hxx hxx.in h h.in c c.in; do
          find "${d}" -name "*.${e}" -exec \
            python Utilities/Maintenance/vtk_reindent_code.py {} +
        done
      done
      f830ff47
    • David E. DeMarle's avatar
      replace VTK's nonstandard Doxygen with standard markup · 6a7e5148
      David E. DeMarle authored
      generated via:
      cd $VTKSRC
      perl Utilities/Doxygen/doc_header2doxygen.pl --to ~/tmp/vtkheaders .
      cp -r ~/tmp/vtkheaders/* .
      6a7e5148
  21. 12 Sep, 2016 1 commit
    • Haocheng LIU's avatar
      Rewrite all public&private dependency in module.cmake file · 6e113ad4
      Haocheng LIU authored
      The current dependency relationship in vtk is unclear and misleading.
      This MR tries to rewrite them based on header files inclusion of headers
      and source files in each module. Corner cases are considered and
      modules are sorted in alphabetical order to facilitate future reference.
      See details in my gitlab python based script project. In future we can continue
      using this script to clean the VTK Dependency easily from
      time to time.
      6e113ad4
  22. 19 Aug, 2016 1 commit
    • Bill Lorensen's avatar
      ENH: Introduce vtkMTimeType · 9333d9d1
      Bill Lorensen authored
      This is a fix for:
      #14310
      
      Windows applications that run for a long time report that rendered
      objects do not change. This is because the modified time on a Windows
      system is 32 bits. This causes overflows that defeat the modified time
      mechanism. This patch defines a new type, vtkMTimeType that is 64
      unsigned integer regardless of the architecture.
      
      A mechanism to provide backward compatibility is introduced. The
      preprocessor define "VTK_HAS_MTIME_TYPE" can be used in applications
      that must build against VTK versions that use the "unsigned long" type
      for MTime's.
      
      Methodology used to find MTime occurences:
      1) Identify files as follows:
         git grep "unsigned long" | grep ime | cut -d":" -f1,1 | sort | uniq
      2) Hand edit each of those files replacing "unsigned long" with
         "vtkMTimeType" where appropriate.
      3) Temporarily change typedef for vtkMTimeType to "double" to detect
         missing conversions
      9333d9d1
  23. 16 Aug, 2016 1 commit
  24. 08 Aug, 2016 1 commit
  25. 12 Jul, 2016 2 commits
  26. 07 Jul, 2016 2 commits
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION to many constructors · 1853e030
      Sean McBride authored
      vtk(.*)\(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1\&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\(const vtk\1 &\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1 \&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1 & \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1 \& ) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1& \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1\& ) VTK_DELETE_FUNCTION;
      
      vtk(.*) \(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1 (const vtk\1\&) VTK_DELETE_FUNCTION;
      1853e030
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION for operator= · 2d0e11ef
      Sean McBride authored
      (operator\s*=.*);\s*//\s*Not\s*implemented[\.]*
      to
      \1 VTK_DELETE_FUNCTION;
      
      After that, this finds basically nothing:
      
      operator.*implemented
      
      then manually reverted changed files in VPIC and KWSys folders.
      2d0e11ef
  27. 25 May, 2016 1 commit
    • Kitware Robot's avatar
      Remove all BTX and ETX markers from VTK headers · 4d127b1d
      Kitware Robot authored
      Perl was used to remove all the BTX and ETX markers from the code.
      The specific command that was run on all "vtk*.h" files was this:
          perl -0777 -i -pe 's/(\n* *\/\/ *[BE]TX *\n+)+/\n\n/g'
      
      This regex replaces each BTX/ETX line, plus any leading or trailing
      blank lines, with a single blank line.
      4d127b1d
  28. 20 May, 2016 1 commit
    • David Gobbi's avatar
      16130: Fix inconsistency in vtkImageSliceCollection. · ef167355
      David Gobbi authored
      The Bottom member of vtkCollection was not updated if the added slice
      replaced the previous bottom slice of the collection.  This caused an
      inconsistency in the data structure which could lead to a crash in
      subsequent operations.  I have rewritten the insertion code to reduce
      its complexity.
      ef167355
  29. 18 May, 2016 1 commit
  30. 09 Apr, 2016 1 commit
  31. 25 Mar, 2016 2 commits