1. 01 Dec, 2014 8 commits
    • David Gobbi's avatar
      Move VTK_BUILD_SHARED_LIBS check to generated code. · a5948d9f
      David Gobbi authored
      Any use of vtkConfigure.h from within the wrapper tool code can
      lead to incorrect configuration when cross compiling.  This change
      moves the VTK_BUILD_SHARED_LIBS check from the wrapper tool code
      into the generated code.
      
      Change-Id: Ie80075bf107aa7635767488ed9f87b0aa3590c72
      a5948d9f
    • 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
      Wrap namespaces in python. · b271e764
      David Gobbi authored
      For now, namespaces can only be used to define constants and enum types.
      Any functions or methods in the namespace will not be wrapped.
      
      Change-Id: If876e77f814630aa4cb0336579826fd9b58c66f2
      b271e764
    • 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
      Add an enum type to the python wrappers. · ba693ade
      David Gobbi authored
      Any enum types that are encountered will automatically be wrapped
      as integral types.  This is true for enum types defined in the global
      namespace, and enum types defined within a wrapped class.  Other
      namespaces are not yet supported, because the python wrappers do not
      yet wrap C++ namespaces.
      
      When a class method has an enum parameter, and if the enum is a member
      of the class, then that method will perform type checking on the enum.
      Class methods that require enums that are not members of the class will
      not be wrapped (in future versions of the wrappers, they might).
      
      Change-Id: If38391de8a1a66eb255ddf83a72916af6d81dc78
      ba693ade
    • David Gobbi's avatar
      Wrap enum constant members for non-vtkObject types. · f642f513
      David Gobbi authored
      Change-Id: Id9b7b1659b07103ebb8dd80df02cccd56e5ab6a0
      f642f513
    • 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
    • Aashish Chaudhary's avatar
      Merge topic 'volume_update_test' into master · 75c1a33e
      Aashish Chaudhary authored
      740f0188 Fix crash when running VolumeUpdate test
      75c1a33e
  2. 30 Nov, 2014 1 commit
  3. 28 Nov, 2014 18 commits
  4. 27 Nov, 2014 3 commits
  5. 26 Nov, 2014 10 commits