1. 23 Sep, 2016 1 commit
  2. 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.
  3. 08 Jul, 2016 1 commit
  4. 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[\.]*
      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.
  5. 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
  6. 08 Mar, 2016 1 commit
  7. 06 Aug, 2015 1 commit
    • David Gobbi's avatar
      Python API compatibility for py3k. · d3eb4043
      David Gobbi authored
      This is a large change that adds conditional compilation to support
      both python 2 and python 3.  The header vtkPythonCompatibility.h
      does a lot of the necessary work:
      1) PyInt is redefined to PyLong for py3k
      2) PyString is redefied to PyUnicode for py3k
      3) PyBytes is redefined to PyString for python 2
  8. 18 Dec, 2014 1 commit
  9. 16 Sep, 2014 1 commit
    • Ben Boeckel's avatar
      vtkPythonAlgorithm: print out all the error information · b0cd19ba
      Ben Boeckel authored
      Unfortunately, Python has this habit of using the name of the
      exception's class for critical information and the stringification of
      the exception itself is useless on its own (e.g., AttributeError's
      string is just the name of the attribute that is missing). To get better
      error information, use traceback.format_exception if it is available.
      Change-Id: I7fcbd9a12e505b2e3422c31dcf52055d98144a64
  10. 07 Sep, 2014 1 commit
  11. 07 Aug, 2014 1 commit
    • Shawn Waldon's avatar
      Add a smartpointer for PyObjects · f9a208d6
      Shawn Waldon authored
      This refactors the SmartPyObject class from a local class in
      vtkMatplotlibMathTextUtilities.cxx to be externally visible.  This class
      is duplicated several places in Paraview and this refactor will allow
      code to be shared between all places that need it.  It is added to the
      vtkWrappingPythonCore module as the vtkSmartPyObject class.
      This commit also refactors the vtkPythonAlgorithm to use the new smart
      This commit is part of a change to ParaView and thus the topic name
      reflects that change and not the change to VTK.
      Change-Id: If3f0387bb7bb24f823dbe690e64a0a8bb1e0df16
  12. 03 Jul, 2014 1 commit
    • Ben Boeckel's avatar
      modules: add modules to "kits" · e5203447
      Ben Boeckel authored
      The main kits are:
          vtkOpenGL (required due to a dependency cycle from
                     vtkRenderingOpenGL on vtkImagingHybrid)
      Modules which deal with a specialization of another module belong to the
      kit related to the specialization (i.e., FiltersParallel and
      IOParallelXML both belong to the vtkParallel kit) to avoid circular
      dependencies that arise when put into the same kit as the "lesser"
      Change-Id: Icae0baa78d62cc0dcce84546541df600d4f311dd
  13. 13 Jun, 2014 2 commits
  14. 11 Jun, 2014 2 commits
  15. 10 Jun, 2014 1 commit
    • Ben Boeckel's avatar
      vtkPythonAlgorithm: support older pythons · 4b74588b
      Ben Boeckel authored
      Older Python's PyObject_GetAttrString did not take a const char*, but
      instead a char*. This disallows using static strings for the attribute
      Change-Id: I349b14f532c34fcc7c2ac6f03e24c171847bc51e
  16. 06 Jun, 2014 1 commit