1. 11 Jul, 2011 3 commits
  2. 10 Jun, 2011 2 commits
  3. 08 Jun, 2011 6 commits
  4. 02 Jun, 2011 1 commit
  5. 01 Jun, 2011 6 commits
  6. 31 May, 2011 9 commits
  7. 30 May, 2011 2 commits
    • David Gobbi's avatar
      ENH: Wrap templated types in python. · 7cf3539a
      David Gobbi authored
      This patch wraps vtkVector, vtkRect, and vtkColor, vtkDenseArray,
      and vtkSparseArray and makes them usable from python.  These objects
      can be instantiated by including the template args in square brackets,
      e.g. vtkVector['float32',3](), or by using the specializations that
      have already been provided in C++ such as vtkVector3f.
      
      Change-Id: I5304da8409de67bd104bf75d52b9af7462705099
      7cf3539a
    • David Gobbi's avatar
      Mark constructors that take array pointers as explicit. · d1e2854c
      David Gobbi authored
      Any single-argument constructor that is not marked as explicit
      can be used for automatic argument conversion by C++.  In this
      case, it meant that vtkChart::SetSize(const vtkRectf&) could be
      called as SetSize(float *), which I do not think was intended.
      I believe that explicit conversion SetSize(vtkRectf(float *))
      was the intent, and the "explicit" keyword enforces this.
      
      Change-Id: I2bc695688aecf51fe52943ca1e2537ea402d8909
      d1e2854c
  8. 28 May, 2011 2 commits
  9. 27 May, 2011 1 commit
  10. 26 May, 2011 1 commit
    • David Gobbi's avatar
      ENH: Make pydoc work on vtkobject instances. · 2d05d083
      David Gobbi authored
      The python help() command did not work on vtkobject instances, since
      pydoc did not recognize them.  This patch adds a __bases__ attribute
      so that pydoc thinks they are classes and documents them as such.
      
      Change-Id: Ibe025dbc5a492df5cfc41ea9421c695aa675b7b3
      2d05d083
  11. 24 May, 2011 2 commits
  12. 20 May, 2011 5 commits