1. 08 Jan, 2019 1 commit
  2. 15 Apr, 2018 1 commit
    • David Gobbi's avatar
      Limit number of threads in vtkImageHistogram · 7b5a07bb
      David Gobbi authored
      This new code ensures that the number of threads created will not
      exceed the number of pieces that the data has been divided into,
      so each thread will have at least some work to do.
      It would probably be wise to go even further, and set a reasonable
      minimum piece size so that fewer threads are allocated for smaller
  3. 20 Mar, 2018 1 commit
    • Sean McBride's avatar
      Applied clang-tidy modernize-use-equals-default fixes · 84ec1d57
      Sean McBride authored
      This required some clean up, because the automatic changes borked a couple of files, but mostly resulted in stupid whitespacing. A few find/replace fixed things up.
      There are now some duplicate semis because it did changes like:
        ~AMRIndexIterator() override{};
        ~AMRIndexIterator() override= default;;
      Note there was a pointless semi before, which clang-tidy didn’t expect / account for.
      My next commit will remove them.
  4. 14 Dec, 2017 1 commit
  5. 01 Dec, 2017 1 commit
  6. 04 Oct, 2017 1 commit
  7. 02 Oct, 2017 1 commit
  8. 26 Jul, 2017 1 commit
    • Kitware Robot's avatar
      Replace many NULL and 0 occurances with nullptr · a855cab0
      Kitware Robot authored
      This topic is the result of running clang-tidy to
      modernize our usage of NULL and 0 to nullptr. It also
      includes some manual and semi manual changes where
      clang-tidy would not be expected to work (such as in
      comments, or classes not compiled on this build)
      There are definitely many comments and occurances that
      this topic misses that we will need to fix over time.
  9. 16 Jan, 2017 1 commit
  10. 26 Sep, 2016 1 commit
  11. 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:
      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 {} +
    • 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/* .
  12. 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.
  13. 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[\.]*
      vtk\1(const vtk\1\&) VTK_DELETE_FUNCTION;
      vtk(.*)\(const vtk\1 &\);\s*//\s*Not implemented[\.]*
      vtk\1(const vtk\1 \&) VTK_DELETE_FUNCTION;
      vtk(.*)\( const vtk\1 & \);\s*//\s*Not implemented[\.]*
      vtk\1( const vtk\1 \& ) VTK_DELETE_FUNCTION;
      vtk(.*)\( const vtk\1& \);\s*//\s*Not implemented[\.]*
      vtk\1( const vtk\1\& ) VTK_DELETE_FUNCTION;
      vtk(.*) \(const vtk\1&\);\s*//\s*Not implemented[\.]*
      vtk\1 (const vtk\1\&) VTK_DELETE_FUNCTION;
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION for operator= · 2d0e11ef
      Sean McBride authored
      After that, this finds basically nothing:
      then manually reverted changed files in VPIC and KWSys folders.
  14. 08 Mar, 2016 1 commit
  15. 10 Feb, 2016 4 commits
    • David Gobbi's avatar
      Add PrepareImageData to be called from RequestData. · c20637a7
      David Gobbi authored
      This method allocates the output data, copies attributes from the input
      data, and optionally fills provided arrays with the intput and output data
      objects for use by the ThreadedRequestData method.
    • David Gobbi's avatar
      Join adjacent extents before execution. · 0c420886
      David Gobbi authored
      Each call to ThreadedRequestData has a high overhead, so join adjacent
      piece extents in order to minimize the number of calls.
    • David Gobbi's avatar
      Rewrite vtkThreadedImageAlgorithm::SplitExtent(). · f7b2afd7
      David Gobbi authored
      The SplitExtent method now has three modes (SLAB, BEAM, BLOCK) and can
      also take a SplitPath that specifies the order in which the axes are
      split.  The SplitPathLength can be used to avoid splitting certain axes.
    • Vincent Chen's avatar
      Add thread-local storage to SMP image filters. · 83aa18b1
      Vincent Chen authored
      The vtkImageDifference and vtkImageHistogram filters compute statistics
      over the image, which means that they have a reduction step that must
      run after the multi-threading has finished.
      This code was jointly authored by Vincent Chen <applekey@gmail.com> and
      David Gobbi <david.gobbi@gmail.com>.
  16. 28 Jan, 2016 1 commit
  17. 29 Sep, 2015 2 commits
  18. 26 Mar, 2015 1 commit
  19. 18 Dec, 2014 1 commit
  20. 11 Dec, 2014 1 commit
    • Sean McBride's avatar
      Unified mixed unsigned char/int usage to bool · b54bce1d
      Sean McBride authored
      Fixes -Wconversion warnings that pointed out the mixed use of
      unsigned char and int in these APIs.
      Switched to bool since the comments describe it as a 'flag'
      This is an API change, but shouldn't cause much trouble I hope.
      Change-Id: I0ded5ea638c646f9e5c7aa792fe93784cb9025b4
  21. 09 Oct, 2014 1 commit
  22. 07 Oct, 2014 1 commit
    • Bill Lorensen's avatar
      BUG: ImageAccumulate overflows for large images · a9527207
      Bill Lorensen authored
      If, in a large image, the count for a bin exceeds the max for an
      integer, the count overflows and reports the wrong value. This patch
      changes the output of ImageAccumulate to an image of vtkIdType.
      The patch include a test. To truly validate a configuration, the dimensions
      for the test should be set to 2048. For routine testing a small
      dimension is recommended.
      This bug was uncovered and analyzed by Gib Bogle while trying to use
      ImageAccumulate on very large tiff images.
      Change-Id: I284bf503e59461acf2c2d1ffb340daa4979582c2
  23. 03 Jul, 2014 1 commit
    • Ben Boeckel's avatar
      modules: add modules to "kits" · e5203447
      Ben Boeckel authored
      The main kits are:
          vtkOpenGL (required due to a dependency cycle from
                     vtkRenderingOpenGL on vtkImagingHybrid)
      Modules which deal with a specialization of another module belong to the
      kit related to the specialization (i.e., FiltersParallel and
      IOParallelXML both belong to the vtkParallel kit) to avoid circular
      dependencies that arise when put into the same kit as the "lesser"
      Change-Id: Icae0baa78d62cc0dcce84546541df600d4f311dd
  24. 23 Apr, 2013 1 commit
  25. 09 Apr, 2012 3 commits
    • VTK Developers's avatar
      Include module-wide headers and export macros · 144f03ca
      VTK Developers authored
      Include the module-wide header from every header in each module.
      Reference the export/visibility macro for the module.
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
    • VTK Developers's avatar
      Add modular VTK build system · 0c1471f1
      VTK Developers authored
      Add module.cmake, CMakeLists.txt, and other build system files.
      The modular VTK build system is not yet mature.  The monolithic build
      files had a lot of infrastructure.  The modular build files reproduce
      much of the functionality but some features will need to be restored
      later.  Document status and tasks in "TODO-Modularization.txt".
      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>
    • 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>