1. 21 Apr, 2016 2 commits
    • Mathieu Westphal's avatar
      Style, syntax and indents · be19b73b
      Mathieu Westphal authored
    • Mathieu Westphal's avatar
      PolxarAxisFeatures: · 0063c6a9
      Mathieu Westphal authored
      New Feature for vtkAxisFollower
       * Offset is now vectoriel
      New features for axis actor
       * Finer control over size, thickness and placement of "minor" and "major" ticks
       * New Exponent label, with it's own location
       * Bug correction for Title visibility
       * Title Alignement control
       * Log axis
       * Better label style and scaling
       * Deprecation of CalculateLabelOffset and CalculateTitleOffset, which changes the class default behavior
      New features in polar exis actor
       * Finer control over each polar exis, radial axis, and secondary axis ( visibility, style, color )
       * Finer control over main arc and secondary arcs ( visibility, number, style, color)
       * Finer control over ticks and labels (visibility, style, color)
  2. 18 Apr, 2016 1 commit
  3. 13 Apr, 2016 1 commit
  4. 08 Mar, 2016 1 commit
  5. 29 Feb, 2016 1 commit
    • Bill Lorensen's avatar
      BUG: OpenGLPolyDataMapper2D regression · cc96bd93
      Bill Lorensen authored
      OpenGLPolyDataMapper2D for OpenGL was clipping the z components
      between -1,0 or 0,1. The logic is a bit different in OpenGL2 versus
      OpenGL. I believe it has somethiong to do with where the
      transformations are performed. I'm pretty sure z-clipping should not
      apply for 2D mappers. A new test was added that has polydata with a
      large z range.
      NOTE: To see the bug, download this patch and revert to the
      original mapper:
      git checkout master Rendering/OpenGL2
      ctest -R TestLegendBoxActor2
  6. 24 Feb, 2016 1 commit
  7. 22 Feb, 2016 1 commit
  8. 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
  9. 09 Dec, 2015 1 commit
  10. 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.
  11. 21 Oct, 2015 1 commit
  12. 14 May, 2015 1 commit
  13. 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.
  14. 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.
    • 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).
  15. 30 Apr, 2015 1 commit
  16. 16 Apr, 2015 1 commit
  17. 09 Apr, 2015 1 commit
  18. 08 Apr, 2015 1 commit
  19. 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
  20. 14 Jan, 2015 1 commit
  21. 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
      2) Reinstates tests for vtkConvexHull2D, vtkDotProductSimilarity,
      3) Removes unused test for TestTimePoint. The vtkTimePointUtility is
      already tested in Common/Core.
      Change-Id: I51c23a20897590531435f784602570865ebcb22b
  22. 24 Nov, 2014 1 commit
  23. 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
  24. 16 Oct, 2014 2 commits
  25. 18 Jun, 2014 1 commit
  26. 16 Apr, 2014 3 commits
  27. 31 Jan, 2014 1 commit
  28. 28 Jan, 2014 1 commit
  29. 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
  30. 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
    • Dave DeMarle's avatar
      fix unused parameter warning · a0938d94
      Dave DeMarle authored
      Change-Id: I387a707a2e219e68600ddd1f6d7d6c01ddd86021
  31. 12 Sep, 2013 1 commit
  32. 11 Jun, 2013 1 commit
  33. 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
      Change-Id: Id02490b76ea2e161b9038188264a4830485039d8
  34. 31 May, 2013 1 commit