1. 29 Oct, 2016 1 commit
  2. 27 Oct, 2016 1 commit
  3. 17 Oct, 2016 1 commit
    • Bill Lorensen's avatar
      ENH: Report error in PlotBox if too many columns · 1538bc18
      Bill Lorensen authored
      PlotBox expects a table that contains exactly 5 rows per column. This
      patch adds an ErrorMacro with a descriptive message if the table is
      not valid.
      
      A new test checks the new error message and uses vtkComputeQuartiles
      to create a valid table.
      
      ERR: ChartBox was not displaying the chart title.
      1538bc18
  4. 10 Oct, 2016 1 commit
  5. 07 Oct, 2016 1 commit
    • Bill Lorensen's avatar
      ENH: Report error in PlotBox if too many columns · c35474d0
      Bill Lorensen authored
      PlotBox expects a table that contains exactly 5 rows per column. This
      patch adds an ErrorMacro with a descriptive message if the table is
      not valid.
      
      A new test checks the new error message and uses vtkComputeQuartiles
      to create a valid table.
      
      ERR: ChartBox was not displaying the chart title.
      c35474d0
  6. 29 Sep, 2016 1 commit
    • Mathieu Westphal's avatar
      Fix the resizing of bigChart in scatter plot · 20583443
      Mathieu Westphal authored
      This commits fixes !16836, where bigChart resize
      was actually not correctly computed, by painting
      once, resizing then triggering a second paint.
      It also update baseline for the associated test.
      20583443
  7. 26 Sep, 2016 1 commit
  8. 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 E. DeMarle's avatar
      replace VTK's nonstandard Doxygen with standard markup · 6a7e5148
      David E. DeMarle authored
      generated via:
      cd $VTKSRC
      perl Utilities/Doxygen/doc_header2doxygen.pl --to ~/tmp/vtkheaders .
      cp -r ~/tmp/vtkheaders/* .
      6a7e5148
  9. 22 Sep, 2016 1 commit
  10. 20 Sep, 2016 1 commit
  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. 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
  13. 03 Aug, 2016 1 commit
  14. 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
  15. 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
  16. 12 Jul, 2016 2 commits
  17. 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
  18. 21 Jun, 2016 1 commit
  19. 10 Jun, 2016 2 commits
  20. 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
  21. 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
  22. 08 Mar, 2016 1 commit
  23. 03 Mar, 2016 4 commits
  24. 25 Feb, 2016 1 commit
  25. 22 Feb, 2016 1 commit
  26. 28 Jan, 2016 3 commits
  27. 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
  28. 12 Jan, 2016 1 commit
  29. 18 Nov, 2015 1 commit
  30. 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
  31. 23 Oct, 2015 1 commit