Skip to content
Snippets Groups Projects
  1. Apr 19, 2020
  2. Mar 17, 2020
  3. Jan 09, 2020
  4. Dec 03, 2019
  5. Nov 18, 2019
    • Kitware Robot's avatar
      clang-format: reformat using clang-format-8 · ac76fe16
      Kitware Robot authored and Ben Boeckel's avatar Ben Boeckel committed
      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.
      ac76fe16
    • Kitware Robot's avatar
      clang-format: prepare data arrays for formatting · cf111cf6
      Kitware Robot authored and Ben Boeckel's avatar Ben Boeckel committed
      clang-format tends to either put each element on its own line or smash
      them together into a few lines. There's a little bit more structure
      that's important in these arrays, so preserve that through clang-format
      as well.
      cf111cf6
    • Kitware Robot's avatar
      clang-format: remove semicolons from definitions · 40f8c44d
      Kitware Robot authored and Ben Boeckel's avatar Ben Boeckel committed
      clang-format treats them as declarations and formats accordingly.
      40f8c44d
    • Kitware Robot's avatar
      clang-format: add semicolons to macro calls · d9968f38
      Kitware Robot authored and Ben Boeckel's avatar Ben Boeckel committed
      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
      should.
      d9968f38
  6. Nov 13, 2019
  7. Nov 08, 2019
    • Allison Vacanti's avatar
      Fix unused variable warnings. · a3429edc
      Allison Vacanti authored
      Compilers are starting to warn when an object is instantiated and
      only used to call static methods, such as the dispatchers. This patch
      cleans up some of these warnings and updates documentation.
      
      The TestScaledSOADataArrayDispatchers test has been removed, as it's
      redundant wrt the TestArrayDispatchers test (it doesn't test
      ScaledSOA functionality, just dispatching).
      a3429edc
  8. Nov 06, 2019
  9. Nov 02, 2019
    • Utkarsh Ayachit's avatar
      avoid resetting selection mode · 7154cb5e
      Utkarsh Ayachit authored
      vtkChartParallelCoordinates ended up resetting InteractiveSelection flag
      when annotation link was specified. This was causing selections to be
      behave incorrectly in ParaView. Fixed that.
      7154cb5e
  10. Oct 21, 2019
  11. Oct 10, 2019
  12. Sep 30, 2019
  13. Sep 05, 2019
  14. Sep 04, 2019
    • Mathieu Westphal (Kitware)'s avatar
      Adding support for tooltip in vtkScalarsToColorsItem · 21622d07
      Mathieu Westphal (Kitware) authored
      By using ShiftScale and implementing GetNearestPoint
      This adds support for tooltip for the plot bar in vtkScalarsToColorsItem
      This also update a related test
      21622d07
    • Mathieu Westphal (Kitware)'s avatar
      Deprecate a version of GetNearestPoint · 09e99a46
      Mathieu Westphal (Kitware) authored
      This deprecate vtkPlot::GetNearestPoint(const vtkVector2f& point, const vtkVector2f& tolerance, vtkVector2f* location)
      and introduce vtkPlot::GetNearestPoint(const vtkVector2f& point, const vtkVector2f& tolerance, vtkVector2f* location, vtkIdType* segmentId)
      This also modifies the few usage of GetNearestPoint to use the new version.
      which was only a vtkPlotBar method before.
      Make sure to remove all legacy related code from GetNearestPoint in all the modified class, as well as in vtkScalarsToColorsItem.h when the time comes.
      
      A .md file has been added to document the deprecation
      09e99a46
    • Mathieu Westphal (Kitware)'s avatar
      Using ShiftScale in GetNearestPoint · 4bcf510f
      Mathieu Westphal (Kitware) authored
      GetNearestPoint was not implemented by taking
      ShiftScale into account when it should have been used.
      This corrects it.
      4bcf510f
  15. Aug 20, 2019
  16. Aug 19, 2019
  17. Jul 31, 2019
  18. Jun 27, 2019
  19. Jun 04, 2019
  20. Jun 03, 2019
  21. May 06, 2019
  22. May 03, 2019
  23. Apr 29, 2019
    • 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
      252cad22
  24. Mar 07, 2019
  25. Mar 05, 2019
  26. Feb 08, 2019
  27. Jan 23, 2019
  28. Jan 08, 2019
Loading