This project is mirrored from https://gitlab.kitware.com/vtk/vtk-m.git. Pull mirroring updated .
  1. 22 Nov, 2017 1 commit
    • Philippe Pébaÿ's avatar
      Fixed issues with the computation of material interfaces in HTG · a4cc7836
      Philippe Pébaÿ authored
      This commit addresses to main issues:
      1. The AxisReflection was /adding/ modified arrays, as opposed to
         modifying in situ the interface arrays (vectors and intercepts).
         This had initially made on purpose with the intent of temporary
         retaining the original arrays for debugging purposes. However,
         this had been forgotten and left in place. As a result, interface
         computations after a reflection where incorrect. This bug was
         not revealing itself in the test harness so far as this combination
         (reflection + interface computations) was not exercised.
         As a result, this commit addresses the issue but also verifies
         this combination. Furthermore, the HTG source was modified in
         order to allow for the specification of intercepts arrays in
         the form that exercise this configuration.
      2. The Geometry extraction was not building material interfaces, as
         a result of some code having been leftover during the HTG-v2
         merger in VTK 8. This commit fixes this issue, and also adds
         a unit test to verify material extraction together with its
         corresponding non-regression image.
      a4cc7836
  2. 12 Sep, 2017 3 commits
  3. 18 Aug, 2017 2 commits
  4. 17 Aug, 2017 1 commit
    • David E. DeMarle's avatar
      miscellaneous cleanup for merge readiness · 06e08644
      David E. DeMarle authored
      * pedantic spacing, doxygen and other style changes
      * fix unused variable warnings
      * fix sign comparison warnings
      * fix overridden variable warnings.
      * use nullptr instead of NULL or 0
      * use VTK_DELETE_FUNCTION instead of //Not implemented.
      * update a stray __WRAP__ to __VTK_WRAP__ (can likely remove too)
      * fixup override, should now be virtual only on base class, override
      on intermediate children. I'm not familar enough to know if any of the
      override should be final so I didn't add any.
      * revert the change to vtkCellTypeSource as it should not be required
      * fix a faulty test and commit the baseline image
      * can not stack allocate parentCursors dynamic array
      * fix potential use of uninitialized variable warnings with good defaults
      * remove declarations without implementations
      * fix type converion warnings
      * mtime declation and implementation return types must agree
      * M_SQRT2 is not cross platform
      * remove non-cross platform rusage from test
      * fix address unsigned<0 warnings
      * fix virtual function hidden warning
      * VTK_NEWINSTANCE hint so wrappers avoid comp warning
      * fix missing braces warning
      * fix bool vs number comparison warnings
      * fix invalid character literal escape sequence
      * streamline types in GetShiftedLevelZeroIndex to avoid warnings and
      make -1's meaningfule
      * revert planecutter changes as they are harmful and not needed
      * increase test tolerance and add alternate baseline images
          A couple of the dashboard machines draw lines slightly differently.
       Increase test tolerance to just above current failed level and in a
       few cases do that and add alternate images to settle down the noise.
      * disable two tests that do not work on every machine
         Authors are not yet able to reproduce and fix whatever the
       root cause is. disabling the tests until they can.
      06e08644
  5. 08 Aug, 2017 1 commit
    • Philippe P. Pébaÿ's avatar
      Full revision and extension of support for hypertreegrid objects and filters · 61908bd7
      Philippe P. Pébaÿ authored
      In this commit, we provide a complete revision and extension of support for
      hypertreegrid objects and filters, hereby entirely superseding the first
      versions thereof which we developed in 2011-2012.
      When compared to those obtained by constructing an intermediate
      unstructured mesh with fully described connectivity, this new structure
      demonstrates a gain of at least 80% in terms of memory footprint,
      with a better rendering while retaining similar execution speed.
      
      All ancillary structures such as cursors and supercursors have also
      been entirely refactored, for the sake of performance as well as of
      ease of maintenance. Existing native filters, i.e., that operate
      directly on hypertreegrid objects, have been revised accordingly.
      In addition, several new native filters have been added, together with
      a large set of non-regression tests and baseline images.
      
      This commit also implements an adaptive approach in order to accelerate the
      rendering of 2-dimensional hypertreegrids, hereby solving the problem posed
      by the loss of interactivity that occurs when dealing with large and/or
      deeply refined meshes. Specifically, view parameters are taken into account,
      in order to: on one hand, avoid creating surface elements that are
      outside of  the view area; on the other hand, utilize level-of-detail
      properties to cull those cells that are deemed too small to be visible
      with respect to the given view parameters. This adaptive approach typically
      results in a massive increase in rendering performance.
      
      Please refer to the following articles for a comprehensive description:
      https://arxiv.org/abs/1702.04852
      https://arxiv.org/abs/1703.00212
      61908bd7
  6. 26 Jul, 2017 1 commit
    • 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
  7. 23 Sep, 2016 1 commit
    • Reindent Script's avatar
      Reindent using the reindentation script. · f830ff47
      Reindent Script 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
  8. 08 Mar, 2016 1 commit
  9. 21 May, 2014 1 commit
  10. 16 Apr, 2014 1 commit
    • Joachim Pouderoux's avatar
      Clean an enhance hypertree grids. · d0c862b4
      Joachim Pouderoux authored
      Fix typos, style & a potential memory leaks.
      Add initial support for extent on level 0 rectilinear grid.
      
      Change-Id: I03ddd5a0b5a30901054a59ebe2bee2be38fa2bf8
      d0c862b4
  11. 22 Apr, 2013 1 commit
    • Joachim Pouderoux's avatar
      Change the indexing of HyperTree and remove dead code & vars. · a45a52a1
      Joachim Pouderoux authored
      HT are now indexed in such a way that there is no more
      dead index.
      HTGSource in quadric mode use the GlobalIndexStart mode to
      avoid the storage of the local to global node id per tree
      (contrary to descriptor/mask sources which use a BSF global
      indexing mode, quadric nodes are numberered on a per-tree
      basis).
      
      Also remove some no more used functions and vars.
      
      Change-Id: Ie5fe5f267a22706334d883d330b8aa9bbb3926e2
      a45a52a1
  12. 19 Apr, 2013 1 commit
    • Joachim Pouderoux's avatar
      Change per tree BSF indexing by global BSF indexing. · c5873cf4
      Joachim Pouderoux authored
      This global breadth-first search let the user access to point
      data in the same order as in the descriptor which describes
      the tree representation in BFS.
      Moreover, each tree node (even non-leaf ones) can now have
      data attached. As previously, the dual only address the tree
      leaves.
      Updating source, filters and tests to take advantage of this
      new behaviour.
      
      Change-Id: I4998336e38cc2d5cf79ec50e51ecc877cb74077e
      c5873cf4
  13. 12 Apr, 2013 1 commit
    • Joachim Pouderoux's avatar
      Optimize HTG for large & sparse level 0 grids. · 34d55b7f
      Joachim Pouderoux authored
      - Replace the vtkCollection which has a find access in O(N) by a std::map.
      
      - Add vtkHyperTreeIterator to avoid browsing every potential tree of
      level 0 grid. Only available trees are now browsed.
      
      - Add a TimeStamp to avoid unnecessary calls to the costly
      UpdateHyperTreesLeafIdOffsets.
      
      Those 3 changes really improve the computation time for building the HTG
      but also for computing the dual and all the filters
      (AxisCut, Geometry & ToUnstructuredGrid).
      
      Also add points for each cell in the tree, not only for leaf, even if
      only leaf points are used to construct the dual and thus referenced by
      some cells.
      
      Change-Id: Ie954fdc8860a55d0de9c23097b0662a2d2123550
      34d55b7f
  14. 10 Apr, 2013 1 commit
    • Joachim Pouderoux's avatar
      HTG modification to support only defined (has mat) level 0 cells. · 3218f2cc
      Joachim Pouderoux authored
      Change the HyperTreeGrid mechanisms to provide efficient storage of very
      large level 0 grids with only few cells defined. Instead of creating a
      full grid array, only defined cells (through MaterialMaskIndex array)
      are stored and processed.
      The source has been updated to take advantage of this new feature.
      
      Some optimizations and code simplification are also provided.
      
      Provide a new test TestHyperTreeGridTernary3DGeometryLargeMaterialBits
      to test the large grids management.
      
      Set 3: Fix tests, mainly fix CopyStructure.
      
      Change-Id: Iaab0afd7d13e66d9ab105c554a4d873ab59f1d35
      3218f2cc
  15. 23 Mar, 2013 2 commits
  16. 24 Jan, 2013 1 commit
  17. 16 Jan, 2013 1 commit
  18. 15 Jan, 2013 1 commit
    • Philippe Pébay's avatar
      A number of fixes · a08374bf
      Philippe Pébay authored
      Re-formatted recent changes that were not exactly VTK-compliant.
      Also removed forced re-setting of dual grid iVar
      
      Change-Id: Ia78727270ff3c2d60658ec5cba1c3d64579c8425
      a08374bf
  19. 04 Jan, 2013 1 commit
  20. 02 Jan, 2013 1 commit
  21. 27 Dec, 2012 1 commit
  22. 19 Dec, 2012 1 commit
  23. 05 Dec, 2012 11 commits
  24. 02 Dec, 2012 2 commits
  25. 01 Dec, 2012 1 commit