1. 20 Mar, 2018 1 commit
    • 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{};
      to
        ~AMRIndexIterator() override= default;;
      
      Note there was a pointless semi before, which clang-tidy didn’t expect / account for.
      
      My next commit will remove them.
      84ec1d57
  2. 29 Jan, 2018 1 commit
  3. 20 Dec, 2017 1 commit
  4. 05 Dec, 2017 1 commit
  5. 08 Nov, 2017 1 commit
  6. 05 Oct, 2017 1 commit
  7. 02 Oct, 2017 1 commit
  8. 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
  9. 07 Sep, 2017 1 commit
  10. 26 Jul, 2017 2 commits
  11. 08 Apr, 2017 1 commit
  12. 21 Feb, 2017 1 commit
  13. 12 Jan, 2017 1 commit
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 10 Jun, 2016 1 commit
    • Cory Quammen's avatar
      Re-enable some chart tests when OpenGL2 backend is available · 7886fe4f
      Cory Quammen authored
      The OpenGL2 backend does not define a vtkOpenGL2ContextDevice2D class,
      so this test will not run when built with OpenGL2. Change it to run if
      OpenGL2 is enabled as the OpenGL2 backend requires higher than OpenGL
      version 2 OR if the OpenGL1 backend is enabled but Open GL version 2
      is available.
      
      Added alternate baseline for TestScalarsToColors output to
      accommodate minor differences in OpenGL2 backend.
      7886fe4f
  20. 08 Mar, 2016 1 commit
  21. 28 Jan, 2016 1 commit
  22. 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
  23. 03 Sep, 2015 1 commit
  24. 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
  25. 26 Jun, 2015 1 commit
    • David C. Lonie's avatar
      Fix vtkAxis scaling when TileScale is set on the renwin. · ef328bcf
      David C. Lonie authored
      Now vtkAxis will show the same number of ticks and the
      same relative text size when magnifying the image. Text
      will still be a little funky if the scaling is anisotropic,
      but at the moment our freetype engine doesn't support
      anisotropic dpi (not sure if the MPL backend can or not).
      
      New API: vtkContextScene::GetLogicalTileScale() returns
      the renderwindow tilescale or (1, 1) depending on whether
      ScaleTiles is enabled.
      
      There are some random fixes where vtkAxis objects were being
      used without a scene, which led to segfaults when trying to
      look up the tile scale internally.
      ef328bcf
  26. 12 May, 2015 1 commit
    • Utkarsh Ayachit's avatar
      Adding area plot (vtkPlotArea). · 6c877c2f
      Utkarsh Ayachit authored
      Adding a new plot to plot a region named, vtkPlotArea. This can be used
      to plot a region enclosed between two series.
      
      Also added a new test, TestAreaPlot, to test this new plot.
      6c877c2f
  27. 16 Feb, 2015 1 commit
  28. 06 Jan, 2015 1 commit
    • Ken Martin's avatar
      Fix floating point issue with chart test · 180ebd0b
      Ken Martin authored
      TestChartXYZ test fails on various platforms.  It turns out it is
      failing due to floating point issues. Basically
      
      1)	By default the plot data points define the bounds of the axes
          for the chart
      2)	the axes define the plot area (clip stuff outside that)
      3)	which defines the clipping plane equations
      4)	which can in turn clip the original data points subject to
          floating point precision
      
      This is what is happening (FYI, the point that disappears in the middle
      is actual on the boundary in the depth axis). This patch
      “fixes” the test by defining axes that are slightly bigger than the
      data and replacing the valid image.
      
      Change-Id: I25e7f05736f274ffc16633d8110767b9a5a5907b
      180ebd0b
  29. 19 Dec, 2014 1 commit
  30. 17 Nov, 2014 1 commit
  31. 06 Nov, 2014 1 commit
    • Utkarsh Ayachit's avatar
      BUG #14809: Use title size when placing title in vtkChartXY. · 9ffb9792
      Utkarsh Ayachit authored
      vtkChartXY did not use the space used by the title text and top-axes to
      determine where to place the title text. That resulted in cases where
      the title overlapped the top-axes labels or for larger font sizes,
      simply didn't have enough room. Fixed that by ensuring that the title
      placement/border determination code uses the title text's size.
      
      Updated TestLinePlotAxisFonts test to test this new functionality.
      
      Change-Id: Idac42b970eb27ebbaee95adf43748d79747cd1dc
      9ffb9792
  32. 23 Sep, 2014 1 commit
    • Marcus D. Hanwell's avatar
      Added colored bar charts, along with a test · b2e4fb38
      Marcus D. Hanwell authored
      This commit cleans up the bar chart update logic, adds support for
      using a lookup table to map an array to colors for the bars. It also
      adds a test verifying the points, and the bars, using C++, and the
      same array/lookup table.
      
      Change-Id: I11585739f5a0c5bca3240274aebafead302e89ec
      b2e4fb38
  33. 06 Aug, 2014 2 commits
  34. 25 Jun, 2014 1 commit
  35. 16 Apr, 2014 1 commit
  36. 10 Apr, 2014 1 commit
    • Joachim Pouderoux's avatar
      Fix and enhance bag plots. · df6c71a9
      Joachim Pouderoux authored
      Fix the way how the bags are computed. They are now performed at
      50 and 99% of the distribution.
      Functional bag plots also create a median serie which is the
      median line of all input series. Outliers series are also
      tagged with an "_outlier" extension in their name.
      
      Change-Id: I990428c9b79278be9be725491232b3e9d69190b0
      df6c71a9
  37. 13 Mar, 2014 1 commit
    • Joachim Pouderoux's avatar
      Fix and enhance the box plot and chart · cee00a0e
      Joachim Pouderoux authored
      Fix the problem with the position of Y axis: long labels were trunked.
      This position was fixed, it is not flexible depending the size of the labels.
      
      Add new functions to the chart API to allow manipulation of series
      by id (vs by name).
      Add support for manual plot labels setting.
      Enhance the boxplot displacement, it now correctly follow the mouse
      without ugly jumps.
      
      Change-Id: I400cd064616f7b93415e17db9749d709ea2f7345
      cee00a0e
  38. 11 Mar, 2014 1 commit
    • Joachim Pouderoux's avatar
      Fix bag plot and functional bag plots tests. · 5d42650d
      Joachim Pouderoux authored
      Use precomputed table of densities to avoid precision differences
      on some machines.
      Also remove unuseful normalization step in the plot and algorithm.
      
      Change-Id: Ifb28b82b276ee93b66f4ddf8f4375f7b3b465b94
      5d42650d