1. 26 Jul, 2017 15 commits
    • Kitware Robot's avatar
      Replace many NULL and 0 occurances with nullptr · a855cab0
      Kitware Robot authored
      This topic is the result of running clang-tidy to
      modernize our usage of NULL and 0 to nullptr. It also
      includes some manual and semi manual changes where
      clang-tidy would not be expected to work (such as in
      comments, or classes not compiled on this build)
      
      There are definitely many comments and occurances that
      this topic misses that we will need to fix over time.
      a855cab0
  2. 14 Mar, 2017 15 commits
  3. 23 Sep, 2016 15 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
  4. 08 Mar, 2016 15 commits
  5. 06 Apr, 2015 15 commits
  6. 11 Dec, 2014 15 commits
    • David C. Lonie's avatar
      Fix bugs in vtkStructuredImplicitConnectivity. · e335ba44
      David C. Lonie authored
      Removed some asserts in the registration functions, since often a
      plane or line is passed in place of a grid due to partitioning
      artifacts.
      
      Removed a value from the communication stream that was not being read
      and unsynchronizing the read/write process.
      
      This seemed to assume that the VOI would pass through every process's
      partition. Fixed that.
      
      Also patched a possible memory leak during grid registration.
      
      Change-Id: Ia16601c672225fc3a0c1a11480409394c3fd9e09
      e335ba44
  7. 31 Oct, 2014 15 commits
    • Ken Martin's avatar
      Fix use of undefined vector behavior. · 2fc1358c
      Ken Martin authored
      The code was dereferencing an empty vector which is an undefined
      operation in C++. VisualStudio 10 specifically checks for out of
      range references and throws an exception causing the code to fail
      rather harshly.
      
      Change-Id: I81b30dc0886c75e6c7d47ab77b8d8d25f431e59b
      2fc1358c
  8. 09 Oct, 2014 15 commits
  9. 18 Jun, 2014 15 commits
  10. 22 May, 2014 15 commits
  11. 21 May, 2014 15 commits
    • George Zagaris's avatar
      ENH: RectilinearGrid implicit connectivity support · ef1611f7
      George Zagaris authored
      Added support for vtkRectilinearGrid type in the structured
      implicity connectivity class. Also, extended the test to
      check for correctness of the new functionality. Further,
      updated RectilinearGrid partitioner such that it can either leave a
      gap between partitions or not. Also, refactored and improved the
      implementation.
      
      Change-Id: I658e2798bd9720a7baafd7eb1eed3f1e8befafe0
      ef1611f7
    • George Zagaris's avatar
      ENH: Use vtkImageData in implicit connectivity · 8a4e1cf1
      George Zagaris authored
      Modified the vtkStructuredImplicitConnectivity class to
      populate a vtkImageData instead of vtkUniformGrid. That way
      it can be used with either class since vtkImageData is the
      parent class of vtkUniformGrid.
      
      Change-Id: I38190d740c43f44ce66f744692e6f07ac0d0f92e
      8a4e1cf1
  12. 25 Apr, 2014 15 commits
    • George Zagaris's avatar
      BUGFIX: Add guards for NULL ivars in PrintSelf · 33920cf2
      George Zagaris authored
      The PrintSelf method of vtkStructuredImplicitConnectivity
      was causing failures in the otherPrint test b/c it was
      dereferencing NULL ivars. Fixed that by adding guards
      to chekc if the ivars are NULL.
      
      Change-Id: I50416653e14d5af50a6408c09129f1deebf63ebf
      33920cf2
  13. 23 Apr, 2014 15 commits
    • George Zagaris's avatar
      ENH: Rename nodes to points in vtkStructuredData · 9bfa169c
      George Zagaris authored
      Modified the function names in vtkStructuredData to use "points"
      instead of "nodes" in order to be consistent with the rest of VTK.
      Further, updated all affected code that is using vtkStructuredData
      to reflect this change.
      
      Change-Id: Iad0a876b49e0b5439e47b963c73885c2ade3c0d6
      9bfa169c
    • George Zagaris's avatar
      ENH: Implicit structured data connectivity · e42bbf8f
      George Zagaris authored
      This commit introduces the vtkStructuredImplicitConnectivity class, intended
      as a lower-level helper that provides functionality for resolving
      situations where "gaps" are present in a distributed structured dataset. Gaps
      are resolved by communicating the data (growing the grid to the right) as
      necessary to close the gap. This situation is common with finite difference
      grids that are partitioned with respect to the nodes of the grid, or when some
      other post-processing filter, e.g., sampling the grid to reduce the resolution
      introduces a gap.The present implementation requires one grid per process and
      can deal with 2-D datasets -- XY,XZ,YZ -- as well as 3-D datasets. A test for
      all 2-D and 3-D cases is also added.
      
      Change-Id: I5260ce4fb5ced45434a719c8aacc2153253917a7
      e42bbf8f