1. 29 Jul, 2013 2 commits
  2. 28 Jul, 2013 2 commits
  3. 26 Jul, 2013 11 commits
  4. 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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
  5. 24 Jul, 2013 6 commits
    • Burlen Loring's avatar
      Make "graphic error" api legacy · c544585c
      Burlen Loring authored
      Decorated vtkRenderWindow "graphic error" methods with legacy.
      These were superceded by vtkOpenGL{Check/Clear}ErrorMacro's.
      Change-Id: I2b3fbbbb1125b7611d4553e6ea1640b3f74121f6
    • Burlen Loring's avatar
      OpenGL driver version detection and OS Mesa features · 4d5cbfb6
      Burlen Loring authored
      Added support to vtkOpenGLExtensionManager for fine grained
      OpenGL driver version detection. Added a flag to enable/disable
      features with known driver specific bugs for testing new
      driver releases. This mostly to test future Mesa releases to
      determine if bugs have been fixed. Used the new feature to
      see if some long standing Mesa bugs have been fixed in newer
      Mesa releases for the OS Mesa renderer.
      * NPOT texture support used by vtkOpenGLContextDevice2D and
      vtkOpenGL2ContextDevice2D fixed in Mesa >= 8
      * reset glReadBuffer to quiet incomplete FBO error report in
      * vtkOpenGLVolumeGPURayCastMapper tests pass in Mesa >= 9
      except TestGPURayCastCompositeShadeMask. Explicitly disabled
      the test for OS Mesa.
      * disable FBO for Mesa < 8 because of TestBlurAndSobelPasses
      TestSobelGradientMagnitudePass test failures
      * disable vtkOpenGLHAVSVolumeMapper for OS Mesa without
      Gallium llvmpipe renderer
      * vtkCompositeRGBAPass needs GL_ARB_texture_float. Mesa
      may or may not be built with it enabled due to patent
      restrictions and a bug in 8-9 releases.
      * Disable FBO for Mesa drivers reporting OpenGL version 1.4
      because of incomplete/buggy GL_ARB_draw_buffers.
      * Although associated ctests run and pass, disable
      vtkOpenGLVolumeTextureMapper3D for OS Mesa < 9 because of
      false OpenGL invalid enum report.
      Change-Id: Ic82aeb4747137aead53251026744baa61ced66d0
    • Zack Galbreath's avatar
      Merge topic 'fix_warning' into master · 1fb3bd99
      Zack Galbreath authored
      080a7f72 resolve new warning
    • Zack Galbreath's avatar
      resolve new warning · 080a7f72
      Zack Galbreath authored
      This commit eliminates the following warning:
        warning C4018: '<' : signed/unsigned mismatch
      Change-Id: I3dc5f506e5b08ea6365d71487c5b39364faabec3
    • Zack Galbreath's avatar
      Merge topic 'more_than_32_categories' into master · f02476b2
      Zack Galbreath authored
      2c86574b use SetMaxDiscreteValues for categorical color map
      02ffb7ac change MAX_DISCRETE_VALUES into an ivar
    • Utkarsh Ayachit's avatar
      Merge topic 'update_vtk_master' into master · 6e9be2bf
      Utkarsh Ayachit authored
      f7f82536 Fixed regression introduced by a6fa3e37.
  6. 23 Jul, 2013 6 commits
    • Utkarsh Ayachit's avatar
      Fixed regression introduced by a6fa3e37. · f7f82536
      Utkarsh Ayachit authored
      a6fa3e37 changed the logic in vtkWin32OpenGLRenderWindow::CleanUpRenderers().
      That method was used when swithcing from offscreen to onscreen. That resulted in
      the renderers not having correct references to render window after switching
      from offscreen to onscreen context causing dashboard failures on ParaView
      dashboards. This fixes that issue.
      Since the a6fa3e37 changed the logic in CreateOffScreenDC() by not using
      CleanUpRenderers() to reset renderers, it makes sence to change the logic in
      ResumeScreenRendering() to not use CleanUpRenderers() for resetting renderers as
      Change-Id: I32e58854fa8720c99212cee5d7a2652f11dc9b21
    • Zack Galbreath's avatar
      use SetMaxDiscreteValues for categorical color map · 2c86574b
      Zack Galbreath authored
      Use the new function vtkAbstractArray::SetMaxDiscreteValues within
      vtkTreeHeatmapItem.  This allows us to properly color categorical
      datasets that contain more than 32 distinct values.
      Within this commit, we also change the color set that we're using for
      the categorical color map.  The accent set is pretty, but it only has
      8 different values.  Instead we'll use qualitative set3 because it
      has 12 values.
      Finally, we fix a bug in vtkTreeHeatmapItem so that our NaN color
      (grey) is used appropriately by our categorical lookup table.
      Change-Id: I53bc9f13240be8c0c10b5dbc77bdcca1ea0fa2a1
    • Zack Galbreath's avatar
      change MAX_DISCRETE_VALUES into an ivar · 02ffb7ac
      Zack Galbreath authored
      Change MAX_DISCRETE_VALUES from a hardcoded value of 32 to a user-
      settable ivar.  This allows users of vtkAbstractArray to generate
      a categorical color map for data sets containing more than 32
      discrete values.
      For backwards compatibility, we keep the MAX_DISCRETE_VALUES enum
      and use it to initialize MaxDiscreteValues.  This enum is marked
      as deprecated.
      Change-Id: I83bf7c598288dc28a4ad231778c66e1571e3a461
    • Dave DeMarle's avatar
      Merge topic '0012114-fix-getarrayindex-documentation' into master · f81dd42f
      Dave DeMarle authored
      736a4ade BUG:0012144 correct the documentation for GetArrayIndex
    • Robert Maynard's avatar
      Merge topic 'vtkFLUENTReader_array_indexing_12683' into master · 7915505c
      Robert Maynard authored
      0a2836c7 Fix off by one error in vtkFLUENTReader::GetCellsAscii().
    • Robert Maynard's avatar
      Fix off by one error in vtkFLUENTReader::GetCellsAscii(). · 0a2836c7
      Robert Maynard authored
      Thanks to Dan Clark to pointing out the issue in the vtkFLUENTReader.
      Change-Id: I0bea0c4ed74917d6af913d95f8cfd9a6d45dec11
  7. 22 Jul, 2013 6 commits