1. 16 Apr, 2014 1 commit
  2. 10 Apr, 2014 1 commit
    • Joachim Pouderoux's avatar
      Fix and enhance bag plots. · df6c71a9
      Joachim Pouderoux authored
      Fix the way how the bags are computed. They are now performed at
      50 and 99% of the distribution.
      Functional bag plots also create a median serie which is the
      median line of all input series. Outliers series are also
      tagged with an "_outlier" extension in their name.
      
      Change-Id: I990428c9b79278be9be725491232b3e9d69190b0
      df6c71a9
  3. 07 Apr, 2014 2 commits
  4. 28 Mar, 2014 1 commit
  5. 17 Mar, 2014 1 commit
  6. 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
  7. 11 Mar, 2014 1 commit
    • Joachim Pouderoux's avatar
      Fix bag plot and functional bag plots tests. · 5d42650d
      Joachim Pouderoux authored
      Use precomputed table of densities to avoid precision differences
      on some machines.
      Also remove unuseful normalization step in the plot and algorithm.
      
      Change-Id: Ifb28b82b276ee93b66f4ddf8f4375f7b3b465b94
      5d42650d
  8. 08 Mar, 2014 1 commit
  9. 21 Feb, 2014 1 commit
  10. 20 Feb, 2014 4 commits
    • Joachim Pouderoux's avatar
      Fix black box plots issue. · 23d97ae3
      Joachim Pouderoux authored
      For black box plots a grey pen is used to let see the median correctly
      but the default pen was not reset after.
      
      Change-Id: I904040f8f8f54da4a50a054f8023a5d527ed1b86
      23d97ae3
    • Bill Lorensen's avatar
      BUG: CreateDefaultLookupTable crashes if Input is NULL. · b3470426
      Bill Lorensen authored
      TestSetGet.tcl segfaulted when calling GetLookupTable().
      GetLookupTable() calls CreateDefaultLookupTable() which requires a
      non NULL Input.
      
      Change-Id: I615ec5b386d75d5b64f636156d0006ed15e093a0
      b3470426
    • Joachim Pouderoux's avatar
      Fix bag plot legends. · e0911e4c
      Joachim Pouderoux authored
      The legend label was not changed when the density array was changed.
      
      Change-Id: I4266bd91186f1232d2228e792d3cd7be4491af53
      e0911e4c
    • Joachim Pouderoux's avatar
      Enhance bag plot API to allow specify line and points properties. · 39efc956
      Joachim Pouderoux authored
      A new vtkPen is added to draw bag boundary lines, while the
      default plot Pen is used to draw bag plot points.
      
      This also patch the forced color values for Box plot pen.
      Box plot pen is used to draw the box plot lines.
      
      Change-Id: I566779743da52226916649879973699052366f28
      39efc956
  11. 18 Feb, 2014 1 commit
  12. 13 Dec, 2013 2 commits
    • 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
    • Joachim Pouderoux's avatar
      Fix bag plot compilation error on AIX. · 970dd0f3
      Joachim Pouderoux authored
      Change-Id: Iec44354ee0cb9a239f57b7d500f36ce00207df5d
      970dd0f3
  13. 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
  14. 10 Nov, 2013 1 commit
  15. 08 Nov, 2013 1 commit
    • Marcus D. Hanwell's avatar
      Initialize unused variables when setting event · 790c9a2e
      Marcus D. Hanwell authored
      The vtkContextMouseEvent object isn't really designed to be used
      outside of the mouse events/interactors. When using them all variables
      should be set. Ensure positions that happen to not be used in this
      particular test are initialized (this is all normally taken care of
      when real mouse events are received).
      
      Change-Id: I12ba843845e42dddb7e2ddb5ef05492b79f10786
      790c9a2e
  16. 06 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
  17. 01 Nov, 2013 1 commit
    • Marcus D. Hanwell's avatar
      Enhanced the parallel coordinates chart for doubles · 347fb125
      Marcus D. Hanwell authored
      The parallel coordinates did not correctly handle double precision
      input, added support to vtkPlotParallelCoordinates and created a
      new test to verify it. Also some very minor clean up in the other
      test, and fixed variable naming for consistency.
      
      Change-Id: I4d688857dcfe86b044b8284789e7873f698d8820
      347fb125
  18. 29 Oct, 2013 1 commit
  19. 28 Oct, 2013 1 commit
    • Zack Galbreath's avatar
      Resolve valgrind defects · 9f5eb493
      Zack Galbreath authored
      Initialize Position in the constructor of vtkColorLegend
      to avoid uninitialized memory reads.
      
      Change-Id: Ide2da0c7dac74d10aa17a1c525f61a6c13887208
      9f5eb493
  20. 25 Oct, 2013 4 commits
    • Zack Galbreath's avatar
      fix unused variable warning · fe9bf22e
      Zack Galbreath authored
      Change-Id: Ib7ce4380b4df1dcd215f319a70d250e430e2c267
      fe9bf22e
    • Zack Galbreath's avatar
      tests to cover new legends functionality · 3eba81ad
      Zack Galbreath authored
      * New test in Charts/Core to color the new class vtkCategoryLegend
      
      * New tests to cover the continuous & categorical heatmaps now
        available from vtkHeatmapItem
      
      Change-Id: I06fa49c65e85ad421d5a360920a679379e77be89
      3eba81ad
    • Zack Galbreath's avatar
      new class: vtkCategoryLegend · 352f55b5
      Zack Galbreath authored
      This class allows us to display a legend for categorical data.
      vtkHeatmapItem has been updated to use this new class.
      
      Other changes made in this commit include:
      
      * Improved appearance and behavior when a legend has been scaled by
        a vtkContextTransform
      
      * An option to draw a border around the vtkColorLegend.
      
      * vtkColorLegend now obeys vertical and horizontal alignment unless
        SetPosition() was called.
      
      Change-Id: I6c7c782c6f3da78103b893c43d068e81e9ef78a7
      352f55b5
    • Zack Galbreath's avatar
      add scalar bar legend to vtkHeatmapItem · e0cd2a5e
      Zack Galbreath authored
      When double clicking on a column of continuous data, a scalar
      bar depicting the range of values will now appear below the
      heatmap.
      
      Change-Id: I5da21f4eef1cb71a44c664682520eb6c6d880302
      e0cd2a5e
  21. 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
      example.
      
      Change-Id: I42bef78d4c6ca6a4d84e3b0cac34a8757c7075bd
      acf00d72
  22. 07 Oct, 2013 1 commit
  23. 01 Oct, 2013 2 commits
    • Kyle Lutz's avatar
      Switch chart selection modifiers · 9ec9e70c
      Kyle Lutz authored
      This switches the chart selection modifiers. Now ctrl maps
      to plus and shift maps to minus. This more closely matches
      the controls in ParaView's 3D render view.
      
      Change-Id: Id42ba06404ac795ad4a4b85cd5896cb0d890b165
      9ec9e70c
    • Marcus D. Hanwell's avatar
      Move several vtkRenderingContext2D dependencies · 38505fc6
      Marcus D. Hanwell authored
      Made most of the vtkRenderingContext2D dependencies private. Some
      minor moves for vtkChartsCore too.
      
      Change-Id: I41f3066e67d8537830c076829fafac034fadf41d
      38505fc6
  24. 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
  25. 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
  26. 18 Sep, 2013 1 commit
    • Utkarsh Ayachit's avatar
      BUG #14283. Fix change events fired by vtkControlPointsItem. · a6b0b0df
      Utkarsh Ayachit authored
      This commit consolidates the logic between all vtkControlPointsItem subclasses
      to consistently notify rest of the world that the control points were modified.
      Previously, commit 1509669d tried to do the same with
      vtkControlPointsItem::PointsModifiedEvent, however vtkCompositeControlPointsItem
      wasn't firing those consistently resulting in the BUG #14283.
      
      While attempting to fix that, I noticed that vtkControlPointsItem has
      StartChanges()/EndChanges() methods that could be used for a similar purpose:
      notify the world that control points are being changed. Hence, remved the
      PointsModifiedEvent, instead fixing the code to consistently use
      StartChanges()/EndChanges() calls.
      
      Fixed StartChanges/EndChanges to fire the event on the vtkControlPointsItem
      (along with tranfer function, as it was previously) and added logic to avoid
      duplicable firing of events due nested calls to StartChanges/EndChanges.
      
      Change-Id: I144e775cbdfbc9c1334cfc2b02609b37dda8cae7
      a6b0b0df
  27. 09 Sep, 2013 2 commits
    • Bill Lorensen's avatar
      BUG: ChartPie tooltip is wrong · e3025f5a
      Bill Lorensen authored
      ChartPie's tooltip is formatted in
      vtkChartPie::LocatePointInPlot. This method relies on
      PlotPie:::GetNearestPoint, but the plotpos vector was not being
      computed by GetNearestPoint. Consequently, the tooltip always reported
      a 0 value for the dependent variable.
      
      In this patch, PlotPie:::GetNearestPoint computes the dependent
      variable and return it in plotpos[1]. In addition, plotpos returns the
      independent vaiable in plotpos[0]. ChartPie now uses plotPos.GetY() to
      obtain the dependent variable. This seems consistent with other
      charts.
      
      To reproduce the problem (before the patch) and verify (after the
      patch) run:
      
      vtkChartsCoreCxxTests "TestPieChart" -I
      and move the mouse of each pie chart segment.
      
      Change-Id: I5c3d56a79c3ceca6616bae2b0a7a85f9c15f2293
      e3025f5a
    • Bill Lorensen's avatar
      COMP: Bad signature for GetTooltipLabel · fd255a85
      Bill Lorensen authored
      Derived class method signature differs from superclass signature.
      
      GCC compilers warn (-Woverloaded-virtual)
      virtual vtkStdString vtkPlot::GetTooltipLabel(const vtkVector2d&, vtkIdType, vtkIdType)' was hidden by
      virtual vtkStdString vtkPlotHistogram2D::GetTooltipLabel(const vtkVector2f&, vtkIdType, vtkIdType
      
      vtkPlot contains the correct signature for the method. Replaced
      vtkVector2f with vtkVector2d.
      
      Change-Id: Id10b0630660a3babb9662add2e98defa18494ad3
      fd255a85
  28. 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
  29. 04 Sep, 2013 1 commit
  30. 29 Aug, 2013 1 commit