1. 04 Oct, 2017 1 commit
  2. 02 Oct, 2017 1 commit
  3. 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
  4. 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.
      a855cab0
  5. 05 May, 2017 1 commit
  6. 14 Mar, 2017 1 commit
  7. 01 Feb, 2017 1 commit
  8. 10 Jan, 2017 1 commit
    • Sean McBride's avatar
      Fixed many trivial cppcheck 1.77 warnings · ea372f58
      Sean McBride authored
      These are all new warnings vs the previous version, 1.76.1
      
      No real bugs found/fixed here.
      
      Most are either overwriting a never-read variable value,
      usually only at intialiazation, or a useless comparison.
      
      In a couple of places, threw in a const or did other minor reworking.
      ea372f58
  9. 05 Jan, 2017 1 commit
  10. 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 DeMarle's avatar
      replace VTK's nonstandard Doxygen with standard markup · 6a7e5148
      David DeMarle authored
      generated via:
      cd $VTKSRC
      perl Utilities/Doxygen/doc_header2doxygen.pl --to ~/tmp/vtkheaders .
      cp -r ~/tmp/vtkheaders/* .
      6a7e5148
  11. 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
  12. 11 Aug, 2016 1 commit
  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[\.]*
      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
  14. 27 Jun, 2016 1 commit
  15. 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
  16. 06 May, 2016 1 commit
    • David C. Lonie's avatar
      Replace SafeDownCast calls on arrays with vtkArrayDownCast. · 0d71a308
      David C. Lonie authored
      SafeDownCast performs a series of virtual calls and string comparisons,
      which is quite slow, especially when used in worker functions.
      
      vtkArrayDownCast will switch between SafeDownCast and the more
      efficient FastDownCast (only available for common vtkAbstractArray
      subclasses) depending on whether or not FastDownCast is defined for
      the specific array type.
      0d71a308
  17. 08 Mar, 2016 1 commit
  18. 22 Feb, 2016 1 commit
  19. 02 Dec, 2015 1 commit
  20. 20 Aug, 2015 1 commit
  21. 10 Jul, 2015 2 commits
  22. 06 Apr, 2015 1 commit
  23. 31 Mar, 2015 1 commit
    • Dan Lipsa's avatar
      Redesign "vtkGhostLevels" arrays and related ghost functionalties. · 4dee0274
      Dan Lipsa authored
      Co-authored-by: default avatarYuanxin Liu <leo.liu@kitware.com>
      Co-authored-by: Berk Geveci's avatarBerk Geveci <berk.geveci@kitware.com>
      
       -The semantics of each unsigned char in the ghost arrays changes:
        Instead of storing a numeric value representing how far a cell is
        from the boundary, it is now a bit field specified by
        vtkDataSetAttributes::CellGhostTypes and
        vtkDataSetAttributes::PointGhostTypes.  The bit field is consistent
        with VisIt specs.
      
      - Previously, filters strip all ghost cells they request from upstream
        before finalizing the output. This is no longer done.
      
      - vtkUniform grids previously supported blanking through member arrays
        vtkUniformGrid::CellVisibility and
        vtkUniformGrid::PointVisibility. These arrays are removed and the
        blanking functionality are supported through the new ghost arrays
        instead.
      
      - the "vtkGhostLevel" arrays for cell and point data are renamed to
        vtkDataSetAttributes::GhostArrayName() ("vtkGhostType").
      
      - the version for VTK Legacy files is increased to 4.0 and the version for
        VTK XML files is increased to 2.0. When reading older files we
        convert vtkGhostLevels array to vtkGhostType.
      4dee0274
  24. 16 Feb, 2015 1 commit
  25. 06 Jan, 2015 3 commits
  26. 18 Dec, 2014 1 commit
  27. 11 Dec, 2014 4 commits
    • David C. Lonie's avatar
      Fix vtkPExtractStructuredGrid extent issues. · 22f54281
      David C. Lonie authored
      Update the filter so that extents are properly managed in parallel.
      
      Change-Id: Ie3a39a7a147b639851a25c1e79fbc7c7f111afc9
      22f54281
    • David C. Lonie's avatar
      Fix vtkPExtractVOI extent issues. · 79ada2aa
      David C. Lonie authored
      Update the filter so that extents are properly managed in parallel.
      
      Change-Id: I2991f427a33b740b6679a469b2844f6b44b89ff5
      79ada2aa
    • David C. Lonie's avatar
      Fix vtkPExtractRectilinearGrid extent issues. · fd4b3e5a
      David C. Lonie authored
      Update the filter so that extents are properly managed in parallel.
      
      Change-Id: I480ab56b003e967f6b0f65e4c82fd6cea4a4a200
      fd4b3e5a
    • David C. Lonie's avatar
      Fix bugs in vtkStructuredImplicitConnectivity. · e335ba44
      David C. Lonie authored
      Removed some asserts in the registration functions, since often a
      plane or line is passed in place of a grid due to partitioning
      artifacts.
      
      Removed a value from the communication stream that was not being read
      and unsynchronizing the read/write process.
      
      This seemed to assume that the VOI would pass through every process's
      partition. Fixed that.
      
      Also patched a possible memory leak during grid registration.
      
      Change-Id: Ia16601c672225fc3a0c1a11480409394c3fd9e09
      e335ba44
  28. 21 Nov, 2014 1 commit
  29. 31 Oct, 2014 1 commit
    • Ken Martin's avatar
      Fix use of undefined vector behavior. · 2fc1358c
      Ken Martin authored
      The code was dereferencing an empty vector which is an undefined
      operation in C++. VisualStudio 10 specifically checks for out of
      range references and throws an exception causing the code to fail
      rather harshly.
      
      Change-Id: I81b30dc0886c75e6c7d47ab77b8d8d25f431e59b
      2fc1358c
  30. 09 Oct, 2014 1 commit
  31. 03 Jul, 2014 1 commit
    • Ben Boeckel's avatar
      modules: add modules to "kits" · e5203447
      Ben Boeckel authored
      The main kits are:
      
          vtkCommon
          vtkFilters
          vtkIO
          vtkImaging
          vtkInteraction
          vtkOpenGL (required due to a dependency cycle from
                     vtkRenderingOpenGL on vtkImagingHybrid)
          vtkParallel
          vtkRendering
          vtkViews
          vtkWrapping
      
      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"
      module.
      
      Change-Id: Icae0baa78d62cc0dcce84546541df600d4f311dd
      e5203447
  32. 18 Jun, 2014 1 commit