1. 06 May, 2016 1 commit
    • David C. Lonie's avatar
      Replace SafeDownCast calls on arrays with vtkArrayDownCast. · 0d71a308
      David C. Lonie authored
      SafeDownCast performs a series of virtual calls and string comparisons,
      which is quite slow, especially when used in worker functions.
      
      vtkArrayDownCast will switch between SafeDownCast and the more
      efficient FastDownCast (only available for common vtkAbstractArray
      subclasses) depending on whether or not FastDownCast is defined for
      the specific array type.
      0d71a308
  2. 08 Mar, 2016 1 commit
  3. 25 Feb, 2016 1 commit
  4. 17 Sep, 2015 1 commit
  5. 26 Jun, 2015 1 commit
    • David C. Lonie's avatar
      Fix vtkAxis scaling when TileScale is set on the renwin. · ef328bcf
      David C. Lonie authored
      Now vtkAxis will show the same number of ticks and the
      same relative text size when magnifying the image. Text
      will still be a little funky if the scaling is anisotropic,
      but at the moment our freetype engine doesn't support
      anisotropic dpi (not sure if the MPL backend can or not).
      
      New API: vtkContextScene::GetLogicalTileScale() returns
      the renderwindow tilescale or (1, 1) depending on whether
      ScaleTiles is enabled.
      
      There are some random fixes where vtkAxis objects were being
      used without a scene, which led to segfaults when trying to
      look up the tile scale internally.
      ef328bcf
  6. 12 May, 2015 2 commits
  7. 02 Apr, 2015 2 commits
  8. 19 Dec, 2014 2 commits
  9. 16 Nov, 2014 1 commit
  10. 06 Nov, 2014 1 commit
    • Utkarsh Ayachit's avatar
      BUG #14809: Use title size when placing title in vtkChartXY. · 9ffb9792
      Utkarsh Ayachit authored
      vtkChartXY did not use the space used by the title text and top-axes to
      determine where to place the title text. That resulted in cases where
      the title overlapped the top-axes labels or for larger font sizes,
      simply didn't have enough room. Fixed that by ensuring that the title
      placement/border determination code uses the title text's size.
      
      Updated TestLinePlotAxisFonts test to test this new functionality.
      
      Change-Id: Idac42b970eb27ebbaee95adf43748d79747cd1dc
      9ffb9792
  11. 04 Nov, 2014 1 commit
    • Utkarsh Ayachit's avatar
      BUG #15058: Fixes unclipped grid. · 25e39389
      Utkarsh Ayachit authored
      vtkChartXY wouldn't clip the grid. There doesn't seem to be a good
      reason for that. We should clip the grid to match
      clipping/transformation used by the axes and other plots. This avoid
      visualization where the grid extends beyond the axes/plots.
      
      Change-Id: I5bd43f65f27f437832bf33ef6230084de7988367
      25e39389
  12. 02 Oct, 2014 1 commit
  13. 16 Aug, 2014 1 commit
    • Utkarsh Ayachit's avatar
      Fixed issue with selection frame line style. · 45efae2a
      Utkarsh Ayachit authored
      The selection box/polygon drawn inherited  the line style set of the
      most recent plot that was rendered. This resulted in cases where if the
      plot had line-style set to NO_PEN, the selection box/polygon would not
      show up at all. Fixed that.
      
      Change-Id: Ib6948f9bd3f174583745e8185b576348e0ed549c
      45efae2a
  14. 14 Aug, 2014 1 commit
    • Utkarsh Ayachit's avatar
      Fixed logic to work when an empty vtkSelection is passed. · ac920d1f
      Utkarsh Ayachit authored
      vtkChartXY didn't update the selection if an empty vtkSelection was
      passed. It should have cleared the selection, since it's now being set
      to 'empty'. Fixed that.
      
      This fixes the issue in ParaView where is the selection wasn't cleared
      when expected (BUG #14935).
      
      Change-Id: I947b13c2b5885c4e182c35013f1fe491d6839c56
      ac920d1f
  15. 13 Dec, 2013 1 commit
    • Joachim Pouderoux's avatar
      Introduce FunctionBagPlot and related filters. · bdb8bbf7
      Joachim Pouderoux authored
      Add a new plot type to draw functional bag plots.
      
      Add vtkExtractFunctionalBagPlot filter to generate the two 2
      components columns needed to fee a functional bag plot.
      
      Add a TransposeTable filter to transpose tables, options allow
      to create a new column containing initial row names, and use such
      a column to name the new columns.
      
      Change-Id: If7fedd9b99038ab7924f5e9b170ed72bd02f9189
      bdb8bbf7
  16. 12 Dec, 2013 1 commit
    • Joachim Pouderoux's avatar
      Introduce Bag Plot and HDR statistic filter. · 5693f023
      Joachim Pouderoux authored
      Add a new type of plot to draw 'bag plots', a bivariate generalization
      of the univariate boxplot.
      Add a new statistic filter to compute the Highest Density Regions
      that can be used to compute a density field used to draw the bag plot.
      
      Add support for the case where the bag is reduced to 2 points.
      
      Change-Id: I16852a46bacc3d74a72c001114cef9b287765c9d
      5693f023
  17. 05 Nov, 2013 1 commit
    • Marcus D. Hanwell's avatar
      BUG: Fixed a bug with zooming in charts · 74057f3d
      Marcus D. Hanwell authored
      The zoom function was accounting for scaled data, but not shifted.
      Introduced a new function to get a double precision transform for
      things like zooming, and another to obtain a transform suitable for
      single precision rendering.
      
      Change-Id: I0d8a6bbd81db465cb89c1a8af9c8030c357aa05c
      74057f3d
  18. 27 Sep, 2013 1 commit
    • Kyle Lutz's avatar
      Add ZOOM_AXIS interaction mode to vtkChart · 45a2e6cf
      Kyle Lutz authored
      This adds a new interaction mode to vtkChart which zooms the
      X and Y axis based on the X and Y movement of the mouse. This
      is similar to the zoom mechanism in matplotlib.
      
      This also adds some documentation for the mouse actions enum in
      vtkChart along with a test for the new ZOOM_AXIS mode.
      
      Change-Id: If6c923607a3bf86ec8f6bc16188d1e49a260ba95
      45a2e6cf
  19. 28 Aug, 2013 2 commits
    • Marcus D. Hanwell's avatar
      Ensure the tool tip item gets the correct number · 6cd8f93d
      Marcus D. Hanwell authored
      The tool tip item must display the numbers that correspond to the
      full double precision representation shown on the axes.
      
      Change-Id: I0bc1296b6d1d466fa6624868496f2a09c756882b
      6cd8f93d
    • Marcus D. Hanwell's avatar
      Shift the origin and/or apply scaling in charts · 7cee41db
      Marcus D. Hanwell authored
      This accounts for both under and overflow. Added a test requiring the
      origin shift in order to correctly render points. The odd artifact is
      the labels on the X axis (all 1) due to the number of significant
      figures displayed.
      
      Change-Id: I6247a00ce84c7d2012cde692e24b717a174c2752
      7cee41db
  20. 27 Aug, 2013 1 commit
  21. 23 Aug, 2013 1 commit
    • Marcus D. Hanwell's avatar
      Added code to deal with rendering double precision data · 01a26ade
      Marcus D. Hanwell authored
      This uses an approach where the axes retain double precision data, and
      coordinate with the vtkChartXY and vtkPlotPoints classes to scale the
      data appropriately. This required some refactoring of the code dealing
      with calculating the bounds and arranging the data ready for being
      rendered. Functions that modify the plot transforms required some
      enhancement to use the scaling factors when necessary.
      
      Change-Id: Ic084d9dab7f02ded82187bd6207a3f837fef03ec
      01a26ade
  22. 27 Apr, 2013 1 commit
    • Marcus D. Hanwell's avatar
      Introduced a new chart selection mode · f82398af
      Marcus D. Hanwell authored
      This commit introduces a new chart selection mode to the charts, based
      on plots rather than rows. The default remains row-based selection,
      where a selection in one plot causes all corresponding points in the
      same row of the table to be selected in other plot objects. This
      behavior was improved slightly to iterate through and accumulate
      selections in all plots (rather than just using that of the last plot
      which resulted in confusing behavior).
      
      The plot based selection keeps any selection specific to a plot. The
      vtkPlot object that originated a selection is stored in the PROP
      property of the vtkSelectionNode, with the SOURCE property being used to
      store the table the selection is on. The vtkSelection object will have a
      vtkSelectionNode object for each plot with a selection on it. All of the
      normal selection combination rules are applied per-plot.
      
      The rectangle and polygon selection mode code was refactored to reduce
      the amount of code duplication necessary. Two tests were introduced
      allowing interactive use of the chart with row or plot based selection
      using polygon selection (left mouse) or rectangle selection (right
      mouse).
      
      Change-Id: Ib739ec620b7094bcf4940767000e8620c432e341
      f82398af
  23. 21 Mar, 2013 1 commit
    • David Thompson's avatar
      Fix LogScale mode of vtkAxis. · 1412cda2
      David Thompson authored
      This change is to address ParaView bugs 13876, 13877, and 13899.
      It removes LogScaleReasonable and the associated logic which was
      contributing to nonsensical ranges for logarithmic axes.
      
      This patch also adds methods {Get,Set}Unscaled{Minimum,Maximum,Range}()
      so that fixed ranges may be specified in the same coordinate
      system as the source data. The versions of these methods without
      "Unscaled" in their names expect log-values to be passed or
      returned when LogScale is true, which is difficult for user-interface
      code to track.
      
      Additional changes are required to address the test case of
      ParaView bug 13899. With these changes, the minimum and maximum
      limit values are properly transformed when switching to and from
      log-scaled axes.
      
      Plots that rely on axes to determine scaling are fixed
      to refer to the active scaling (GetLogScaleActive) instead of
      the desired scaling (GetLogScale)..
      
      Change-Id: I1a4a3882bbeab2484145f4a75a6430cf6a0cea42
      1412cda2
  24. 19 Jan, 2013 1 commit
    • Marcus D. Hanwell's avatar
      Fixes bug 13796 where bottom-right plots pan badly · 1ff34b63
      Marcus D. Hanwell authored
      An additional special case is needed in the vtkChartXY panning code for
      when a plot is in the bottom-right corner. This would work as expected
      assuming anything was in the top left or right corner and so could be a
      little trickier to replicate.
      
      Change-Id: Ia960cd2734d13055cdaddd4646f00756170ee7fe
      1ff34b63
  25. 29 Sep, 2012 1 commit
  26. 05 Sep, 2012 1 commit
  27. 27 Jun, 2012 1 commit
  28. 09 May, 2012 1 commit
    • Marcus D. Hanwell's avatar
      Refactored the selection code in vtkChartXY · 400db090
      Marcus D. Hanwell authored
      Split out several pieces of code into independent functions that could
      be used in other chart classes. Added several convenience methods for
      combining multiple selections and dealing with mouse modifier keys
      combined with chart level options for selection mode.
      
      Some slight modification to the modifier key logic, with shift giving
      addition, control giving subtraction and both keys pressed giving the
      toggle behavior. No key pressed results in a new selection.
      
      Change-Id: I4fe80987cbd2937b587b44bd094a9adea439eb24
      400db090
  29. 20 Apr, 2012 1 commit
    • Kyle Lutz's avatar
      Add support for polygonal selection for charts · 490fd984
      Kyle Lutz authored
      This adds support for polygonal selection on VTK charts. The
      new SELECT_POLYGON mouse action allows for the user to draw
      a polygon and when the mouse is released the points contained
      inside the polygon are selected.
      
      Currently only the points contained within the convex hull of
      the selection polygon are selected.
      
      Change-Id: I23ad29f65e0e9f0b46b09fa8cf678c2d934b6e3a
      490fd984
  30. 09 Apr, 2012 1 commit
    • VTK Developers's avatar
      Modularize VTK tree layout · cdd4d6fd
      VTK Developers authored
      Move source files from their former monolithic VTK location to their new
      location in modular VTK without modification.  This preserves enough
      information for "git blame -M" and "git log --follow" to connect
      modularized VTK files to their original location and history.
      
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>
      cdd4d6fd
  31. 17 Mar, 2012 1 commit
  32. 14 Mar, 2012 1 commit
    • Kyle Lutz's avatar
      Add vtkChartXY::SetTooltip() method · 65579200
      Kyle Lutz authored
      This adds a new method to the vtkChartXY class which
      allows for the default vtkTooltipItem for the chart to
      be changed.
      
      Change-Id: If831a73b88ef12db0a6be24200624cbe0ffa1170
      65579200
  33. 13 Mar, 2012 1 commit
  34. 09 Mar, 2012 1 commit
    • Marcus D. Hanwell's avatar
      BUG: Fixed a bug in scrolling of top and right axes. · 420d369a
      Marcus D. Hanwell authored
      The axes in the top and right of the vtkChartXY charts were not behaving
      correctly, the variables calculating the new transforms needed to be
      initialized as in the bottom and left cases before transforming them.
      
      Change-Id: If55edeb64fdd24494143ec134a32c0e9a7b44d01
      420d369a
  35. 08 Mar, 2012 1 commit
    • Marcus D. Hanwell's avatar
      BUG: Fixed a bug in scrolling of top and right axes. · f5ca6011
      Marcus D. Hanwell authored
      The axes in the top and right of the vtkChartXY charts were not behaving
      correctly, the variables calculating the new transforms needed to be
      initialized as in the bottom and left cases before transforming them.
      
      Change-Id: I505f5fb198e494bf678ffc9031596b47c49d9421
      f5ca6011
  36. 03 Mar, 2012 1 commit
    • Marcus D. Hanwell's avatar
      BUG: Fixed a bug in scrolling of top and right axes. · 98b5e481
      Marcus D. Hanwell authored
      The axes in the top and right of the vtkChartXY charts were not behaving
      correctly, the variables calculating the new transforms needed to be
      initialized as in the bottom and left cases before transforming them.
      
      Change-Id: Ibc202d477c9c34e0ca121e67d139390607564295
      98b5e481