1. 28 Mar, 2012 1 commit
  2. 19 Mar, 2012 1 commit
  3. 12 Mar, 2012 1 commit
  4. 07 Mar, 2012 1 commit
    • Kyle Lutz's avatar
      Fix misspellings in VTK/Wrapping · 012f7149
      Kyle Lutz authored
      This fixes a number of misspellings in the comments of
      the source files in VTK/Wrapping. The misspellings were
      found using the codespell tool.
      
      Change-Id: I118d654d6e93caefd0541586416aa0d77690be33
      012f7149
  5. 06 Mar, 2012 1 commit
  6. 05 Mar, 2012 1 commit
  7. 02 Mar, 2012 2 commits
  8. 01 Mar, 2012 1 commit
  9. 28 Feb, 2012 1 commit
    • David Gobbi's avatar
      ENH: Make python initialize vtkTuple after construction. · 46e6489a
      David Gobbi authored
      In C++, the vtkTuple class and its subclasses no longer initialize
      their contents in the default constructor.  In order to maintain
      backwards compatibility within VTK/Python and to make the behavior
      more pythonic, the wrappers now perform the initialization.
      
      The behavior is not completely backwards-compatibile, because the
      vtkColor4ub class used to initialize to [0,0,0,255] and now it
      initializes to [0,0,0,0], ditto for vtkColor4v and vtkColor4d.
      
      Change-Id: I056992dfb47b8ea1c0927c7ecc621a3e0649932b
      46e6489a
  10. 22 Feb, 2012 1 commit
  11. 16 Feb, 2012 3 commits
  12. 15 Feb, 2012 2 commits
    • David Gobbi's avatar
      ENH: Modify wrappers to avoid use of default constructor. · 5040267c
      David Gobbi authored
      The new vtkAtom and vtkBond types did not define a default
      constructor, and as a result, wrapper code that used these
      types would not compile.  This new wrapper code needs only
      a copy constructor and assignment operator, it no longer
      requires classes to define a default constructor.
      
      Change-Id: Id0d06787fc8798eb5fa1e343059ad07079332cf2
      5040267c
    • David Gobbi's avatar
      BUG: Fix infinite loop when printing object from python. · 6479d891
      David Gobbi authored
      The python str and repr methods could recursively reference each
      other if special-wrapped types did not define a str method, which
      occurred when the C++ header didn't define operator<< for streaming.
      
      Change-Id: I29ba591ac933a37401674ad40d94d60e88d06a70
      6479d891
  13. 13 Feb, 2012 1 commit
  14. 11 Feb, 2012 1 commit
  15. 10 Feb, 2012 1 commit
    • David Gobbi's avatar
      COMP: Wrapper macro expansion and vtkXTemplate superclasses. · f75dbfbd
      David Gobbi authored
      Fix a compile error with Paraview.  Subclasses of the templated
      vtkSIVectorPropertyTemplate class failed to wrap, due to expansion
      of the vtkSIVectorProperty macro.  For now, I've disabled expansion
      of macros that aren't function-like macros.
      
      Change-Id: Iaf19efa2e31c823f4f3d2a82c7be00b43b44679b
      f75dbfbd
  16. 09 Feb, 2012 1 commit
    • David Gobbi's avatar
      ENH: Macro expansion for VTK wrappers. · 4a8b64c5
      David Gobbi authored
      Allow the wrapper's preprocessor to perform macro expansion.  Prior
      to this change, only a few function macros that were hard-coded into
      the wrappers could be used in the VTK headers.  Custom macros would
      previously cause the wrapper generation to fail.
      
      Some macros are not expanded for the sake of backwards compatibility:
      1) VTK_* macro constants are not expanded, since these are recognized
      by some of the later stages of the wrapper processing.
      2) vtkDataArray, if defined as a macro, is not expanded in order to
      allow the vtkDataArrayTemplate superclass trick work as before.
      3) All previously hard-coded macros such as the vtkSet/Get macros are
      still hard-coded for now, to ensure backwards compatiblity
      
      Change-Id: I96deec4b9c98badfed88831027011904d197840f
      4a8b64c5
  17. 17 Jan, 2012 1 commit
  18. 13 Jan, 2012 1 commit
    • David Gobbi's avatar
      ENH: Rename the vtkVectorBase class to vtkTuple. · 41c349b1
      David Gobbi authored
      In VTK, the name "tuple" seems to be preferred for this sort of
      entity, e.g. the GetTuple() methods in vtkDataArray.  Another
      reason to change the name is to further assert that a color is not
      a vector, which is why vtkColor is no longer a vtkVector subclass.
      
      Change-Id: I37fa2b9c797d34dd0dbcbd7640ced9450d7f3aba
      41c349b1
  19. 17 Dec, 2011 3 commits
  20. 13 Dec, 2011 2 commits
  21. 12 Dec, 2011 1 commit
  22. 11 Dec, 2011 2 commits
  23. 18 Nov, 2011 1 commit
    • David Gobbi's avatar
      BUG: Typo in vtkWrapPython.c for vtkTimeStamp. · a202e28c
      David Gobbi authored
      Classes that use vtkTimeStamp as an interface type would be incorrectly
      wrapped, if wrapped via a third-party package.  This was due to a typo
      in vtkWrapPython.c which caused "#include <vtkTimeStap.h>" to be written
      into the wrapper file.
      
      Change-Id: Ief6507a8eb67a217a5e63c8ce3804054b45f7a46
      a202e28c
  24. 16 Nov, 2011 1 commit
  25. 24 Oct, 2011 1 commit
  26. 21 Oct, 2011 1 commit
    • Sankhesh Jhaveri's avatar
      FIX: SetImageConnection instead of SetImageData · 439be45a
      Sankhesh Jhaveri authored
      SetImageConnection(a) is the same as SetInputConnection(1,a)
      where, a=vtkAlgorithmOutput*
      
      vtkImageDifference changes:
      Use GetInputConnection(0,0) instead of GetInput()
      Use GetInputConnection(1,0) instead of GetImage()
      439be45a
  27. 12 Oct, 2011 1 commit
    • Sankhesh Jhaveri's avatar
      FIX: Python tests for SetInputData, Update and GetWholeExtent · f5d8bfd7
      Sankhesh Jhaveri authored
      For a filter to do GetWholeExtent,
      instead of,
         extent = filter.GetOutput().GetWholeExtent()
      new method is,
         extent = filter.GetExecutive().GetWholeExtent(filter.GetOutputInformation(0))
      
      For a vtkImageData object, SetWholeExtent and SetUpdateExtent methods are not required.
      f5d8bfd7
  28. 06 Oct, 2011 2 commits
    • Sankhesh Jhaveri's avatar
      FIX: Additional Tcl tests. ADD: Added GetWholeExtent to hints for wrapping · 8c8248ae
      Sankhesh Jhaveri authored
      vtkType.h defines data types that can be used by vtk classes. One cannot access these datatypes in tcl.
      We have to declare an environment variable based on type defined in vtkType.h. Example in Graphics/Testing/Tcl/blankgrid.tcl
      
      Added an entry in the Wrapping/hints file to give its signature to the wrapping mechanism. The method gets wrapped now.
      8c8248ae
    • Jeff Baumes's avatar
      Fixing multi-path MPI include issue · 070804e4
      Jeff Baumes authored
      When there are multiple include directories for MPI,
      as happens on Ubuntu with openmpi, quoting the argument
      to INCLUDE_DIRECTORIES causes both to be treated as
      one path, and MPI includes cannot be found.
      070804e4
  29. 05 Oct, 2011 1 commit
  30. 23 Sep, 2011 1 commit
  31. 14 Sep, 2011 1 commit