1. 24 Sep, 2016 1 commit
  2. 23 Sep, 2016 3 commits
  3. 12 Sep, 2016 1 commit
    • 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.
  4. 24 Aug, 2016 1 commit
  5. 23 Aug, 2016 1 commit
    • David Gobbi's avatar
      Add cmake check for minimum supported Python version · 643e587e
      David Gobbi authored
      We will be removing support for Python 2.6 and Python 3.2 in the near
      future, so add deprecation warnings for these.  For older versions of
      Python, generate an error.  This deprecation is due in part to the
      fact that WebPython now requires Python 2.7 or 3.3+.
  6. 11 Jul, 2016 1 commit
  7. 08 Jul, 2016 1 commit
  8. 07 Jul, 2016 4 commits
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION to many constructors · 1853e030
      Sean McBride authored
      vtk(.*)\(const vtk\1&\);\s*//\s*Not implemented[\.]*
      vtk\1(const vtk\1\&) VTK_DELETE_FUNCTION;
      vtk(.*)\(const vtk\1 &\);\s*//\s*Not implemented[\.]*
      vtk\1(const vtk\1 \&) VTK_DELETE_FUNCTION;
      vtk(.*)\( const vtk\1 & \);\s*//\s*Not implemented[\.]*
      vtk\1( const vtk\1 \& ) VTK_DELETE_FUNCTION;
      vtk(.*)\( const vtk\1& \);\s*//\s*Not implemented[\.]*
      vtk\1( const vtk\1\& ) VTK_DELETE_FUNCTION;
      vtk(.*) \(const vtk\1&\);\s*//\s*Not implemented[\.]*
      vtk\1 (const vtk\1\&) VTK_DELETE_FUNCTION;
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION for operator= · 2d0e11ef
      Sean McBride authored
      After that, this finds basically nothing:
      then manually reverted changed files in VPIC and KWSys folders.
    • Sean McBride's avatar
      include vtkConfigure.h in files that will need it · 37e1de8d
      Sean McBride authored
      These files will eventually need vtkConfigure.h
      for eventual VTK_DELETE_FUNCTION usage.
    • David Gobbi's avatar
      Simplifications for vtk_reindent_code.py · 0e93dad3
      David Gobbi authored
      Making the code a little less obfuscated.
  9. 06 Jul, 2016 1 commit
  10. 05 Jul, 2016 1 commit
  11. 03 Jul, 2016 2 commits
  12. 01 Jul, 2016 2 commits
    • David Gobbi's avatar
      Add '--test' option to vtk_reindent_code.py · 2ff1f497
      David Gobbi authored
      If this option is used, then vtk_reindent_code will print a warning
      for each file with incorrect brace indentation.  It will also print
      the line numbers for the incorrect braces.
    • David Gobbi's avatar
      Call reindent() until no further changes occur · ccc2eb5d
      David Gobbi authored
      Six files in the VTK source required vtk_reindent_code.py to be called
      twice in order for the indentation to be corrected (all other files only
      required it to be called once).  The problem with those six files was
      nested blocks where all source lines between the beginning of the outer
      block and the beginning of the inner block were comments.  There is
      probably a way to fix the script so that it properly deals with this
      situation, but simply re-processing the file until no futher changes
      occur is a robust solution that gives the correct result.
  13. 30 Jun, 2016 1 commit
    • Elvis Stansvik's avatar
      Consider QVTK* headers in WhatModulesVTK.py · 7fecf63b
      Elvis Stansvik authored
      Headers installed by the Qt and QtOpenGL modules in GUISupport use this
      header naming convention. This allows the script to identify that including
      QVTKWidget.h means you depend on the vtkGUISupportQt module, for instance
  14. 28 Jun, 2016 1 commit
  15. 26 Jun, 2016 1 commit
    • Michka Popoff's avatar
      ENH: Do not link against libpython when possible · 772cc086
      Michka Popoff authored
      This is similar to what is already done in ITK and SimpleITK.
      The new vtkTargetLinkLibrariesWithDynamicLookup.cmake file is slightly modified copy from ITK (things have been renamed from ITK to VTK). The explanation of what this patch tries to achieve is documented in this file.
      A new argument is introduced, called OPTIONAL_PYTHON_LINK. When used, the module will be optionally be linked against libpython. In the module.cmake files, most vtkPython dependencies were moved to COMPILE_DEPENDS, so that libpython is not added to the target_link_libraries() call.
      The vtkPython is explicitely linked against the python libraries, as this is a python executable.
      Also, the find_package calls for the PythonLibs were made optional when possible.
      This fixes the following bug: http://www.vtk.org/Bug/view.php?id=16068
  16. 25 May, 2016 1 commit
    • Kitware Robot's avatar
      Remove all BTX and ETX markers from VTK headers · 4d127b1d
      Kitware Robot 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.
  17. 19 May, 2016 1 commit
    • Sean McBride's avatar
      Manual search & destroy of (B|E)TX · 55878a23
      Sean McBride authored
      First automatically removed lines with only BTX/ETX
      from .h files with the following regexes:
      ^ *// *BTX\r
      ^ *// *ETX\r
      and replaced occurances with nothing. Committed that, then manually
      removed various remaining cases of BTX/ETX, and related comments, and parsing stuff,
      then trashed the first commit.
  18. 13 May, 2016 1 commit
  19. 28 Apr, 2016 1 commit
  20. 11 Apr, 2016 1 commit
    • David C. Lonie's avatar
      Add depth peeling benchmark. · 1b26ec3c
      David C. Lonie authored
      This 10M triangle scene stresses depth peeling implementations to see
      how well they perform.
      Results (nVidia Quadro 2000M, Release build):
      vtkDepthPeelingPass: 1.2 FPS (0.77s first frame, 0.83s subsequent)
      vtkDualDepthPeelingPass: 2.5 FPS (0.56s first frame, 0.40s subsequent)
      We see a roughly 50% improvement with the new dual algorithm, since
      the dual algorithm peels 2 layers per geometry pass.
      For reference, simple alpha blending results in 49 FPS, 0.18s first frame,
      0.020s subsequent.
  21. 22 Mar, 2016 1 commit
  22. 08 Mar, 2016 1 commit
  23. 07 Mar, 2016 1 commit
  24. 25 Feb, 2016 1 commit
    • David Gobbi's avatar
      Move re-indentation utility to the Maintenance dir. · 6f62b2d5
      David Gobbi authored
      This is a python script that changes the Whitesmiths indentation
      style to the Allman indentation style that is currently more popular.
      This script will only change the brace indentation, it will not change
      the code in any other way, so "git blame" results will be mostly
      unchanged after re-styling.
  25. 22 Feb, 2016 1 commit
  26. 20 Feb, 2016 1 commit
  27. 03 Feb, 2016 2 commits
    • Utkarsh Ayachit's avatar
    • Ken Martin's avatar
      reduce opengl2 module dependencies · 480822bf
      Ken Martin authored
      Reduce opengl2 dependencies in two ways
      first move a class that renderingcore depends on from
      filterExtraction to FiltersGeneral. FiltersExtraction pulls
      in a lot of other modules where FiltersGeneral does not.
      FiltersExtraction already depends on filtersGeneral so it
      should be backwards compatible.
      The second change is a new feature to allow a back implementation
      to be required or not. In this case gl2ps was originally required
      by OpenGl2 now it is optional. This required adding an option to
      the module code to specify when a backend implementation is required.
  28. 28 Jan, 2016 1 commit
  29. 22 Jan, 2016 1 commit
  30. 21 Dec, 2015 1 commit
  31. 17 Dec, 2015 2 commits