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. 04 Oct, 2017 2 commits
    • 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
    • Kitware Robot's avatar
      Replace VTK_DELETE_FUNCTION with =delete. · 1ac2c008
      Kitware Robot authored and Maynard, Robert's avatar Maynard, Robert committed
      Now that VTK requires a C++11 compiler we can ditch using custom typedefs to
      wrap =delete;
      1ac2c008
  3. 02 Oct, 2017 1 commit
  4. 12 Sep, 2017 2 commits
  5. 18 Aug, 2017 2 commits
  6. 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
  7. 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
  8. 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
  9. 14 Feb, 2017 1 commit
  10. 23 Sep, 2016 2 commits
  11. 16 Sep, 2016 1 commit
  12. 07 Jul, 2016 2 commits
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION to many constructors · 1853e030
      Sean McBride authored
      vtk(.*)\(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1\&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\(const vtk\1 &\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1 \&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1 & \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1 \& ) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1& \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1\& ) VTK_DELETE_FUNCTION;
      
      vtk(.*) \(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1 (const vtk\1\&) VTK_DELETE_FUNCTION;
      1853e030
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION for operator= · 2d0e11ef
      Sean McBride authored
      (operator\s*=.*);\s*//\s*Not\s*implemented[\.]*
      to
      \1 VTK_DELETE_FUNCTION;
      
      After that, this finds basically nothing:
      
      operator.*implemented
      
      then manually reverted changed files in VPIC and KWSys folders.
      2d0e11ef
  13. 27 May, 2016 1 commit
  14. 25 May, 2016 1 commit
    • Perl Regex's avatar
      Remove all BTX and ETX markers from VTK headers · 4d127b1d
      Perl Regex authored
      Perl was used to remove all the BTX and ETX markers from the code.
      The specific command that was run on all "vtk*.h" files was this:
          perl -0777 -i -pe 's/(\n* *\/\/ *[BE]TX *\n+)+/\n\n/g'
      
      This regex replaces each BTX/ETX line, plus any leading or trailing
      blank lines, with a single blank line.
      4d127b1d
  15. 08 Mar, 2016 1 commit
  16. 13 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.
      6bfea2b3
  17. 18 Dec, 2014 1 commit
  18. 14 May, 2014 1 commit
    • Julien Jomier's avatar
      ENH: Fixes for ActiViz.Net · a2dea46c
      Julien Jomier authored
      Added wrapping hint for vtkAMRVolumeMapper
      Fixing TCL test so that automatic wrapping generator for ActiViz works
      Added WRAP_GCCXML definition to expose arrays' methods to ActiViz
      
      Change-Id: Iebed9df18073e9d546ed7ebc9a8b3d43bc7da3cb
      a2dea46c
  19. 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
  20. 15 Aug, 2013 1 commit
  21. 25 Apr, 2013 1 commit
  22. 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
  23. 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
  24. 12 Apr, 2013 2 commits
    • Joachim Pouderoux's avatar
      Add depth and coordinates on each non leaf points. · 9ee5fe8d
      Joachim Pouderoux authored
      Change-Id: Ib73de685956f4ef4d2b9dfb9ce8e4561ae9df945
      9ee5fe8d
    • 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
  25. 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
  26. 23 Mar, 2013 1 commit
    • Philippe Pébay's avatar
      Replaced the IndexingMode ivar with an TransposedRootIndexing bool · cc99b31b
      Philippe Pébay authored
      This is cleaner and makes more sense since there are only 2 modes
      of indexing root cells: either IIK or KJI. It is not considered
      that any other one would be potentially useful for anything.
      So I am either transposing the default (i.e., VTK-style, that is
      x-axis minor and z-axis major) to the x-axis major and z-axis
      minor used by some applications.
      
      Change-Id: Ic79f23622402c9579eefd57ea09743fb72788aa2
      cc99b31b
  27. 21 Mar, 2013 2 commits
  28. 24 Jan, 2013 3 commits
  29. 22 Jan, 2013 1 commit
  30. 20 Jan, 2013 2 commits