1. 17 Jun, 2018 1 commit
  2. 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
  3. 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
  4. 03 Jan, 2018 1 commit
  5. 27 Dec, 2017 1 commit
    • luz.paz's avatar
      More Misc. typos · ae6668d1
      luz.paz authored
      includes grammar and uniformity fixes as well.
      ae6668d1
  6. 20 Dec, 2017 1 commit
  7. 19 Dec, 2017 1 commit
  8. 05 Dec, 2017 3 commits
  9. 15 Nov, 2017 1 commit
  10. 04 Oct, 2017 1 commit
  11. 02 Oct, 2017 1 commit
  12. 26 Jul, 2017 2 commits
  13. 29 Jun, 2017 1 commit
  14. 27 Apr, 2017 1 commit
  15. 02 Apr, 2017 1 commit
    • David Gobbi's avatar
      Remove special characters from VTK source files. · 03647e64
      David Gobbi authored
      The source was searched with "grep -l [^ -~]" to find characters outside
      of the printable ASCII range 0x20 to 0x7e.  The worst offender is the
      en-dash character, which is visually indistinguishable from the minus
      character in most code editors.  Several tabs were also found, which
      is surprising since they should be blocked by the commit hooks.
      03647e64
  16. 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
  17. 17 Oct, 2016 8 commits
    • Bill Lorensen's avatar
      BUG: KuenSurface singularity at the pole · bb6811a9
      Bill Lorensen authored
      There is a singularity when v = 0. This patch checks for v = 0 and
      replaces it with a small number, .05.
      
      A new ivar DeltaV0 can change this value.
      
      This bug was noticed when running the VTK wiki example:
      Cxx/GeometricObjects/ParametricObjectsDemo2. While rotating the camera
      for the Kuen surface, the center of rotation appeared off. The
      z-coordinate was NAN for points when v == 0.
      
      Also, the ordering of triangles was incorrect.
      bb6811a9
    • Andrew Maclean's avatar
      Get rid of unused variable. · 9a35b23d
      Andrew Maclean authored
      9a35b23d
    • Andrew Maclean's avatar
      Swapped x, y radii. · 6e4fcc1f
      Andrew Maclean authored
      6e4fcc1f
    • Andrew Maclean's avatar
      3153ae1c
    • Andrew Maclean's avatar
      Missed some header test fails. · 16cc0469
      Andrew Maclean authored
      16cc0469
    • Andrew Maclean's avatar
      Removing the line continuation character. · b23b545e
      Andrew Maclean authored
      b23b545e
    • Andrew Maclean's avatar
      Fixing header test fails. · d790c0ec
      Andrew Maclean authored
      d790c0ec
    • Andrew Maclean's avatar
      Fixing the triangulation of the Parametric Surfaces. · d3d9bf72
      Andrew Maclean authored
      Bill Lorenson noticed that the front face of orientable surfaces was being
       displayed as a back face. This arose as a "hack" when these functions
       were
        first implemented because the cross-product used to create the normals
        was
         right-handed, thus the triangulation orientation was clockwise.
          Additionally there were weird triangulations in the
          ParametricSuperEllipsoid
           and ParametricSuperToroid.
      
           The following three fixes have been applied:
      
           1) The orientation of the normals is fixed in the case of
           anti-clockwise
              ordering by calculating cross(Dv,Du) instead of cross(Du,Dv).
      	   When this is done the normals point in the expected direction
      	   and the
      	      front face is rendered correctly. See:
      	      vtkParametricFunctionSource.cxx.
      	      2) All the surfaces now implement anti-clockwise ordering
      	      with respect to the
      	         triangulation.
      		 3) The ParametricSuperEllipsoid and ParametricSuperToroid
      		 have been reworked,
      		    now the surface is constructed as four pieces that are
      		    abutted together,
      		       this removes the triangulations resulting in weird
      		       appearances.
      		       4) In order to implement the anti-clockwise
      		       ordering in the triangulation
      		          the x, y points have had to be swapped in a few
      			  cases.
      			  5) TestParametricFunctions.png has had to be
      			  replaced. The images for
      			     ParametricTorus, ParametricSuperEllipsoid and
      			     ParametricSuperToroid
      			        changed as a result of the above changes
      d3d9bf72
  18. 16 Oct, 2016 1 commit
    • Bill Lorensen's avatar
      BUG: KuenSurface singularity at the pole · 37a2b43d
      Bill Lorensen authored
      There is a singularity when v = 0. This patch checks for v = 0 and
      replaces it with a small number, .05.
      
      A new ivar DeltaV0 can change this value.
      
      This bug was noticed when running the VTK wiki example:
      Cxx/GeometricObjects/ParametricObjectsDemo2. While rotating the camera
      for the Kuen surface, the center of rotation appeared off. The
      z-coordinate was NAN for points when v == 0.
      
      Also, the ordering of triangles was incorrect.
      37a2b43d
  19. 12 Oct, 2016 2 commits
  20. 11 Oct, 2016 5 commits
    • Andrew Maclean's avatar
      990386a1
    • Andrew Maclean's avatar
      Missed some header test fails. · a3fdb32c
      Andrew Maclean authored
      a3fdb32c
    • Andrew Maclean's avatar
      Removing the line continuation character. · 98e80b44
      Andrew Maclean authored
      98e80b44
    • Andrew Maclean's avatar
      Fixing header test fails. · fd994948
      Andrew Maclean authored
      fd994948
    • Andrew Maclean's avatar
      Fixing the triangulation of the Parametric Surfaces. · c7b75843
      Andrew Maclean authored
      Bill Lorenson noticed that the front face of orientable surfaces was being
       displayed as a back face. This arose as a "hack" when these functions
       were
        first implemented because the cross-product used to create the normals
        was
         right-handed, thus the triangulation orientation was clockwise.
          Additionally there were weird triangulations in the
          ParametricSuperEllipsoid
           and ParametricSuperToroid.
      
           The following three fixes have been applied:
      
           1) The orientation of the normals is fixed in the case of
           anti-clockwise
              ordering by calculating cross(Dv,Du) instead of cross(Du,Dv).
      	   When this is done the normals point in the expected direction
      	   and the
      	      front face is rendered correctly. See:
      	      vtkParametricFunctionSource.cxx.
      	      2) All the surfaces now implement anti-clockwise ordering
      	      with respect to the
      	         triangulation.
      		 3) The ParametricSuperEllipsoid and ParametricSuperToroid
      		 have been reworked,
      		    now the surface is constructed as four pieces that are
      		    abutted together,
      		       this removes the triangulations resulting in weird
      		       appearances.
      		       4) In order to implement the anti-clockwise
      		       ordering in the triangulation
      		          the x, y points have had to be swapped in a few
      			  cases.
      			  5) TestParametricFunctions.png has had to be
      			  replaced. The images for
      			     ParametricTorus, ParametricSuperEllipsoid and
      			     ParametricSuperToroid
      			        changed as a result of the above changes
      c7b75843
  21. 23 Sep, 2016 4 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
    • David E. DeMarle's avatar
      preemptively fix issues that trip of doxygen converted code · a2250027
      David E. DeMarle authored
      fix problematic ccomments that trip up doxygen generator. Mostly
      c style comments in class description but a few cases of comments
      not in expected location that leads to stripped out code and comp fails
      
      fix trailing whitespaces that will fail style check when committed
      
      Thanks Andrew Maclean for updating the url to VTK publications.
      a2250027
    • Robert Maynard's avatar
      6b3ae23c
  22. 20 Sep, 2016 1 commit