1. 10 Jan, 2019 2 commits
  2. 08 Jan, 2019 2 commits
  3. 31 Aug, 2018 1 commit
    • Ken Martin's avatar
      Add order independent translucent pass · b36e2563
      Ken Martin authored
      Same speed but much better end result than the old
      transparency code.
      
      Also fix a few classes that were not passing properties
      to their sub props.
      
      Fix medical example to make opaque objects opaque.
      b36e2563
  4. 25 May, 2018 1 commit
  5. 18 May, 2018 1 commit
    • Kitware Robot's avatar
      ExternalData: Convert content links from MD5 to SHA512 · d6d05b2a
      Kitware Robot authored
      Populate a script with `map_<md5>=<sha512>` variable settings and
      then run the following to convert the content link files:
      
          git ls-files -- '*.md5' | while read f; do
            md5="$(cat "$f")"
            sha512="$(eval echo \${map_$md5})"
            rm "$f"
            echo $sha512 > ${f%.md5}.sha512
          done
      d6d05b2a
  6. 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
  7. 20 Dec, 2017 1 commit
  8. 05 Dec, 2017 1 commit
  9. 04 Oct, 2017 1 commit
    • Ken Martin's avatar
      manually convert more NULL to nullptr · de3c93a3
      Ken Martin authored
      This topic catches another batch of NULL conversions that
      clang did not handle for various reasons. It also includes
      a number of changes to comments and strings where NULL was
      used. It also catches some recent code changes where NULL
      was used instead of nullptr.
      de3c93a3
  10. 02 Oct, 2017 1 commit
  11. 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
  12. 01 May, 2017 1 commit
    • 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
  13. 05 Dec, 2016 1 commit
  14. 30 Nov, 2016 1 commit
  15. 28 Oct, 2016 1 commit
    • Ken Martin's avatar
      The viewport to * transforms are off · c1ee83b7
      Ken Martin authored
      The viewport coordinates were pixel centered
      which casues a number of issues including missing
      border pixels etc. This patch fixes the math
      so that viewport coordinates range from the
      lower left to the upper right which the origin
      being lower left. e.g. pixel 0,0 is the lower
      left of the pixel.
      
      This topic addresses issue:
      
      vtk/vtk#15565
      c1ee83b7
  16. 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
  17. 20 Sep, 2016 1 commit
  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. 18 Apr, 2016 1 commit
  20. 13 Apr, 2016 1 commit
  21. 08 Mar, 2016 1 commit
  22. 22 Jul, 2015 1 commit
    • Bill Lorensen's avatar
      STYLE: Replace vtksys_stl and vtksys_ios:: with std:: · 924248d9
      Bill Lorensen authored
      In the early days of VTK, support for stl was not portable. vtksys_stl
      and vtksys_ios provided a portable implementation of the stl. Now, all
      of the VTK supported compilers have portable stl implementations.
      
      This patch:
        1) Replaces the vtksys_ios:: with std::.
        2) Replaces the vtksys_stl:: with std::.
        3) Removes "using" statements for stl
      924248d9
  23. 01 May, 2015 1 commit
  24. 30 Apr, 2015 1 commit
  25. 09 Apr, 2015 1 commit
  26. 05 Mar, 2015 1 commit
    • Ken Martin's avatar
      A number of transparency related issues fixed · 944ee020
      Ken Martin authored
      A few good fixes in here that are all related. The biggest is a
      fix to OpenGLActor to use the more comprehensive GetIsOpaque
      method in determining if an actor is opaque. The old code only
      looked at the property's opacity. This is why you would see folks
      setting somethings opacity to 0.99 to get it treated as translucent
      because the actor code wasn't handling it correctly. This change
      resulted in 3 new valid images for tests that were rendering
      translucent items as if they were opaque. I removed these tests
      from the old backend as I did not want to change the behavior
      for that backend.
      
      Next up is depth peeling. OpenGL2 depth peeling would render
      a number of peels up to the limit and then just stop. Any geometry
      left between the opaque layer and the last translucent layer was
      just thrown out.  This created very noticable artifacts and was bad.
      This change makes it so that when it gets to the last pass, it will
      render all remaining geometry using alpha blending. This is much
      better. Fix example if you get the limit to 20 layers and 20 was
      not enough to render all the geometry, this change renders 19
      layers using depth peeling, then in the 20th render it would add
      in all the remaining geometry as last layer. That last layer may
      have overlapping geometry which is rendered using alpha blending.
      
      Finally some changes to the PointGaussianMapper. It turns out that
      the point gaussian mapper is an translucent mapper which means it
      needs the first change, and it is a very tough case for depth peeling
      resulting in the second change. While at it I modified this mapper
      to render far fewer fragments, resulting is far fewer overlapping
      layers and fewer artifacts. Really when using PointGaussian you
      should turn off depthpeeling as it is not needed and actually makes
      it worse, but these changes will make it better if you happen to have
      it on.  Also cleaned up the mapper so that the radius is equal to
      the standard devisation of the gaussian, previously it was four
      standard deviations.
      
      Change-Id: I62d90b6e424ac0e939033387ed10ba8caac66095
      944ee020
  27. 13 May, 2014 1 commit
  28. 16 Apr, 2014 1 commit
  29. 10 Dec, 2013 1 commit
    • Bill Lorensen's avatar
      ENH: Add test for ParallelCoordinatesView · 7a9edc68
      Bill Lorensen authored
      vtkParallelCoordinatesView was not tested. The lack of a test
      resulted in low coverage for vtkParallelCoordinatesView,
      vtkParallelCoordinatesRepresentation and SCurveSpline.
      
      This patch also repairs a memory leak in
      ParallelCoordinatesRepresentation that was uncovered when the test was
      added.
      
      Also, since vtkSCurveSpline is only used in
      vtkParallelCoordinatesRepresentation and vtkSCurveSpline did not have a unit
      test, this path moves vtkSCurveSpline is moved into Views/Infovis.
      
      NOTE: vtkParallelCoordinatesView has a lot of interactive content. To
      improve the coverage, future tests must exercise the interactive parts
      of this class. This patch is a minimal effort at improving the
      coverage.
      
      Change-Id: I1dfe93ecb1db85edfc5a887c4576c6274e8284ea
      7a9edc68
  30. 26 Nov, 2013 1 commit
    • Zack Galbreath's avatar
      new baseline for TestColumnTree · 7e18b302
      Zack Galbreath authored
      The previous commit (9c5d6061) changed the orientation of the
      collapsed subtree label in this test.  While the prior orientation
      also looked nice, it was a side-effect of the orientation of the
      heatmap's column label.  Thus, it was subject to change based on
      what order the items in the scene were rendered.  It also did not
      look correct for all possible dendrogram orientations.  This new
      baseline depicts the label where its orientation is determined
      by that of the dendrogram.
      
      Change-Id: Ia6ef68ff573234f1e189a3124bc92295ac85ba6a
      7e18b302
  31. 07 Nov, 2013 1 commit
  32. 29 Oct, 2013 1 commit
  33. 25 Oct, 2013 1 commit
    • Zack Galbreath's avatar
      tests to cover new legends functionality · 3eba81ad
      Zack Galbreath authored
      * New test in Charts/Core to color the new class vtkCategoryLegend
      
      * New tests to cover the continuous & categorical heatmaps now
        available from vtkHeatmapItem
      
      Change-Id: I06fa49c65e85ad421d5a360920a679379e77be89
      3eba81ad
  34. 22 Oct, 2013 1 commit
    • Zack Galbreath's avatar
      add test for column trees · 8c716e6d
      Zack Galbreath authored
      Add a test for the new column tree functionality of
      vtkTreeHeatmapItem.
      
      This commit also updates the test for vtkTanglegramItem.  The
      appearance of this item has changed now that column labels are
      included in the values returned by GetBounds().
      
      Change-Id: I36b8383533d9c61db81e47df278d34577d6ddbeb
      8c716e6d
  35. 27 Aug, 2013 1 commit
    • Zack Galbreath's avatar
      various minor improvements to tanglegrams · 2e85c7cd
      Zack Galbreath authored
      * Change the format of the correspondence table to be a matrix.
      This change allows us to use a vtkLookupTable to assign different
      colors to the tangles.  Previously, all tangles were drawn using
      a single color.  TestTanglegramItem and its baseline have been
      updated to take advantage of this new feature.
      
      * Make the tangles line up evenly on both ends of the tanglegram.
      We use a dotted line to connect tangles to their labels.
      
      Change-Id: I01d1bd3fe5d9717fc503ca134a79b603f6771b57
      2e85c7cd
  36. 21 Aug, 2013 1 commit
    • Zack Galbreath's avatar
      update tests & baselines · dda53180
      Zack Galbreath authored
      * Rename some tests to more closely reflect the classes that they are
        exercising.
      
      * Update some tests & baselines so that the items are better centered
        & scaled within the render window.
      
      * Add a test for the new vtkTanglegramItem class.
      
      Change-Id: Iea71bc5cc806fead23bba7cc4b9e9d6971309b55
      dda53180
  37. 23 Jul, 2013 1 commit
    • Zack Galbreath's avatar
      use SetMaxDiscreteValues for categorical color map · 2c86574b
      Zack Galbreath authored
      Use the new function vtkAbstractArray::SetMaxDiscreteValues within
      vtkTreeHeatmapItem.  This allows us to properly color categorical
      datasets that contain more than 32 distinct values.
      
      Within this commit, we also change the color set that we're using for
      the categorical color map.  The accent set is pretty, but it only has
      8 different values.  Instead we'll use qualitative set3 because it
      has 12 values.
      
      Finally, we fix a bug in vtkTreeHeatmapItem so that our NaN color
      (grey) is used appropriately by our categorical lookup table.
      
      Change-Id: I53bc9f13240be8c0c10b5dbc77bdcca1ea0fa2a1
      2c86574b
  38. 15 Jul, 2013 1 commit
    • Zack Galbreath's avatar
      update vtkTreeHeatmapItem baselines · 633d50ab
      Zack Galbreath authored
      Update the baseline images for the tests of vtkTreeHeatmapItem.
      This is necessary now that we are using separate color maps for
      categorical & continuous data.
      
      Change-Id: I5819db094fe988a579853f62f71b41aa4f66bf01
      633d50ab