1. 10 Dec, 2015 1 commit
  2. 09 Dec, 2015 8 commits
    • Sebastien Jourdain's avatar
      Merge topic 'fix-vtk-web' · ff41bfc5
      Sebastien Jourdain authored
      3c52a0ba
      
       Remove unused import that was creating circular dependency
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !990
      ff41bfc5
    • Sebastien Jourdain's avatar
    • David E DeMarle's avatar
      Merge topic 'fixup-cxx11-code' · f8b432d8
      David E DeMarle authored
      efc0ec1b
      
       Update C++11 support to remove target_compile_features
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Reviewed-by: default avatarDavid E DeMarle <dave.demarle@kitware.com>
      Merge-request: !984
      f8b432d8
    • Shawn Waldon's avatar
      Update C++11 support to remove target_compile_features · efc0ec1b
      Shawn Waldon authored
      target_compile_features doesn't support the compilers and older versions
      of compilers that VTK needs to support.
      efc0ec1b
    • Brad King's avatar
      Merge topic 'simplify-integer-type-selection' · fcd6444a
      Brad King authored
      3b89e771 Drop support for compilers without `long long`
      36bb09a7
      
       Drop support for compilers with `__int64` as the only 64-bit int
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Acked-by: Berk Geveci's avatarBerk Geveci <berk.geveci@kitware.com>
      Merge-request: !981
      fcd6444a
    • David E DeMarle's avatar
      Merge branch 'depth_sort_updates' into 'master' · 912eb02f
      David E DeMarle authored
      modernize depth sorting code
      
      modernize depth sorting code
      
      The following improvements were made to vtkDepthSortPolyData:
      
      * transfrom GetCell to GetCellPoints. Building the cells one by one
        is expensive and we only need points to determine the depth. We
        can also then access the points in place.
      * transform qsort to std::sort. Comparisons in std::sort get inlined
        so std::sort is much faster. I also reduced the overhead of swaps
        by using a functor so that only cell id is swapped.
      * use templates to deal with point types instead of going through
        virtual GetValue API that converts them to double.
      * restructure depth computations so that they can be vectorized by
        the compiler.
      * I added a Cxx test to improve test coverage of the various sorting
        modes supported by this class.
      
      The following improvements were made to vtkPolyData and vtkCellTypes:
      
      * move the non-virtual impementations of GetCellPoints to
        the header to improve compiler optimization.
      * add non-virtual GetCell method and also make it inline
      * fix an issue in cell types where the MaxId is not set
        correctly when you pass in pre-built arrays
      
      In tests the improved depth sort is ~ 3 x faster when sorting by
      first point and cell bounds, and ~ 2 x faster when sorting by
      parametric center. The tests made use of a ~ 8.1M cell iso-surface
      computed from a cosmology simulation, and gcc 4.9.2 compiled with
      -Wall -Wextra -DNDEBUG -Ofast -march=native -mavx -ffast-math
      
      ![depth_sort_speedup](/uploads/bfb5a5b32ad8f5d40d9871c728520385/depth_sort_speedup.png)
      
      code | point | bounds | param
      -----|-------|--------|------
      old | 2.58 sec | 3.05 sec | 3.19 sec
      new | 0.82 sec | 1.02 sec | 1.65 sec
      speed up | 3.14 x | 2.98 x | 1.93 x
      
      See merge request !844
      912eb02f
    • David E DeMarle's avatar
      Merge branch '15412-vtkCaptionActor2D-text-scaling' into 'master' · 86409761
      David E DeMarle authored
      Fix vtkCaptionActor2D not scaling text
      
      The text in vtkCaptionActor2D should scale to fill the rectangle defined
      by its positions. The scaling works as expected only if the actor's
      CaptionTextProperty is modified; using the default CaptionTextProperty
      shows the bug.
      
      This commit makes the text scale even when using the default caption
      text property.
      
      Fixes #15412
      
      See merge request !802
      86409761
    • Ken Martin's avatar
      Merge topic 'remove_leftover' · dfe79f1b
      Ken Martin authored
      a1cc14f4
      
       Remove lingering debugging code
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !988
      dfe79f1b
  3. 08 Dec, 2015 16 commits
  4. 07 Dec, 2015 15 commits