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. 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
  4. 16 Jul, 2014 2 commits
    • Ben Boeckel's avatar
      nit: remove extra semicolon · a09107ca
      Ben Boeckel authored
      Change-Id: I4085ec6d324d7260543c0ff90c4a221314ee7f0a
      a09107ca
    • Ben Boeckel's avatar
      vtkChartBox: initialize segmentIndex · eda45be1
      Ben Boeckel authored
      It isn't used in the called function and it seems that -1 is the
      "invalid" value for it (based on vtkPlotBarPrivate::GetNearestPoint as
      called from vtkChartXY::LocatePointInPlot).
      
      Change-Id: Ib89ba0490345bed56d7502b209fcb962a02e28de
      eda45be1
  5. 13 Mar, 2014 1 commit
    • Joachim Pouderoux's avatar
      Fix and enhance the box plot and chart · cee00a0e
      Joachim Pouderoux authored
      Fix the problem with the position of Y axis: long labels were trunked.
      This position was fixed, it is not flexible depending the size of the labels.
      
      Add new functions to the chart API to allow manipulation of series
      by id (vs by name).
      Add support for manual plot labels setting.
      Enhance the boxplot displacement, it now correctly follow the mouse
      without ugly jumps.
      
      Change-Id: I400cd064616f7b93415e17db9749d709ea2f7345
      cee00a0e
  6. 18 Feb, 2014 1 commit