1. 18 Nov, 2019 2 commits
    • Kitware Robot's avatar
      clang-format: reformat using clang-format-8 · ac76fe16
      Kitware Robot authored
      Run the `clang-format.bash` script to update all our C and C++ code to a
      new style defined by `.clang-format`.  Use `clang-format` version 8.0.
      * If you reached this commit for a line in `git blame`, re-run the blame
        operation starting at the parent of this commit to see older history
        for the content.
      * See the parent commit for instructions to rebase a change across this
        style transition commit.
    • Kitware Robot's avatar
      clang-format: add semicolons to macro calls · d9968f38
      Kitware Robot authored
      clang-format takes the lack of a semicolon as if it were an attribute or
      some other "chainable" call leading to bogus indentation. By using
      semicolons on all macro calls, the formatting comes out the way it
  2. 13 Nov, 2019 1 commit
  3. 12 Nov, 2019 1 commit
  4. 29 Apr, 2019 1 commit
    • Bill Lorensen's avatar
      BUG: Enabled floating point exceptions for tests · 252cad22
      Bill Lorensen authored
      The dynamic analysis tests have uncovered a number of floating point
      exceptions, mainly divide by zero. This MR enables floating point
      exceptions if tests are built with a debug build type and the
      compiler is a gnu compiler.
      Safety guards have been added to classes that exhibited exceptions.
      TestAdjustLowerBoundForLogPlot.cxx - Tried to take log10 of negative number
      TestlinePlotDouble - inf and nan used in test. Disable exceptions
      vtkChart.cxx - guards to protect against zero divide
      vtkChartBox.cxx - guards to protect against zero divide
      vtkInteractiveArea.cxx - trying to take log10 of negative number
      vtkPiecewisePointHandleItem.cxx - protect against degenerate lines
      vtkAMRSliceFilter.cxx - protect against zero length vector
      vtkLagrangianBasicIntegrationModel.cxx - guards to protect against zero divide
      UnitTestMultiThreshold - disable exceptions for one test that uses Nan()
      vtkIntersectionPolyDataFilter.cxx - guard acos range
      vtkPCAStatistics.cxx - guards to protect against zero divide
      vtkCubeAxesActor.cxx - guard against log10(0.0)
      vtkColorTransferFunction.cxx - guard to protect against zero divide
      TestGPURayCastIsosurface.cxx - disable exceptions, possible driver issue
      vtkDendrogramItem.cxx - check for degenrate line
      vtkDendrogramItem.h - comparison doesn't meet irreflexive requirements
  5. 10 Jan, 2019 2 commits
  6. 08 Jan, 2019 2 commits
  7. 31 Aug, 2018 1 commit
    • Ken Martin's avatar
      Add order independent translucent pass · b36e2563
      Ken Martin authored
      Same speed but much better end result than the old
      transparency code.
      Also fix a few classes that were not passing properties
      to their sub props.
      Fix medical example to make opaque objects opaque.
  8. 11 Jul, 2018 1 commit
  9. 17 Jun, 2018 1 commit
  10. 25 May, 2018 1 commit
  11. 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
  12. 21 Mar, 2018 2 commits
    • Sean McBride's avatar
      Removed a bunch of double semicolons at the end of lines · 2d148a8f
      Sean McBride authored
      154 occurances of ;;\n
    • 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.
  13. 16 Feb, 2018 1 commit
    • Ken Martin's avatar
      provide support for existing multitexture calls · bbc96ed3
      Ken Martin authored
      The old MapDataArrayTGoMultiTexture relied on
      being able to lock dowwn a specific texture unit
      which cannot be guaranteed as external code
      or render passes may bne uising that texture unit.
      Instead we support the method having the name of a texture
      along with the matching ethod in vtkProperty to name
      a texture. Between these two users can assign texture
      coordinate arrays to specific textures.
      Deprecated the old index and unit based methods.
      Removed a no longer needed vtkTexture.h include
      which may bite some folks who are using vtkTexture
      but not including the header (which they shoudl do)
  14. 03 Jan, 2018 1 commit
  15. 20 Dec, 2017 3 commits
  16. 05 Dec, 2017 2 commits
  17. 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.
  18. 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.
    • 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;
  19. 02 Oct, 2017 1 commit
  20. 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.
  21. 31 Aug, 2017 1 commit
    • Cory Quammen's avatar
      Augment vtkTexture to color directly by more scalar types · 71bfc13d
      Cory Quammen authored
      Deprecated MapColorScalarsThroughLookupTable and setters/getters in
      favor of new ColorMode that is analagous to the color mode in
      vtkMapper, i.e., it adds a mode where additional scalar types such as
      float and double can be used for direct coloring.
  22. 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.
  23. 04 Jul, 2017 1 commit
  24. 23 Jun, 2017 1 commit
  25. 31 May, 2017 1 commit
  26. 30 May, 2017 2 commits
  27. 01 May, 2017 2 commits
  28. 08 Apr, 2017 1 commit
  29. 15 Mar, 2017 2 commits