Skip to content
Snippets Groups Projects
  1. May 26, 2017
  2. May 16, 2017
  3. May 15, 2017
  4. May 12, 2017
    • David C. Lonie's avatar
      Fix bug in vtkInteractiveArea. · 86c3eb69
      David C. Lonie authored
      The duplicate call to InitializeDrawArea() (which is already called
      in vtkContextArea's constructor) caused a duplicate subtree of context
      items to be created, resulting in all items added to the area to be
      rendered 4x per Paint(), rather than just once.
      86c3eb69
  5. May 05, 2017
  6. May 01, 2017
    • David C. Lonie's avatar
      Update baselines for Context2D rendering. · 0b3b3a65
      David C. Lonie authored
      The OpenGL2 backend has changed how text is positioned -- instead of
      aligning the entire texture manually (and only for rotations that are
      multiples of 90 degrees), we now use the anchor position provided by
      the text renderer that aligns to the drawn pixels and supports arbitrary
      rotations.
      0b3b3a65
  7. Apr 25, 2017
  8. Apr 08, 2017
  9. Mar 14, 2017
  10. Mar 06, 2017
  11. Feb 21, 2017
  12. Jan 19, 2017
  13. Jan 17, 2017
    • Alvaro Sanchez's avatar
      Added support for vtkPolyData in vtkContext2D. · 1469ea5d
      Alvaro Sanchez authored
      vtkContext2D takes a new type of item which directly draws a 2D mesh
      represented by a vtkPolyData object. Internally, vtkContextDevice2D makes
      the API calls necessary to draw the internal primitives of vtkPolyData.
      Added a test demonstrating the use of vtkPolyDataItem.
      
      Added interaction and batched primitives for drawing.
      
      vtkInteractiveArea derives from vtkContextArea and implements basic interaction
      (zoom and panning). Currently, two types of vtkPolyData primitives are supported,
      Lines and Polygons. Lines are batched and drawn using ContextDevice2D::DrawLines.
      Polygons are first decomposed into a set of triangles and then drawn using
      ContextDevice2D::CoreDrawTriangles. Primitives are colored per vertex.
      
      Suppressed run-time warning.
      
      Setting the current renderer in the interactor style. Removed
      unecessary initializations.
      
      Using defined symbolic names for scalar modes.
      1469ea5d
  14. Jan 16, 2017
  15. Jan 14, 2017
  16. Jan 12, 2017
  17. Jan 11, 2017
  18. Dec 20, 2016
    • 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
  19. Dec 09, 2016
  20. Nov 30, 2016
  21. Nov 14, 2016
  22. Oct 29, 2016
  23. Oct 27, 2016
  24. Oct 17, 2016
    • Bill Lorensen's avatar
      ENH: Report error in PlotBox if too many columns · 1538bc18
      Bill Lorensen authored and Michael Fogleman's avatar Michael Fogleman committed
      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
  25. Oct 10, 2016
  26. Oct 07, 2016
    • 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
  27. Sep 29, 2016
  28. Sep 26, 2016
  29. Sep 23, 2016
    • Kitware Robot's avatar
      Reindent using the reindentation script. · f830ff47
      Kitware Robot authored and David Gobbi's avatar David Gobbi committed
      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. Sep 22, 2016
  31. Sep 20, 2016
  32. Sep 12, 2016
    • 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
  33. Aug 19, 2016
    • Bill Lorensen's avatar
      ENH: Introduce vtkMTimeType · 9333d9d1
      Bill Lorensen authored
      This is a fix for:
      #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
  34. Aug 03, 2016
  35. Jul 20, 2016
    • Mathieu Westphal (Kitware)'s avatar
      Adding a Resize option in ChartMatrix and Use it in ScatterPlot · cb520946
      Mathieu Westphal (Kitware) 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
  36. Jul 13, 2016
    • 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
Loading