1. 06 Nov, 2017 1 commit
  2. 31 Oct, 2017 1 commit
  3. 04 Oct, 2017 1 commit
  4. 02 Oct, 2017 2 commits
  5. 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
  6. 31 Aug, 2017 1 commit
    • Ken Martin's avatar
      update handling of scalar material mode · 7bc7e583
      Ken Martin authored
      Previously scalar material mode when used
      with scalars would ignore the ambient and diffuse
      material intensities and when mapping one of them
      set that one to 1.0 while leaving th eother alone.
      This caused lots of odd situations where objects would be
      over illuminated etc or where changing the diffuse or
      ambient seemed to have o impact.
      
      With this change the diffuse and ambient intensities
      are always used. The sclaar simply controls the color
      not the intensity.
      7bc7e583
  7. 23 Aug, 2017 1 commit
  8. 11 Aug, 2017 1 commit
  9. 09 Aug, 2017 1 commit
  10. 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
  11. 03 Jun, 2017 1 commit
  12. 02 Jun, 2017 1 commit
  13. 31 May, 2017 1 commit
  14. 27 Apr, 2017 1 commit
  15. 14 Apr, 2017 1 commit
    • Sean McBride's avatar
      Fixed various warnings from new cppcheck 1.78 · 25058c30
      Sean McBride authored
      Types of warnings:
      - mismatch between parameters names in declaration vs definition
      - make certain parameters references, or const references
      - checking array index after its use
      - prefer preincrement
      - change return type of operator=
      
      There are some very minor API chages here (const/reference).
      25058c30
  16. 16 Feb, 2017 1 commit
  17. 15 Feb, 2017 2 commits
  18. 14 Feb, 2017 1 commit
  19. 25 Jan, 2017 1 commit
  20. 16 Jan, 2017 1 commit
  21. 14 Jan, 2017 1 commit
  22. 13 Jan, 2017 1 commit
  23. 20 Dec, 2016 1 commit
    • Bill Lorensen's avatar
      ENH: Unify error/warning testing · a5fd4df3
      Bill Lorensen authored
      CHECK_ERROR_MSG and CHECK_WARNING_MSG are used to check the
      content of error and warning messages. Error and warning code is often
      overlooked during testing. Over the years, these two macros have been
      refined to increase their utility. Tests that use the macros defined
      their own interpretations. Three different API's have been used in the
      macros.
      
      This patch replaces the CHECK_ERROR_MSG and CHECK_WARNING_MSG macros
      with methods for vtkTest::ErrorObserver.  All tests that used the
      CHECK macros in one form or another have been updated to use the
      CheckErrorMessage and CheckWarningMessage methods.
      a5fd4df3
  24. 11 Nov, 2016 1 commit
  25. 09 Nov, 2016 1 commit
    • Bill Lorensen's avatar
      ENH: Refactor subdivision filters · dfa7aac9
      Bill Lorensen authored
      The subdivision filters do not handle error conditions
      consistently. This patch introdues a new base class,
      vtkSubdivisionFilter that consistently handles error conditions. The
      patch also incldues a unit test that tests the error conditions.
      dfa7aac9
  26. 02 Nov, 2016 2 commits
  27. 30 Oct, 2016 1 commit
  28. 27 Oct, 2016 1 commit
  29. 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
  30. 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
  31. 11 Sep, 2016 1 commit
  32. 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
  33. 05 Aug, 2016 1 commit
    • T.J. Corona's avatar
      Add vtkVolumeOfRevolutionFilter to VTK. · 7c0396ab
      T.J. Corona authored
      This commit introduces a new modeling filter, vtkVolumeOfRevolutionFilter.
      It takes a two-dimensional dataset and generates a volume by revolving the
      dataset about a user-defined axis.
      7c0396ab
  34. 20 Jul, 2016 2 commits
  35. 07 Jul, 2016 1 commit
    • 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