Skip to content
Snippets Groups Projects
  1. Mar 14, 2017
  2. Jan 22, 2017
    • Sean McBride's avatar
      const improvements to APIs and internal usage · 8b32854b
      Sean McBride authored
      - Made a few APIs' params const
      - Changed many usages of the evil GetBounds() to expect a const
        return value, even though it does not (yet?) return const
      - Slightly changed return values of vtkTextActor3D::GetBounds()
        to return its own ivar instead of its ImageActor's
      8b32854b
  3. Jan 16, 2017
  4. Jan 14, 2017
  5. Jan 05, 2017
  6. Dec 14, 2016
  7. Nov 30, 2016
  8. Sep 23, 2016
    • Kitware Robot's avatar
      Reindent using the reindentation script. · f830ff47
      Kitware Robot authored and David Gobbi's avatar David Gobbi committed
      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
    • David DeMarle's avatar
      replace VTK's nonstandard Doxygen with standard markup · 6a7e5148
      David DeMarle authored
      generated via:
      cd $VTKSRC
      perl Utilities/Doxygen/doc_header2doxygen.pl --to ~/tmp/vtkheaders .
      cp -r ~/tmp/vtkheaders/* .
      6a7e5148
  9. Sep 12, 2016
    • Haocheng LIU's avatar
      Rewrite all public&private dependency in module.cmake file · 6e113ad4
      Haocheng LIU authored
      The current dependency relationship in vtk is unclear and misleading.
      This MR tries to rewrite them based on header files inclusion of headers
      and source files in each module. Corner cases are considered and
      modules are sorted in alphabetical order to facilitate future reference.
      See details in my gitlab python based script project. In future we can continue
      using this script to clean the VTK Dependency easily from
      time to time.
      6e113ad4
  10. Sep 02, 2016
  11. Aug 29, 2016
  12. Aug 26, 2016
  13. Aug 25, 2016
  14. Aug 11, 2016
    • David C. Lonie's avatar
      Add Depth stage to polydata fragment shaders. · 101f9eeb
      David C. Lonie authored
      The depth peelers currently assume gl_FragCoord.z is always the depth,
      but the imposter shaders in Domains/Chemistry modify the depth.
      
      This patch adds a //VTK::Depth::Impl hook into the fragment shader
      template, before any depth peeling processing is applied. The depth
      is stored into gl_FragDepth, and all depth processing now uses this
      variable instead of gl_FragCoord.z.
      101f9eeb
  15. Aug 03, 2016
  16. Jul 25, 2016
  17. Jul 13, 2016
    • Sean McBride's avatar
      Used clang-tidy's "modernize-use-override" to add some C++11 overrides · 753dcec5
      Sean McBride authored
      It doesn't seem to have got everything, but it's a start.
      
      Some resulting whitespace is suboptimal, but one day
      we can fix that with clang-format. :)
      
      Just ran this command:
      run-clang-tidy.py -checks=-*,modernize-use-override -fix
      
      (I actually had to build my own clang to make clang-tidy
      output "VTK_OVERRIDE" instead of "override".)
      753dcec5
  18. Jul 11, 2016
  19. Jul 07, 2016
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION to last few places · 29e423b8
      Sean McBride authored
      Find/replace of:
      
      ;[ ]*//\s*Not implemented[\.]*
      to
       VTK_DELETE_FUNCTION;
      
      To catch a few remaining ones missed by previous greps.
      
      Manually reverted changed files in VPIC and KWSys folders, and a couple other of places.
      29e423b8
    • 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
  20. May 06, 2016
    • David C. Lonie's avatar
      Replace SafeDownCast calls on arrays with vtkArrayDownCast. · 0d71a308
      David C. Lonie authored
      SafeDownCast performs a series of virtual calls and string comparisons,
      which is quite slow, especially when used in worker functions.
      
      vtkArrayDownCast will switch between SafeDownCast and the more
      efficient FastDownCast (only available for common vtkAbstractArray
      subclasses) depending on whether or not FastDownCast is defined for
      the specific array type.
      0d71a308
  21. Apr 18, 2016
  22. Apr 11, 2016
  23. Mar 31, 2016
Loading