1. 20 Sep, 2016 1 commit
  2. 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
  3. 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
  4. 03 Aug, 2016 1 commit
  5. 20 Jul, 2016 1 commit
    • Mathieu Westphal's avatar
      Adding a Resize option in ChartMatrix and Use it in ScatterPlot · cb520946
      Mathieu Westphal authored
      vtkChartMatrix now features a SetSpecificResize allowing to move
      the bottom left point of a single chart. This feature is used in
      vtkScatterPlotMatrix to move the Big Chart plot a little on top right
      in order to prevent overlap, using painter to compute axis bounding rect.
      It also add a compare operator to vector in order to use it in the stl.
      cb520946
  6. 13 Jul, 2016 1 commit
    • Sean McBride's avatar
      Used clang-tidy's "modernize-use-override" to add some C++11 overrides · 753dcec5
      Sean McBride authored
      It doesn't seem to have got everything, but it's a start.
      
      Some resulting whitespace is suboptimal, but one day
      we can fix that with clang-format. :)
      
      Just ran this command:
      run-clang-tidy.py -checks=-*,modernize-use-override -fix
      
      (I actually had to build my own clang to make clang-tidy
      output "VTK_OVERRIDE" instead of "override".)
      753dcec5
  7. 12 Jul, 2016 2 commits
  8. 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
  9. 21 Jun, 2016 1 commit
  10. 10 Jun, 2016 2 commits
  11. 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
  12. 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
  13. 08 Mar, 2016 1 commit
  14. 03 Mar, 2016 4 commits
  15. 25 Feb, 2016 1 commit
  16. 22 Feb, 2016 1 commit
  17. 28 Jan, 2016 3 commits
  18. 25 Jan, 2016 1 commit
    • Sean McBride's avatar
      Use real snprintf (not _snprintf) with >= VS2015 · 992a4931
      Sean McBride authored
      Infuriatingly, Visual Studio has not supported C99’s snprintf until VS2015.
      
      Modify a couple of workaround hacks to only apply to pre-VS2015.
      
      This is more than just a cleanup.  snprintf guarantees null
      termination, _snprintf does not!  The return values are also different,
      though rarely used.
      992a4931
  19. 12 Jan, 2016 1 commit
  20. 18 Nov, 2015 1 commit
  21. 28 Oct, 2015 1 commit
    • Cory Quammen's avatar
      Added option to display range labels · 3b208dd6
      Cory Quammen authored
      Off by default, this new option adds labels at the ends of the axis
      with the range values. A separate printf-style format string can be
      specified for these labels. If a tick label overlaps one of the range
      labels, it will not be displayed.
      
      Modified TestAxes and its baseline to exercise this new option.
      3b208dd6
  22. 23 Oct, 2015 1 commit
  23. 21 Oct, 2015 1 commit
  24. 22 Sep, 2015 1 commit
    • David Gobbi's avatar
      Wrap many more classes with python. · e6f75b9a
      David Gobbi authored
      This makes the python wrappers ignore WRAP_EXCLUDE, and instead use
      the new property WRAP_EXCLUDE_PYTHON that excludes fewer classes.
      The WRAP_SPECIAL flag, which used to act as a whitelist for python,
      has been removed.
      
      Because this change causes classes to be wrapped in python by default,
      some third-party VTK packages might break until they modify their own
      CMakeLists.txt files to add WRAP_EXCLUDE_PYTHON where necessary.
      e6f75b9a
  25. 18 Sep, 2015 1 commit
  26. 17 Sep, 2015 1 commit
  27. 08 Sep, 2015 1 commit
  28. 03 Sep, 2015 2 commits
  29. 24 Aug, 2015 1 commit
  30. 21 Aug, 2015 1 commit
  31. 14 Aug, 2015 1 commit
    • T.J. Corona's avatar
      Correct bounds and integer width computation in vtkPlotHistogram2D. · c0b6a7c9
      T.J. Corona authored
      This fix is in reference to bug report 0015325. The formula for width now
      avoids a conversion from int to double back to int, and bounds are correctly
      computed. TestHistogram2D and its resultant image have also been updated to
      more closely match the original test image.
      c0b6a7c9