1. 10 Jun, 2016 1 commit
    • Cory Quammen's avatar
      Re-enable some chart tests when OpenGL2 backend is available · 7886fe4f
      Cory Quammen authored
      The OpenGL2 backend does not define a vtkOpenGL2ContextDevice2D class,
      so this test will not run when built with OpenGL2. Change it to run if
      OpenGL2 is enabled as the OpenGL2 backend requires higher than OpenGL
      version 2 OR if the OpenGL1 backend is enabled but Open GL version 2
      is available.
      
      Added alternate baseline for TestScalarsToColors output to
      accommodate minor differences in OpenGL2 backend.
      7886fe4f
  2. 08 Mar, 2016 1 commit
  3. 28 Jan, 2016 1 commit
  4. 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.
      3b208dd6
  5. 03 Sep, 2015 1 commit
  6. 14 Aug, 2015 1 commit
    • T.J. Corona's avatar
      Correct bounds and integer width computation in vtkPlotHistogram2D. · c0b6a7c9
      T.J. Corona authored
      This fix is in reference to bug report 0015325. The formula for width now
      avoids a conversion from int to double back to int, and bounds are correctly
      computed. TestHistogram2D and its resultant image have also been updated to
      more closely match the original test image.
      c0b6a7c9
  7. 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
  8. 12 May, 2015 1 commit
    • Utkarsh Ayachit's avatar
      Adding area plot (vtkPlotArea). · 6c877c2f
      Utkarsh Ayachit authored
      Adding a new plot to plot a region named, vtkPlotArea. This can be used
      to plot a region enclosed between two series.
      
      Also added a new test, TestAreaPlot, to test this new plot.
      6c877c2f
  9. 16 Feb, 2015 1 commit
  10. 06 Jan, 2015 1 commit
    • Ken Martin's avatar
      Fix floating point issue with chart test · 180ebd0b
      Ken Martin authored
      TestChartXYZ test fails on various platforms.  It turns out it is
      failing due to floating point issues. Basically
      
      1)	By default the plot data points define the bounds of the axes
          for the chart
      2)	the axes define the plot area (clip stuff outside that)
      3)	which defines the clipping plane equations
      4)	which can in turn clip the original data points subject to
          floating point precision
      
      This is what is happening (FYI, the point that disappears in the middle
      is actual on the boundary in the depth axis). This patch
      “fixes” the test by defining axes that are slightly bigger than the
      data and replacing the valid image.
      
      Change-Id: I25e7f05736f274ffc16633d8110767b9a5a5907b
      180ebd0b
  11. 19 Dec, 2014 1 commit
  12. 17 Nov, 2014 1 commit
  13. 06 Nov, 2014 1 commit
    • Utkarsh Ayachit's avatar
      BUG #14809: Use title size when placing title in vtkChartXY. · 9ffb9792
      Utkarsh Ayachit authored
      vtkChartXY did not use the space used by the title text and top-axes to
      determine where to place the title text. That resulted in cases where
      the title overlapped the top-axes labels or for larger font sizes,
      simply didn't have enough room. Fixed that by ensuring that the title
      placement/border determination code uses the title text's size.
      
      Updated TestLinePlotAxisFonts test to test this new functionality.
      
      Change-Id: Idac42b970eb27ebbaee95adf43748d79747cd1dc
      9ffb9792
  14. 23 Sep, 2014 1 commit
    • Marcus D. Hanwell's avatar
      Added colored bar charts, along with a test · b2e4fb38
      Marcus D. Hanwell authored
      This commit cleans up the bar chart update logic, adds support for
      using a lookup table to map an array to colors for the bars. It also
      adds a test verifying the points, and the bars, using C++, and the
      same array/lookup table.
      
      Change-Id: I11585739f5a0c5bca3240274aebafead302e89ec
      b2e4fb38
  15. 06 Aug, 2014 2 commits
  16. 25 Jun, 2014 1 commit
  17. 16 Apr, 2014 1 commit
  18. 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
  19. 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
  20. 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
  21. 18 Feb, 2014 1 commit
  22. 13 Dec, 2013 1 commit
    • 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
  23. 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
  24. 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
  25. 31 Oct, 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
  26. 25 Oct, 2013 1 commit
    • 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 27 Aug, 2013 2 commits
  32. 24 Aug, 2013 1 commit
  33. 23 Aug, 2013 1 commit
  34. 13 Aug, 2013 1 commit
    • David Gobbi's avatar
      Implement multi-sample antialiasing on OS X. · 23f6ba79
      David Gobbi authored
      Set the necessary attributes to create a sample buffer for the
      OpenGL context of the vtkCocoaRenderWindow.  This allows VTK to
      do anti-aliased rendering in the window.  However, multisampling
      is turned off by default on OS X because it causes rendering
      problems on some Mac models.
      
      Change-Id: I0ff8073e38d8a63e637cfe4e7146e2d1327d65eb
      23f6ba79
  35. 25 Jul, 2013 1 commit
    • Utkarsh Ayachit's avatar
      Cleaning up transfer function widgets. · 1509669d
      Utkarsh Ayachit authored
      Cleaning up issues with the context-items related to tranfer function editor.
      
      + Added support for log-mapped color-transfer function. We ensure that when
        using log-scale, the color transfer function widget also enter log-space.
      
      + vtkPiecewiseControlPointsItem had a bug resulting it deleting of end points
        even when told otherwise. Fixed that.
      
      + Added new event vtkControlPointsItem::PointsModifiedEvent which if fired when
        control points are changed making it easier for application to do something
        when the points are changed.
      
      + Improved the usability by adding ability to label control points.
      
      Change-Id: If02bc1139f6ccb3d7c2198b07d10491f902bafda
      1509669d
  36. 04 Jun, 2013 1 commit
    • Brad King's avatar
      Convert VTKData test inputs to ExternalData content links · 3797f83d
      Brad King authored
      Add to the Testing/Data directory ExternalData content links mirroring
      the content and layout we use from the VTKData/Data directory.
      
      Add a CMake/vtkLegacyData.cmake module, included from CMakeLists.txt and
      Testing/External/CMakeLists.txt, to call ExternalData_Expand_Arguments
      for all data directories added from VTKData/Data.  This will bulk-fetch
      all test input data currently used by tests of any module, enabled or
      not.  We can make the DATA{} references more granular later.
      
      Add a VTK_TEST_DATA_DIR variable to refer to the directory we tell the
      ExternalData module to populate the real data files.  Replace references
      to VTK_DATA_ROOT in test command lines (after -D) with references to
      VTK_TEST_DATA_DIR.  Drop the VTK_DATA_ROOT CMake option and stop using
      the VTKData repository.
      
      Remove the TESTING_DATA option from the vtk_add_test_cxx API and remove
      the VTK_DATA_ROOT option from the vtk_add_test_mpi API since all test
      input data are now handled through ExternalData and Testing/Data content
      links.
      
      Change-Id: Id02490b76ea2e161b9038188264a4830485039d8
      3797f83d
  37. 17 May, 2013 1 commit
  38. 14 May, 2013 1 commit
    • Brad King's avatar
      Use vtk_add_test_cxx function · 5b018861
      Brad King authored
      Refactor */*/Testing/Cxx/CMakeLists.txt to use the vtk_add_test_cxx
      function instead of direct add_test calls.
      
      Change-Id: I73dee627fa87a399c48b409af046b116fc75a0fd
      5b018861