1. 08 Mar, 2016 1 commit
  2. 24 Aug, 2015 1 commit
  3. 22 Jul, 2015 1 commit
    • Bill Lorensen's avatar
      STYLE: Replace vtksys_stl and vtksys_ios:: with std:: · 924248d9
      Bill Lorensen authored
      In the early days of VTK, support for stl was not portable. vtksys_stl
      and vtksys_ios provided a portable implementation of the stl. Now, all
      of the VTK supported compilers have portable stl implementations.
      This patch:
        1) Replaces the vtksys_ios:: with std::.
        2) Replaces the vtksys_stl:: with std::.
        3) Removes "using" statements for stl
  4. 12 Jun, 2015 1 commit
  5. 02 Apr, 2015 1 commit
  6. 04 Dec, 2014 1 commit
  7. 23 Oct, 2013 1 commit
    • Marcus D. Hanwell's avatar
      Reset the plot's selection when select is called · acf00d72
      Marcus D. Hanwell authored
      Updated the base vtkPlot's virtual method to reset the selection when
      select methods are called, giving the expected base behavior for a plot
      with no selection capabilities. Without this it can cause weird bugs
      when vtkChartXY accumulates the selection from all plot objects for
      Change-Id: I42bef78d4c6ca6a4d84e3b0cac34a8757c7075bd
  8. 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
    • 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
  9. 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
  10. 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
  11. 29 Sep, 2012 1 commit
  12. 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
  13. 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>
  14. 13 Dec, 2011 1 commit
  15. 27 Nov, 2011 1 commit
  16. 19 Sep, 2011 1 commit
    • Berk Geveci's avatar
      Replace SetInput etc. with SetInputData etc. · 4ea36770
      Berk Geveci authored
      Since the behaviour of SetInput changed - it no
      longer connects the pipeline but sets up the data
      object as the input -, it was decided to rename
      it to SetInputData. This includes similar methods
      such as AddInputData. This commit makes on
      sweeping change that compiles.
  17. 02 Aug, 2011 2 commits
  18. 30 Jun, 2011 1 commit
    • Kyle Lutz's avatar
      Fix label precision handling in vtkPlot · 05959606
      Kyle Lutz authored
      This fixes the handling of the tooltip label
      precision and notation in the vtkPlot class.
      This fixes bug #12281.
      Change-Id: Icba5bcd27048551b74d587493b630c88080fdd73
  19. 02 Jun, 2011 3 commits
    • Marcus D. Hanwell's avatar
      ENH: Use vtkNew for temporary variable. · 6a563885
      Marcus D. Hanwell authored
      Change-Id: I1e8f557ff936885d1e9d9a06080be922e83abb74
    • Marcus D. Hanwell's avatar
      ENH: Changed the custom tooltip API around a little. · 166ea660
      Marcus D. Hanwell authored
      Use two format strings, default and custom, and reduce down to just one
      virtual function. Maintained recursive parsing of string replacements,
      and set defaults when various plot parameters are modified.
      Change-Id: I6c5bf09b28fed9f58dcff17078d4931acdafccf6
    • Brian Helba's avatar
      ENH: Add custom tooltip labels to vtkChartXY / vtkPlot · b268a73f
      Brian Helba authored
      The string vtkPlot::TooltipLabelFormat can be set to provide
      user-defined tooltip labels. Full user documentation is provided
      in the accessor/mutator declaration of TooltipLabelFormat.
      If TooltipLabelFormat is empty (it is by default), a default
      tooltip will be shown, identical to the existing functionality.
      Internally, tooltip labels now are generated by each vtkPlot itself,
      rather than by the containing vtkChartXY, as it was previously.
      The protected function vtkPlot::GetCustomTooltipLabel() can be easily
      expanded to add additional format flags in the future.
      New plot types subclassing vtkPlot may want to override
      GetDefaultTooltipLabel() and GetCustomTooltipLabel(), as is done
      by vtkPlotBar. It is not recommended that GetTooltipLabel() be
      overridden directly.
      Change-Id: I9ddcd7b6ee64825681626fe8f4e46b3ef500c9dd
  20. 20 May, 2011 2 commits
  21. 19 May, 2011 1 commit
    • Marcus D. Hanwell's avatar
      ENH: Added facility to set an indexed label array. · 03e0f27a
      Marcus D. Hanwell authored
      New API in vtkPlot to set an indexed label array, and new code in
      vtkChartXY to use this if available. Modifications to vtkPlotPoints
      return the actual index of the point found, so that code downstream can
      look up further information on a point if necessary/desirable.
      Change-Id: I7e6e57f69ca2ed469715962841d7a343477e0792
  22. 03 May, 2011 1 commit
    • Marcus D. Hanwell's avatar
      ENH: Added facility to set an indexed label array. · 3ecd03f5
      Marcus D. Hanwell authored
      New API in vtkPlot to set an indexed label array, and new code in
      vtkChartXY to use this if available. Modifications to vtkPlotPoints
      return the actual index of the point found, so that code downstream can
      look up further information on a point if necessary/desirable.
      Change-Id: I7e6e57f69ca2ed469715962841d7a343477e0792
  23. 01 Jan, 2011 1 commit
    • Marcus D. Hanwell's avatar
      BUG: Removed error from vtkPlot SetInut. · 0125d920
      Marcus D. Hanwell authored
      The columns can be empty and still produce valid output. There is more
      checking later on in the update functions of the plots to catch error
      condditions. We should allow clearing of input too.
  24. 31 Dec, 2010 2 commits
  25. 24 Dec, 2010 1 commit
  26. 03 Aug, 2010 1 commit
  27. 13 Jul, 2010 4 commits
  28. 02 Jul, 2010 1 commit
  29. 22 Jun, 2010 2 commits
    • Keith Fieldhouse's avatar
      Restore the singular GetLabel/SetLabel to vtkPlot · 93720f04
      Keith Fieldhouse authored
      These allow clients unconcerned with multiple label plots
      (unstacked plots for the most part) to work as before.
    • Keith Fieldhouse's avatar
      Support Stacked Bar Plots · 8504258e
      Keith Fieldhouse authored
      For vtkPlotBar, SetInputArray can be used to identify input
      series' beyond index 1.  When this is done, each additional
      series will be plotted on top of the previous series as a
      stacked bar plot.
      To handle this change, vtkPlot now handles multiple labels that
      can be associated with each of the plots.  PaintLegend and
      GetNearestPoint have been adjusted to deal with this properly.
  30. 20 May, 2010 1 commit
    • Mark Olesen's avatar
      Remove vtk(Cxx|Type)RevisionMacro · ecbbf7f7
      Mark Olesen authored
      The CVS $Revision$ keyword replacement will no longer maintain these
      macros automatically.  They were used only to implement CollectRevisions
      and vtkObjectBase::PrintRevisions, an API that was never used.
      Automated as follows:
        pass 0:
        catch templates
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro' | grep '<'
        pass 1:
        main changes
        $ git grep -l '^vtkCxxRevisionMacro' | while read file; do
          echo "$file" 1>&2
          perl -i -ne 'print unless (/^vtkCxxRevisionMacro/ and /\)/)' $file
        $ git grep -l -e 'vtkTypeRevisionMacro(' | while read file; do
          echo "$file" 1>&2
          perl -i -pe 's/vtkTypeRevisionMacro/vtkTypeMacro/g' $file
        pass 2:
        $ git grep 'vtk\(Cxx\|Type\)RevisionMacro'
      Fixed multi-line vtkCxxRevisionMacro and templates by hand.