1. 08 Mar, 2016 1 commit
  2. 22 Feb, 2016 1 commit
  3. 28 Jan, 2016 1 commit
  4. 25 Jan, 2016 1 commit
    • Sean McBride's avatar
      Use real snprintf (not _snprintf) with >= VS2015 · 992a4931
      Sean McBride authored
      Infuriatingly, Visual Studio has not supported C99’s snprintf until VS2015.
      Modify a couple of workaround hacks to only apply to pre-VS2015.
      This is more than just a cleanup.  snprintf guarantees null
      termination, _snprintf does not!  The return values are also different,
      though rarely used.
  5. 28 Oct, 2015 1 commit
    • Cory Quammen's avatar
      Added option to display range labels · 3b208dd6
      Cory Quammen authored
      Off by default, this new option adds labels at the ends of the axis
      with the range values. A separate printf-style format string can be
      specified for these labels. If a tick label overlaps one of the range
      labels, it will not be displayed.
      Modified TestAxes and its baseline to exercise this new option.
  6. 18 Sep, 2015 1 commit
  7. 24 Aug, 2015 1 commit
  8. 21 Aug, 2015 1 commit
  9. 05 Aug, 2015 1 commit
  10. 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
  11. 06 Jul, 2015 1 commit
  12. 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.
  13. 22 Jun, 2015 2 commits
  14. 01 Jun, 2015 1 commit
  15. 12 May, 2015 1 commit
  16. 16 Nov, 2014 1 commit
  17. 06 Aug, 2014 1 commit
  18. 07 Mar, 2014 1 commit
  19. 18 Feb, 2014 1 commit
  20. 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
  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
  22. 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
  23. 29 Sep, 2012 1 commit
  24. 18 Sep, 2012 2 commits
    • Zack Galbreath's avatar
      remove copy & pasted code · 8b91292f
      Zack Galbreath authored
      create a new static function in vtkAxis that is used by
      vtkAxis and vtkInteractiveChartXYZ.
      Change-Id: Id462a70be51caa1295251522ccecda9b21d35eec
    • Zack Galbreath's avatar
      tweaks to clean up vtkInteractiveChartXYZ · 37b4ce7e
      Zack Galbreath authored
      use test driver & factory for interactive test mode
      (prior change to test was unnecessary)
      In InteractiveChartXYZ, initialize SceneWidth & SceneHeight
      to 0 in constructor.  This eliminates the need for an overloaded
      SetScene function.
      use static cast instead of C style cast in vtkChartXYZ.
      make vtkAxis::NiceNumber a static function to reduce code duplication.
      Change-Id: Ifa8674baed7c7a0ea4d94caa2570c25366f1b657
  25. 12 Sep, 2012 2 commits
    • Marcus D. Hanwell's avatar
      Deprecate SetTickPositions/SetTickLabels for new API · 6024ed55
      Marcus D. Hanwell authored
      Providing only one method in which both tick positions and labels are
      set allows us to ensure that the tick labels are in a consistent state.
      Deprecate the old API in favor of this approach, and remove the public
      CustomTickLabels API that was never in a release.
      Originally I used a two parameter form of SetTickPositions, but that
      with deprecation seemed to confuse the Python wrapping. Adding Custom to
      the name got rid of the issue, and also makes the VTK deprecation
      Change-Id: I9726d095915f6a107818772520cfb3bed19c088f
    • Marcus D. Hanwell's avatar
      Perform a deep copy of custom axis positions/labels · 603e222c
      Marcus D. Hanwell authored
      This prevents unexpected behavior where the supplied labels or positions
      would be modified by the axes at a later point. Added a
      SetCustomTickLabels method to ensure that tick marks are marked as dirty
      if they are set to false.
      Change-Id: Ie9fb3a7b9909487a31315e89f680fe3946694344
  26. 11 Sep, 2012 1 commit
    • Marcus D. Hanwell's avatar
      Separate out custom tick labels, add more testing · e25f4c18
      Marcus D. Hanwell authored
      This commit adds a new ivar for custom labels, and cleans up some of
      logic around tick label generation. A new test was added that exercises
      several of these new code paths and verifies correct functionality.
      Change-Id: I3cdb8ac06d77af6ec4d9f2222d6f88d4eb1307ac
  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>
  28. 07 Mar, 2012 1 commit
    • Kyle Lutz's avatar
      Fix misspellings in VTK/Charts · 5b38425c
      Kyle Lutz authored
      This fixes a number of misspellings in the comments of
      the source files in VTK/Charts. The misspellings were
      found using the codespell tool.
      Change-Id: I747478f9904c352ce09ad6cb300b2d7a68691909
  29. 03 Mar, 2012 1 commit
  30. 01 Mar, 2012 1 commit
  31. 27 Feb, 2012 2 commits
  32. 13 Dec, 2011 1 commit
  33. 11 Nov, 2011 2 commits
  34. 03 Oct, 2011 2 commits