1. 11 Sep, 2015 2 commits
  2. 10 Sep, 2015 1 commit
  3. 09 Sep, 2015 1 commit
    • Ken Martin's avatar
      Fixes related to surface with edges · 67c0a8a8
      Ken Martin authored
      This topic fixes an issue where when surface with edges was on
      the shaders were rebuilding every time when they did not need to
      because the light complexity was shared between all the shaders.
      
      Also when draw edges was on scalar coloring was still happening
      wen it shoudl not have been.
      67c0a8a8
  4. 08 Sep, 2015 1 commit
  5. 02 Sep, 2015 1 commit
  6. 01 Sep, 2015 2 commits
    • Brad King's avatar
      Add a vtkTemplate2Macro to dispatch to two template arguments at once · e12a8157
      Brad King authored
      
      
      The vtkTemplateMacro is useful for dispatching to filter implementations
      that use one template argument.  Add a new vtkTemplate2Macro to dispatch
      filter implementations that use two template arguments.  Use a single
      switch over two VTK type ids packed into a single integer.
      Suggested-by: Will Schroeder's avatarWill Schroeder <will.schroeder@kitware.com>
      e12a8157
    • T.J. Corona's avatar
      Propagate safe variant setting through children of vtkAbstractArray. · 1eedaf88
      T.J. Corona authored
      This fix is in reference to bug report 0014340, and is an extension of the
      change made in commit 84b126f9. vtkAbstractArray and its children have the
      convention of a fast, unsafe method for setting elements (SetXXX) and a safer,
      slower method (InsertXXX). In the prior commit, this convention was extended to
      setting with variant values. In vtkAbstractArray, InsertVariantValue was not a
      pure virtual method, and it called the unsafe SetXXX method (which led to
      problems, see the bug report). By making this method pure virtual, we ensure
      that InsertXXX is indeed safe for each container. It also enforces the pattern
      in place for SetXXX vs InsertXXX with other variable types.
      1eedaf88
  7. 28 Aug, 2015 1 commit
    • David Gobbi's avatar
      The Py3K wrapping broke init args for subclasses. · 4d3bc03f
      David Gobbi authored
      The tp_new slot was unconditionally checking the constructor args,
      looking for a swig-style pointer.  This meant that if a vtk class
      was subclassed in Python, the subclass constructor args were checked
      in the same way regardless of whether it defined its own __init__
      method.
      4d3bc03f
  8. 26 Aug, 2015 1 commit
  9. 24 Aug, 2015 3 commits
  10. 23 Aug, 2015 1 commit
  11. 21 Aug, 2015 1 commit
  12. 20 Aug, 2015 4 commits
  13. 18 Aug, 2015 1 commit
  14. 13 Aug, 2015 1 commit
  15. 12 Aug, 2015 1 commit
  16. 10 Aug, 2015 1 commit
    • David Gobbi's avatar
      Add a python function to check buffer equivalence. · 8320da24
      David Gobbi authored
      The python "buffer" and "memoryview" objects do not expose the pointer
      to the underlying memory, they only expose the contents of the memory.
      Likewise, if you check (buffer1 == buffer2) within python, then python
      will iterate through both buffers to see if they have the same contents!
      After all, for python, that's how equality is defined for sequence types.
      
      This commit adds a method called buffer_shared(ob1, ob2) that checks to
      see if two objects (e.g. arrays) expose the same block of memory via
      their buffer interface.  It assumes that the "buf" pointer is the lowest
      address of the buffer (i.e. the strides must be non-negative).
      
      It also adds two changes to dataset_adapter.py:
      1) The adapter now uses buffer_shared() instead of using "==" to compare
      buffers, because as stated above "==" does the wrong thing.
      2) It repairs an infinite recursion where __getattr__ called hasattr().
      The infinite recursion was caught silently by hasattr() itself in python2,
      but is exposed as a RuntimeError in python3.
      8320da24
  17. 08 Aug, 2015 1 commit
    • Bill Lorensen's avatar
      COMP: Infinite loop compiling TestDataArrayAPI · 5c05c915
      Bill Lorensen authored
      On Mac OS 10.7.5, GCC 4.2.1 the compil for the test TestDayaArrayAPI
      never completes. This patch breaks up ExerciseDataArray into into two
      methods: ExerciseDataArrayAPI and ExerciseGetRange.
      5c05c915
  18. 07 Aug, 2015 2 commits
  19. 06 Aug, 2015 3 commits
    • David Gobbi's avatar
      Patch CommonCore python tests for py3k. · b7308b03
      David Gobbi authored
      This change modifies the python code for the tests so that they are
      cross-compatible between python 2 and python 3.  The new code will not
      run on Python 2.5 or earlier, because only python 2.6 and 2.7 allow
      py3k-friendly syntax.
      
      The numpy_interface does not fully support python 3 yet, due to changes
      in the way numeric operators work and the way type coercion is done.
      b7308b03
    • T.J. Corona's avatar
      Force a lookup table reset after vtkAbstractArray::Reset() · 5e5fb779
      T.J. Corona authored
      This fix is in reference to bug report 0015533. The method Reset() in
      vtkAbstractArray was modified to flag a change in data, resulting in the
      correct behavior for LookupValue() after Reset() was called. Also, the method
      DeepCopy() was changed to only copy valid elements (thanks David Lonie!).
      5e5fb779
    • David Gobbi's avatar
      Add the new py3k buffer interface. · 16bb32d4
      David Gobbi authored
      Python 3 introduced a multi-dimensional buffer interface, which was
      backported to Python 2.6 and Python 2.7.
      16bb32d4
  20. 27 Jul, 2015 1 commit
  21. 23 Jul, 2015 2 commits
  22. 22 Jul, 2015 7 commits
  23. 18 Jul, 2015 1 commit