1. 17 Feb, 2016 1 commit
    • David Gobbi's avatar
      15995: Implement C++ templates as Python modules. · 67eb4fc5
      David Gobbi authored
      The help() function was not working on wrapped class templates, so the
      PyVTKTemplate type has been re-imagined as a module that contains the
      instantiations of the template, since the help() function works with
      module docstrings. PyVTKTemplate still supports the mapping protocol
      as before, which allows lookup of the instantiated templates via the
      template arguments.
      67eb4fc5
  2. 27 Jul, 2015 1 commit
  3. 26 Jul, 2015 1 commit
  4. 23 Jul, 2015 1 commit
    • David Gobbi's avatar
      Create a PyTypeObject for each wrapped vtk class. · 55e8252d
      David Gobbi authored
      This is the first step towards Python 3 compatibility. Wrapped VTK classes
      used to use the old-style python metaclass mechanism, and they worked like
      the old-style classes from python 1 and python 2. Now each wrapped VTK
      class is a new-style class with its own PyTypeObject.
      55e8252d
  5. 01 Mar, 2015 1 commit
    • Sean McBride's avatar
      Move index ‘i’ check after usage · c107164f
      Sean McBride authored
      Silences cppcheck warning.  Might have been a
      false positive, but there’s no behaviour change.
      
      Change-Id: I147eadb054d4cde44012fd8e8b9eb5e739eef6ad
      c107164f
  6. 01 Dec, 2014 3 commits
    • David Gobbi's avatar
      Allow use of all enum types as method parameters. · 67a70a82
      David Gobbi authored
      Previously, enum types could only be used as method parameters if
      the enum type was defined in the same class as the method.  This change
      removes that restriction, by using the hierarchy files to figure out
      what enum types will be wrapped across the whole project.
      
      Change-Id: Ia44272a341312f984d05ed54ae3318c12a2fe404
      67a70a82
    • David Gobbi's avatar
      Fix two previously undetected wrapper bugs. · 57b47954
      David Gobbi authored
      The vtkParseHierarchy class was not detecting enum types, and the
      vtkWrapPython_PythonicName code for converting mangled type names
      to pythonic names was not able to handle namespaces.
      
      Change-Id: If5c044eca741c12a387d150a764b65cf7085a4f9
      57b47954
    • David Gobbi's avatar
      Refactor vtkWrapPython into smaller source files. · a73ab651
      David Gobbi authored
      Because several thousands lines of code is too much for one file.
      
      Change-Id: Ib3af0f2153fddc3f593fd90913bb3408944062f6
      a73ab651