1. 27 May, 2019 1 commit
  2. 01 Aug, 2018 1 commit
  3. 20 Mar, 2018 1 commit
  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 Jan, 2017 1 commit
    • David Gobbi's avatar
      Prefer GetIncrements(incs) over getting a pointer · 0f2b56e4
      David Gobbi authored
      The GetIncrements() method calls ComputeIncrements(), and if you do not
      supply your own array, then the vtkImageData::Increments ivar is modified
      and returned.  This means that the signature of ComputeIncrements() that
      returns a pointer is not thread safe.
      0f2b56e4
  6. 23 Sep, 2016 1 commit
    • 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
  7. 19 Aug, 2016 1 commit
    • Bill Lorensen's avatar
      ENH: Introduce vtkMTimeType · 9333d9d1
      Bill Lorensen authored
      This is a fix for:
      vtk/vtk#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
  8. 08 Mar, 2016 1 commit
  9. 28 Jan, 2016 1 commit
  10. 20 Oct, 2015 1 commit
  11. 11 Sep, 2015 6 commits
    • Will Schroeder's avatar
      Used 200grit to polish the code (bugs fixes) · ec13363c
      Will Schroeder authored
      A series of bug fixes including: 1) gradient calculation error;
      2) addressing boundary edges interpolation in certain rare cases;
      3) setting scalar values (if requested) in one fill_n operation;
      4) correct treatment of normals.
      
      Also the documentation was improved, and a new .cxx test case was
      added.
      ec13363c
    • Bill Lorensen's avatar
      COMP: Member template function use on Mac · e897682a
      Bill Lorensen authored
      Some Mac compilers fail to compile member function calls with the
      redundant prefix:
      vtkFlyingEdges2DAlgorithm<T>:: and vtkFlyingEdges3DAlgorithm<T>::.
      
      Removing (the redundant) prefix resolves the compilation issues and
      seems to be portable.
      
      Also replaced static const unsigned char with enums. Some Macs had
      trouble resolving the static consts at link time.
      e897682a
    • Will Schroeder's avatar
      Refactored code and thread over slices · b3606ce7
      Will Schroeder authored
      All templated code has been consolidated into a single templated
      class. The vtkSMPTools::For() has been rewritten to loop over slices
      rather than edges (a tad faster and the code is cleaner).
      b3606ce7
    • Will Schroeder's avatar
      Added vtkSMPTools integration to thread algorithm · 4aad3c6a
      Will Schroeder authored
      Each of the three passes of the algorithm has been integrated
      into the vtkSMPTools. This enables TBB and X-Kaapi support (as
      well as well as sequential and simple vtkMultiThreader
      capabilities). Note that there is no distinction between a serial
      and parallel version of FlyingEdges (i.e., separate implementations).
      4aad3c6a
    • Will Schroeder's avatar
      Cleaned up warnings · 17dd6c5c
      Will Schroeder authored
      17dd6c5c
    • Will Schroeder's avatar
      All working before SMP conversion · 1a965eb9
      Will Schroeder authored
      1a965eb9