1. 31 Jul, 2013 5 commits
  2. 30 Jul, 2013 4 commits
  3. 29 Jul, 2013 10 commits
  4. 28 Jul, 2013 2 commits
  5. 26 Jul, 2013 12 commits
  6. 25 Jul, 2013 7 commits
    • David Thompson's avatar
      Merge topic '14189_set_annotations_deep_copy' into master · 5582d505
      David Thompson authored
      06ef3b9e Change `vtkScalarsToColors::SetAnnotations` behavior.
      5582d505
    • Utkarsh Ayachit's avatar
      Merge topic '13082_fix_log_lut' into master · be5771a4
      Utkarsh Ayachit authored
      16543376 Cleanup logic for indexed colors.
      37a10c60 Release graphics resources properly.
      1509669d Cleaning up transfer function widgets.
      be5771a4
    • David Thompson's avatar
      Change `vtkScalarsToColors::SetAnnotations` behavior. · 06ef3b9e
      David Thompson authored
      Now SetAnnotations performs a deep copy of annotations
      rather than referencing the provided array pointers.
      This addresses ParaView bug 14189, where changes to the
      array after SetAnnotations were not being reflected in
      the map.
      
      Change-Id: I8e78b30a5757eb9429dd5e02c9126cb5c01892c5
      06ef3b9e
    • Utkarsh Ayachit's avatar
      Cleanup logic for indexed colors. · 16543376
      Utkarsh Ayachit authored
      vtkDiscretizableColorTransferFunction used control points to map indexed colors.
      To make applications simpler, added a new API to add indexed colors which are
      used when present when in IndexedLookup mode. If no IndexedColors are specified,
      the vtkDiscretizableColorTransferFunction reverts to the previous behaviour for
      backwards compatibility.
      
      Change-Id: If5b6791baccf2ee0022fd1b1098093d226ef64c3
      16543376
    • Utkarsh Ayachit's avatar
      Release graphics resources properly. · 37a10c60
      Utkarsh Ayachit authored
      vtkScalarBarActor wasn't releasing graphics resources for internal texture. This
      fixes the problem.
      
      Change-Id: I5f01c7d8ad0f78c25b4ab8f21bc8b4e66ae91c5f
      37a10c60
    • Utkarsh Ayachit's avatar
      Cleaning up transfer function widgets. · 1509669d
      Utkarsh Ayachit authored
      Cleaning up issues with the context-items related to tranfer function editor.
      
      + Added support for log-mapped color-transfer function. We ensure that when
        using log-scale, the color transfer function widget also enter log-space.
      
      + vtkPiecewiseControlPointsItem had a bug resulting it deleting of end points
        even when told otherwise. Fixed that.
      
      + Added new event vtkControlPointsItem::PointsModifiedEvent which if fired when
        control points are changed making it easier for application to do something
        when the points are changed.
      
      + Improved the usability by adding ability to label control points.
      
      Change-Id: If02bc1139f6ccb3d7c2198b07d10491f902bafda
      1509669d
    • Shawn Waldon's avatar
      Fixed reference counting bug in vtkTransform · b47332bb
      Shawn Waldon authored
      There was a reference counting error in vtkTransformConcatenation when
      a transform was DeepCopy'ed and shortened and then DeepCopy'ed and lengthened
      using some of the same concatenated transforms.
      
      When the list of concatenated transforms was shortened, the values
      were not cleared out, letting pointers in the list that did not have a reference
      according to the reference counting.  Later, when the list was set to a larger
      list again and happenned to have the same transform at postion x, since there
      was already a reference to the transform in the list, it did not increment
      the reference count even though it should have.  This commit fixes this
      by setting pointers beyond the end of the list to NULL when DeepCopy shrinks the list.
      
      This commit also adds a regression test for that will segfault unless the
      bug is fixed due to a reference count that is accidentally decremented in
      a loop due to the bug. Running this test without this patch will segfault.
      
      Change-Id: I27d7c2097f85a2f8c1d6e8a0e8213d041cc83125
      b47332bb