1. 20 Aug, 2015 1 commit
    • Brad King's avatar
      ENH: Remove use of include <vtksys/ios/*> and vtksys_ios::* · 3ae7dd3a
      Brad King authored
      We no longer need this compatibility layer for the compilers we support.
      Use the following commands to switch to standard header and namespace:
       git grep -l vtksys/ios/ | xargs sed -i 's|vtksys/ios/||'
       git grep -l vtksys_ios | xargs sed -i 's|vtksys_ios|std|g'
  2. 11 Aug, 2015 2 commits
  3. 17 Jul, 2015 1 commit
  4. 03 Jul, 2015 1 commit
  5. 01 Jul, 2015 2 commits
  6. 18 Jun, 2015 1 commit
    • David Gobbi's avatar
      Allow NIFTI reader and writer to handle planar RGB files. · 90dfa378
      David Gobbi authored
      The NIFTI format uses packed RGB, but the older Analyze format, in its
      earliest incarnations, used planar RGB.  For the sake of compatibility
      with these old Analyze files, or with NIFTI files that were created from
      them without a planar-to-packed conversion, a PlanarRGB option has been
      added to the vtkNIFTIImageReader and the vtkNIFTIImageWriter.
  7. 12 Jun, 2015 1 commit
    • Utkarsh Ayachit's avatar
      BUG #15438: Handle NaN when computing array range. · 06d553fb
      Utkarsh Ayachit authored
      A small tweak to the vtkDataArrayPrivate makes it possible for us to
      handle NaN in arrays when computing ranges. We should not include NaN
      when computing the range. By ensuring that the "left" argument to the
      min/max functions is never a NaN, we are assured that they min/max calls
      won't return a NaN.
      Also added a test for the same.
  8. 15 May, 2015 1 commit
    • Mathieu Westphal's avatar
      Adding Angular Periodic Filter and Angular Periodic Array to VTK. · 80693cb1
      Mathieu Westphal authored
      Support of tensor for vtkAngularPeriodicFilter
      Adding 2nd Order tensor support ( 9 components array ) for angular periodic filter
      via a vtkMatrix3x3
      In order to support any type of data, has the array is templated, the data is always copied
      back and forth locally to be able to rotate, even when input data is already correct type.
      Correcting vtkPoints getBounds to use protected method GetScalarRange
  9. 30 Apr, 2015 1 commit
    • Cory Quammen's avatar
      BUG: Fixed error in area-weighted normal · 67122e84
      Cory Quammen authored
      When the closest point on a surface to a test point is on an edge, the
      area-weighted normal is the average of the normals of the faces
      adjacent to the edge. The contribution from one of the faces was being
      added twice, producing the incorrect area-weighted normal. This
      resulted in the wrong sign for the signed distance in some cases.
      This patch fixes the error.
      Changed TestImplicitPolyDataDistance.cxx to fail prior to this change
      and pass after the change. The previous test exercised
      vtkImplicityPolyDataDistance but did not check the results. The new
      test checks against a baseline.
  10. 12 Apr, 2015 1 commit
    • Sean McBride's avatar
      Disambiguated use of term “kilobyte” · 6bfea2b3
      Sean McBride authored
      After being confused by headerdoc use of the word
      “kilobyte”, I did a bit of an audit:
      - changed many comments to use kibibyte and also
      added the number 1024
      - noted that one function returns bytes, unlike many
      other functions with same name that return kibibytes
      - changed some default value initializations
      that were a mix of power 2 and power 10 ex:
      vtkPImageWriter called “1 gigabyte” = 1000000 kibibytes,
      changed to power 2 since that’s prevailing in VTK
      Although many don’t like the binary prefixes,
      they have the advantage of being unambiguous.
  11. 08 Apr, 2015 2 commits
    • Utkarsh Ayachit's avatar
      Add test to demonstrate TIFF reader issue. · f814879b
      Utkarsh Ayachit authored
      Adding a new test to demonstrate the vtkTIFFReader inability to handle
      reading of sub-extents in compressed TIFF file. This is a failing test
      to demonstrate the reader lack in support.
    • David C. Lonie's avatar
      Print image name on test failure. · 8e045af4
      David C. Lonie authored
      Some ParaView tests produce multiple images and it can be time consuming
      to track down which image failed. Let's print the failed image name in
      the output.
  12. 06 Apr, 2015 1 commit
  13. 31 Mar, 2015 1 commit
    • Dan Lipsa's avatar
      Redesign "vtkGhostLevels" arrays and related ghost functionalties. · 4dee0274
      Dan Lipsa authored
      Co-authored-by: default avatarYuanxin Liu <leo.liu@kitware.com>
      Co-authored-by: Berk Geveci's avatarBerk Geveci <berk.geveci@kitware.com>
       -The semantics of each unsigned char in the ghost arrays changes:
        Instead of storing a numeric value representing how far a cell is
        from the boundary, it is now a bit field specified by
        vtkDataSetAttributes::CellGhostTypes and
        vtkDataSetAttributes::PointGhostTypes.  The bit field is consistent
        with VisIt specs.
      - Previously, filters strip all ghost cells they request from upstream
        before finalizing the output. This is no longer done.
      - vtkUniform grids previously supported blanking through member arrays
        vtkUniformGrid::CellVisibility and
        vtkUniformGrid::PointVisibility. These arrays are removed and the
        blanking functionality are supported through the new ghost arrays
      - the "vtkGhostLevel" arrays for cell and point data are renamed to
        vtkDataSetAttributes::GhostArrayName() ("vtkGhostType").
      - the version for VTK Legacy files is increased to 4.0 and the version for
        VTK XML files is increased to 2.0. When reading older files we
        convert vtkGhostLevels array to vtkGhostType.
  14. 16 Feb, 2015 1 commit
    • Sean McBride's avatar
      Reverse order of AND statements · 5da80674
      Sean McBride authored
      cppcheck warned because the later check involved an
      index that’s used in the earlier check.  That could
      easily be backwards if the index is not in range
      without the check happening first.
      Change-Id: Iaa79b07bb1eccd51db5e27252ab83d39f8e8b2f2
  15. 18 Dec, 2014 1 commit
  16. 03 Dec, 2014 1 commit
    • Bill Lorensen's avatar
      ENH: Unit Test FunctionParser · 5f3f8374
      Bill Lorensen authored
      A unit test to cover almost 100% of a critical module.
      With current patch, 95% coverage.
      While building this unit test, repaired and enhanced:
        1) More consistent error messages
        2) Pow error checking wrong
        3) Removed unreachable code
        1) Accumulates error/warning messages until cleared. Prior behaviour
           was to only report last error/warning.
      Change-Id: I62d011fcda5a097943553316b68334c406b87cfe
  17. 20 Nov, 2014 2 commits
  18. 14 Nov, 2014 1 commit
  19. 10 Nov, 2014 1 commit
    • Bill Lorensen's avatar
      ENH: Add support to read tiled tiff images · 84f9a173
      Bill Lorensen authored
      vtkTIFFReader does not correctly read tiled tiff images.
      Added a variety of tiled images and a test.
      Added support for flipped volumes.
      Change-Id: I5887d712b0172b4630f36107c165984f13fba092
  20. 04 Nov, 2014 1 commit
    • Bill Lorensen's avatar
      BUG: Some types of files are not closed after processing · 55902e2f
      Bill Lorensen authored
      The file is not closed after multi-page or tiled images are
      processed. This results in unclosed file descriptors. Some systems
      have limits on the number of open file descriptors. If a large number
      of files are processed, subsequent open's may fail even if the file
      Added a test to check if multiple reads do not fail.
      Change-Id: I8e97496aae32bc8249b5b26a6101c81d6829ed1b
  21. 29 Oct, 2014 1 commit
  22. 16 Oct, 2014 1 commit
  23. 06 Oct, 2014 1 commit
  24. 04 Oct, 2014 1 commit
  25. 03 Oct, 2014 1 commit
  26. 02 Oct, 2014 2 commits
  27. 01 Oct, 2014 1 commit
    • David Cole's avatar
      vtkTesting: If test fails with back buffer, try front buffer too · e136e01e
      David Cole authored
      Typically, the image testing is done using the back buffer
      to avoid accidentally capturing overlapping window artifacts
      in the image when using the front buffer. However, some graphics
      drivers do not have up to date contents in the back buffer,
      causing "failed" tests even though, upon visual inspection, the
      front buffer looks perfectly valid...
      So: if the test failed using the back buffer, re-test using the
      front buffer. This way, more tests pass on dashboards run with
      the Intel HD built-in graphics drivers.
      Emit the output from whichever regression testing call has the
      smallest image difference.
      Change-Id: Ibb1326a5494ca91a34cb619d134fce63f51bd8eb
  28. 26 Sep, 2014 1 commit
    • David Cole's avatar
      vtkTesting: Refactor RegressionTest, eliminating hard-coded cout · 37c4a68b
      David Cole authored
      The new method RegressionTestAndCaptureOutput may be called instead,
      passing in cout whenever output should go to stdout. The existing
      method RegressionTest simply delegates to the new method, with output
      still going to cout, just like it always has.
      Elaborate on the documentation of these methods, too.
      Change-Id: Iceb6708af6d7eca889ee998f061525e2fdd36a3b
  29. 22 Sep, 2014 1 commit
  30. 27 Jul, 2014 1 commit
  31. 24 Jul, 2014 2 commits
  32. 09 Jul, 2014 1 commit
    • Dave DeMarle's avatar
      Fix issues the dashboards turned up. · c4b66cad
      Dave DeMarle authored
      Two comp warnins and a typo in my fix for static/shared build
      capability. Also, the triangle.xmf dataset was just wrong.
      Change-Id: I587350939c06cf7f820fa0312749908ee7cbbec9
  33. 08 Jul, 2014 1 commit
  34. 07 Jul, 2014 1 commit
    • Dave DeMarle's avatar
      Fixes for xdmf3 regression test data. · 55b3940b
      Dave DeMarle authored
      Make tests generate data in the temporary instead of current directory.
      Add test input data via cmake ExternalData.
      Make XdmfSystemUtils.cpp get realpath do nothing to prevent it from
      looking for heavy data in the symbolically linked md5 directory.
      Change-Id: Id284b917491eab1e75fd72c393957e6fbe995488