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. 16 Feb, 2015 1 commit
  4. 14 Jan, 2015 1 commit
    • Julien Finet's avatar
      Fix crash when vtkPlotPoints has no Axis · 49683cc5
      Julien Finet authored
      Sometimes vtkPlotPoints is not added as a plot into a chart.
      This is the case vtkPlotFunctionalBag. Therefore when calling Update(),
      there can be no Axis.
      
      Change-Id: I5ccd256173831e31b048b732a6021286266e530f
      49683cc5
  5. 09 Jan, 2015 1 commit
  6. 10 Dec, 2014 1 commit
    • Sean McBride's avatar
      Fix possible null deref warnings · efc3a4e9
      Sean McBride authored
      Removed other checks which are making it think
      other things could be null.  Looking elsewhere in
      these files, many other places assume these things
      aren’t null.
      
      Also fix a call to GetMaximum that should have been
      GetMTime.
      
      Change-Id: Ie880a0992b64ce4389ab9b40d48aa32692595362
      efc3a4e9
  7. 04 Dec, 2014 2 commits
  8. 09 Oct, 2014 1 commit
  9. 25 Jun, 2014 1 commit
  10. 25 Sep, 2013 1 commit
    • Marcus D. Hanwell's avatar
      Fix bad point detection for large double values · b65dcc3c
      Marcus D. Hanwell authored
      The bad point detection was incorrectly detecting large double values
      as bad, use templated code that works with the original type and a set
      to ensure a sorted, unique list of bad points is generated. Modified
      the test to use a second corner and one series that is very large to
      test the functionality.
      
      Change-Id: I08322a0b3fd728e496d2d5f1f1901054afe4eb7d
      b65dcc3c
  11. 06 Sep, 2013 1 commit
    • Kyle Lutz's avatar
      Fix off-by-one error in ComputeBounds() for vtkPlotPoints · 6f7d3a61
      Kyle Lutz authored
      This fixes an off-by-one error in ComputeBounds() for vtkPlotPoints
      when the input data has bad points (NaN's/Inf's). The bad points
      index variable (i) was being incremented before looking up the next
      bad point causing the range to be too large. In that case a NaN value
      could be used in the calculation causing the function to return
      (NaN - NaN) as the bounds for the data.
      
      This fixes the pv.SLACTools test in ParaView.
      
      Change-Id: I12c1768d87c6f07af979333b70d8abb4ae2d2796
      6f7d3a61
  12. 28 Aug, 2013 1 commit
    • 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
  13. 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
  14. 12 Jun, 2013 4 commits
  15. 07 Jun, 2013 1 commit
    • Kyle Lutz's avatar
      Skip rendering of invalid points in PlotLine/PlotPoints · 03d199c2
      Kyle Lutz authored
      This adds code to skip the rendering of bad points in vtkPlotLine
      and vtkPlotPoints. Also allows adding additional bad points with
      a mask array.
      
      This is used by the plot-over-line filter in ParaView to skip
      rendering of points which are not a part of the data set.
      
      Change-Id: I70b5caadeb21a8080b34b6ca9b24dfcd4b0f19f6
      03d199c2
  16. 06 Jun, 2013 1 commit
    • Kyle Lutz's avatar
      Skip rendering of invalid points in PlotLine/PlotPoints · f562dfe4
      Kyle Lutz authored
      This adds code to skip the rendering of bad points in vtkPlotLine
      and vtkPlotPoints. Also allows adding additional bad points with
      a mask array.
      
      This is used by the plot-over-line filter in ParaView to skip
      rendering of points which are not a part of the data set.
      
      Change-Id: Iba014e7299e9dd47caec2582ca40d04d21937944
      f562dfe4
  17. 02 May, 2013 1 commit
    • David Thompson's avatar
      Provide information on plot input data range. · 6f8f8037
      David Thompson authored
      This commit provides an interface for querying the
      range of values taken on by a vtkPlot's X- and Y-axis
      inputs.
      
      This can be used to determine whether log-scaling
      is appropriate for each axis of the plot. It is part
      of a fix to ParaView bug 13899.
      
      Change-Id: Ia0449ca496dd935fb4ca25dc5dd2b691d2f89d93
      6f8f8037
  18. 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
  19. 04 Oct, 2012 1 commit
    • David C. Lonie's avatar
      Add DrawMarkers to Context2D. · 94f5564b
      David C. Lonie authored
      This patch moves the point marker rendering from vtkPlotPoints to
      the vtkContext2D classes, allowing GL2PS export to properly handle
      the plotted points.
      
      Change-Id: Iaf17bc73f90f7cb330a319e0944e6bf4badc86a6
      94f5564b
  20. 29 Sep, 2012 1 commit
  21. 11 Sep, 2012 1 commit
  22. 25 Jun, 2012 1 commit
  23. 18 May, 2012 1 commit
    • Marcus D. Hanwell's avatar
      Fixed a couple of bugs when rendering selected points · 88bfdb8a
      Marcus D. Hanwell authored
      We were drawing the wrong marker for highlighted points, biggest problem
      in vtkPlotLine, and we need to mark the selection as modified in order
      to ensure the updated point array will be modified.
      
      Change-Id: Ie02b1e8778fb0653fa37b9fef91893d338e9e31c
      88bfdb8a
  24. 15 May, 2012 1 commit
    • Marcus D. Hanwell's avatar
      Improved rendering speed of selected points · 8d2ff372
      Marcus D. Hanwell authored
      Whenever the selection changes build up an array with selected points
      for rendering. This makes the rendering of things like the scatter plot
      matrix, that has many scatter plots with selected points, much faster.
      
      Change-Id: I2d89e3daa5758a658292bbf8495e81b2ee0b7c89
      8d2ff372
  25. 07 May, 2012 1 commit
  26. 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
  27. 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
  28. 24 Jan, 2012 1 commit
    • Marcus D. Hanwell's avatar
      ENH: Addition of the subtraction of selections. · 70937cc3
      Marcus D. Hanwell authored
      This commit also fixes a bug in the behavior, due to the selection
      arrays not always being sorted as expected. Enforce this in the
      vtkPlotPoints::SelectPoints function. This should be refactored into a
      helper class so that it can easily be used in other places.
      
      Change-Id: Ifc5db2e770a557297ce96140860e684a5ba2c63a
      70937cc3
  29. 27 Nov, 2011 1 commit
  30. 20 Oct, 2011 1 commit
  31. 19 Sep, 2011 1 commit
  32. 02 Sep, 2011 1 commit
  33. 16 Aug, 2011 1 commit
  34. 20 May, 2011 2 commits
  35. 19 May, 2011 1 commit