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.
  2. 12 Feb, 2016 3 commits
  3. 11 Feb, 2016 2 commits
  4. 10 Feb, 2016 1 commit
  5. 09 Feb, 2016 1 commit
  6. 08 Feb, 2016 1 commit
  7. 31 Jan, 2016 1 commit
  8. 29 Jan, 2016 1 commit
    • Berk Geveci's avatar
      Refactored and update the way algorithms are updated. · f020ebb6
      Berk Geveci authored
      The way algorithms were updated (made to execute) with
      request meta-data (such as update extent) was very error
      prone and counter-intuitive. Added new methods to make
      updating with meta-data easier. I also deprecated a number
      of methods to set request meta-data. This will encourage
      developers to migrate to the new API which is less error-
  9. 28 Jan, 2016 1 commit
    • David Gobbi's avatar
      Fix wrapping pointer parameters with default value 0. · fcd2ac5a
      David Gobbi authored
      When the python wrappers were wrapping a pointer parameter with a default
      value of null, e.g. func(int *x=0), then if no parameter was passed then
      the underlying C++ function would receive an uninitialized array rather
      a null pointer.
      In addition, the SaveArray() and ArrayHasChanged() methods that the python
      wrappers use when wrapping non-const pointers and arrays would overflow
      when the array size was zero.
  10. 25 Jan, 2016 1 commit
    • David Gobbi's avatar
      Add a vtkImagePointIterator class. · f7fb4c66
      David Gobbi authored
      Given an image, the vtkImagePointIterator will iterate through the
      image point-by-point and efficiently provide the current position in
      both (x,y,z) data coordinates and (i,j,k) structured coordinates. If
      a stencil is provided, then it is possible to check whether the current
      point is in the stencil.
      The superclass, vtkImagePointDataIterator, iterates through the data
      span-by-span for efficiency.  For each span, it provides the point id
      for the beginning of the span, and the length of the span.  This makes
      it useful for iterating through the point attributes when the actual
      point coordinates are not important.
  11. 22 Jan, 2016 1 commit
  12. 20 Jan, 2016 1 commit
  13. 19 Jan, 2016 3 commits
  14. 14 Jan, 2016 2 commits
  15. 08 Jan, 2016 1 commit
    • Boris Nagaev's avatar
      Fix CMake error if in directory with ++ in name. · a8495801
      Boris Nagaev authored
      If ${VTK_SOURCE_DIR} contains "++", the following error
      is produced by CMake:
      > RegularExpression::compile(): Nested *?+.
      > RegularExpression::compile(): Error in compile.
      Use STREQUAL instead of MATCHES to compare strings.
  16. 07 Jan, 2016 1 commit
  17. 04 Jan, 2016 1 commit
    • Sean McBride's avatar
      Fixed a bunch of clang-tidy misc-macro-parentheses warnings · a595ab8e
      Sean McBride authored
      This tool warns where macros should be using parens.
      Fixed many issues it pointed out by either:
       - adding parens (which it can do automatically)
       - removed unused (or rarely used) macros
       - replacing macros with functions, notably vtkMath stuff
  18. 21 Dec, 2015 3 commits
    • David Gobbi's avatar
      Remove some doxygen commands when formatting comments. · 1064b4ee
      David Gobbi authored
      The @brief doxygen command is out of place in the python docstrings, and
      can be removed.  Several other commands, like @param, are left in because
      they are informative and the purpose of the comment is lost if they are
    • David Gobbi's avatar
      Apply doxygen class docs to python wrapping. · 9df72c1f
      David Gobbi authored
      Previously, the class docstrings were generated from the .SECTION commands
      in the file documentation.  Now, the doxygen class documentation will be
      used if they are present and the .SECTION commands are absent.
    • David Gobbi's avatar
      Read all doxygen comments from headers. · 53a763d4
      David Gobbi authored
      With this change, all doxygen comments are read from the headers, including
      trailing comments (//!<) and comments that do not appear immediately before
      the item they apply too (e.g. comments with \class).  Comment groups are not
      not handled.
  19. 20 Dec, 2015 1 commit
    • David Gobbi's avatar
      Add preliminary doxygen comment handling for wrappers. · 0b77535e
      David Gobbi authored
      This change allows the wrappers to recognize and use some doxygen comments,
      in the same way that they can recognize VTK's "// Description:" comments.
      Currently, doxygen comments are only passed through to python docstrings for
      methods, not for classes.
  20. 18 Dec, 2015 1 commit
  21. 14 Dec, 2015 1 commit
  22. 08 Dec, 2015 2 commits
    • Brad King's avatar
      Drop support for compilers without `long long` · 3b89e771
      Brad King authored
      VTK no longer supports any compilers that do not provide this type.
      Therefore all code conditional on VTK_TYPE_USE_LONG_LONG can be made
      unconditional.  Leave the macro defined to tell dependent projects that
      APIs using the type are available in case they still support versions of
      VTK that make it conditional.
    • Brad King's avatar
      Drop support for compilers with `__int64` as the only 64-bit int · 36bb09a7
      Brad King authored
      VTK no longer supports any compilers that have `__int64` but not a
      `long` or `long long` that is 64-bit.  Therefore all code that is
      conditional on VTK_TYPE_USE___INT64 is never used and can be dropped.
  23. 03 Dec, 2015 2 commits
  24. 01 Dec, 2015 1 commit
    • David Gobbi's avatar
      Fix bug for parsing backslash in string literal. · db20eb75
      David Gobbi authored
      The string and char literals had a mistake that caused a mis-parse if
      a backslash appeared before the terminating quote.  The new patterns
      fix the bug, and also allow for multi-line string literals.
  25. 27 Nov, 2015 1 commit
  26. 25 Nov, 2015 1 commit
  27. 23 Nov, 2015 2 commits
  28. 19 Nov, 2015 2 commits