1. 24 Feb, 2016 1 commit
  2. 22 Feb, 2016 1 commit
  3. 19 Feb, 2016 1 commit
    • Mathieu Westphal's avatar
      Scalar bar features · abf59cdb
      Mathieu Westphal authored
      1. Add finer Annotations control
      Annotations in scalar bar now have a it's own Text Property, allowing change to font, color, size...
      
      2. Add positibility to dislay Above/below ranges
      Scalar now have the possibility to display a dwatch for above and below value,
      to be used in conjonction with vtkLookupTable Above and Below feature
      
      3. Allow to use unconstrained font Size for label annotations and titles
      Title and other scalar bar texts used to be constrained by the scalar size
      by using this feature, it is now possible to have text of any size without resctriction
      abf59cdb
  4. 09 Dec, 2015 1 commit
  5. 13 Nov, 2015 1 commit
    • Ken Martin's avatar
      Update coincident geomtry support · 4be38a3f
      Ken Martin authored
      Add in support for specifying different offsets for surfaces
      lines and points. Update some example to remove the specified
      polydata value as the defaults are better.
      
      Update a valid image due to lighting changes
      
      Add a test that has points lines and surfaces all
      drawn on top of each other.
      4be38a3f
  6. 21 Oct, 2015 1 commit
  7. 14 May, 2015 1 commit
  8. 06 May, 2015 1 commit
    • Ethan Brodsky's avatar
      ENH: Modified vtkCornerAnnotation testing to improve code coverage · be1c1688
      Ethan Brodsky authored
      Modified TestCornerAnnotation to test a larger subset of
      vtkCornerAnnotation's behavior.  Switched from showing annotations
      over polygonal geometry to over a image, allowing for testing of
      the window/level and slice display functionality.  As a future
      enhancement, may want to try annotating over a 3D image to fully
      test the slice number substitutions.  Remaining uncovered code is
      primarily in the readback/copy/clear routines and some of the text
      sizing. Had to add vtkImageSources to the module.cmake/TEST_DEPENDS
      for Rendering/Annotation in order to use a canned image source -
      this could be avoided by generating an image from scratch.
      be1c1688
  9. 01 May, 2015 2 commits
    • Ethan Brodsky's avatar
      BUG: Updated test baseline output for edge annotation · 6e85be40
      Ethan Brodsky authored
      Previous commit failed to include baseline output md5 for new edge
      annotation functionality now being tested in TestCornerAnnotation.
      6e85be40
    • Ethan Brodsky's avatar
      ENH: Added edge annotations to vtkCornerAnnotation · abf08924
      Ethan Brodsky authored
      The vtkCornerAnnotation class provided an easy means for overlaying
      2D text annotations onto the corners of a rendering.  Medical
      imaging applications typically use S/I A/P R/L annotations in the
      center of the edges of a visualization to denote patient orientation,
      but this was not yet supported.  This enhancement adds support for
      edge annotation overlays, allowing any combination of edge and corner
      annotations, with no change to existing code that uses the corner
      annotation functionality.  The example has been updated to test both
      functions.  It may be worth considering renaming the class to
      vtkEdgeAnnotation to more generally characterize its functionality
      (as corners are parts of edges, but not vice versa).
      abf08924
  10. 30 Apr, 2015 1 commit
  11. 16 Apr, 2015 1 commit
  12. 09 Apr, 2015 1 commit
  13. 08 Apr, 2015 1 commit
  14. 10 Feb, 2015 1 commit
    • Jean-Christophe Fillion-Robin's avatar
      vtkCornerAnnotation: Add convenience TextPosition enum · 84553179
      Jean-Christophe Fillion-Robin authored
      This commit extends the API of the corner annotation by introducing
      an enum named "TextPosition".
      
      Considering that enums are also wrapped in Python, this will improve
      the readability of both python and c++ code.
      
      The words Lower{Left|Right} and Upper{Left|Right} have been selected
      to be consistent with vtkLabelPlacer API
      
      Change-Id: Icdfab06556a332235ecc50f0b4d1d2f9888365be
      84553179
  15. 14 Jan, 2015 1 commit
  16. 02 Dec, 2014 1 commit
    • Bill Lorensen's avatar
      ENH: Restore missing Infovis classes · bac2c9cf
      Bill Lorensen authored
      A number of classes in Infovis/Core were not being compiled. This patch:
      1) Moves vtkConvexHull2D and vtkGraphAnnotatedLayersFilter to
      Rendering/Annotation.
      2) Reinstates tests for vtkConvexHull2D, vtkDotProductSimilarity,
      vtkArrayNorm
      3) Removes unused test for TestTimePoint. The vtkTimePointUtility is
      already tested in Common/Core.
      
      Change-Id: I51c23a20897590531435f784602570865ebcb22b
      bac2c9cf
  17. 24 Nov, 2014 1 commit
  18. 12 Nov, 2014 1 commit
    • Ken Martin's avatar
      Fix unnormalized interpolated normals · 34a8a2d2
      Ken Martin authored
      Interpolated normals are typically not unit length and need to
      be renormalized in the fragment shader. This change adds
      normalization for normals that are passed through the vertex shader
      and therefore interpolated. This change replaces a number of valid images
      that were previously added for OpenGL2 due to Phong lighting changes and
      it adds a number of new images due to the phong lighting change that
      are now showing up. Almost all the cases involve rendering low resolution
      spheres and cylinders, both of which come with normals in VTK and for which
      phong lighting can make a big difference.
      
      Change-Id: Iab60742b5684f3e7a6575b28ad23e10572c9e67d
      34a8a2d2
  19. 16 Oct, 2014 2 commits
  20. 18 Jun, 2014 1 commit
  21. 16 Apr, 2014 3 commits
  22. 31 Jan, 2014 1 commit
  23. 28 Jan, 2014 1 commit
  24. 24 Jan, 2014 1 commit
    • Cory Quammen's avatar
      Added "sticky" axes mode to vtkCubeAxesActor · 5040362b
      Cory Quammen authored
      This change adds a mode to vtkCubeAxesActor that keeps the axes in the
      viewport by changing the boundaries of the axes to keep them all
      within the viewport. It works by computing the largest sphere that
      will fit in the view frustum at the depth of the original bounding
      box's center, then computes a cube that fits within that sphere.  The
      final bounding box is the intersection of the original bounding box
      and the cube that fits within the sphere. If this intersection is
      empty, the bounds are invalidated so that no axes are displayed.
      
      The sticky axes mode also has a centering option that controls whether
      the truncated bounding box stays centered in the viewport or follows
      the center of the original bounding box along the longer of the two
      viewport dimensions. Whether this option is enabled or not, the axes
      are restricted to being within the viewport.
      
      Change-Id: I6dc3cd4127d2e4da8f2580fd2242ffa51270629a
      5040362b
  25. 03 Oct, 2013 2 commits
    • Bill Lorensen's avatar
      BUG: Missing SmartPointers · 5256ee0e
      Bill Lorensen authored
      Some SmartPointers were missing after the test was converted to a
      modern style. This caused DEBUG_LEAKS defects.
      
      My bad...
      
      Change-Id: I46e2203e4a9cb6fca057e4b808f3d011943c3609
      5256ee0e
    • Dave DeMarle's avatar
      fix unused parameter warning · a0938d94
      Dave DeMarle authored
      Change-Id: I387a707a2e219e68600ddd1f6d7d6c01ddd86021
      a0938d94
  26. 12 Sep, 2013 1 commit
  27. 11 Jun, 2013 1 commit
  28. 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
  29. 31 May, 2013 1 commit
  30. 17 May, 2013 2 commits
  31. 14 May, 2013 2 commits
  32. 28 Apr, 2013 1 commit
    • Andrew Maclean's avatar
      These Python tests have been refactored. · 3810c5a6
      Andrew Maclean authored
      
      
      This has been done by removing the "tcl-isms" and making
       the code more readable. In some cases redundant code
       has been removed (often a result of copy/paste operations).
       The code has also been checked to ensure each line is 80
       characters or less.
      
      The code can now be run using vtkpython or by using the
       appropriate Python environment.
      
      Originally these were TCL scripts that were converted using
        vtkTclTestToPy.py and they they needed to be run through the
        rtImageTest.py driver which defines a few needed
        functions/variables for their operation. To this end
        backdrop.py has been added where it is needed.
      
      Change-Id: I50d6505628c140ea4551f74f7f3e85df907567e1
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
      3810c5a6
  33. 05 Mar, 2013 1 commit
    • Bill Lorensen's avatar
      BUG: Number of points exceed number of scalars in test · 3e3d3db2
      Bill Lorensen authored
      TestXYPlot inserted an extra point (dependent variable) for each
      scalar (independent variable). XYPlotActor did not detect this and
      valgrind reported "Invalid read of size 8" defects.
      
      This patch removes the extra inserted point from the test and also
      checks for this error condition in XYPlotActor.
      
      Change-Id: Ic585534fdfbd665b708845b648fb30dee541475e
      3e3d3db2