Skip to content
Snippets Groups Projects
  1. May 30, 2017
  2. May 26, 2017
    • Alvaro Sanchez's avatar
      Added test for transfer function 2D. · 05af3d3f
      Alvaro Sanchez authored
      Split functionality in ComputeGradient::Dec into two functions, one
      containing all the reusable parts between 1D and 2D transfer functions
      (gradient computations) and one containing 1D specific calls.
      
      Changed transfer function type to VTK_FLOAT.
      05af3d3f
  3. May 01, 2017
  4. Apr 25, 2017
    • Utkarsh Ayachit's avatar
      Fix grabs from back-buffer. · 5c9ffc1b
      Utkarsh Ayachit authored
      If we intend to grab from back-buffer, we need to ensure that the render
      doesn't do a swap-buffers at the end of the render. Otherwise, that
      remains in the back buffer is not guaranteed by OpenGL spec.
      5c9ffc1b
  5. Apr 12, 2017
    • David C. Lonie's avatar
      Add VTK_SKIP_RETURN_CODE to skip tests at runtime. · ca8ce383
      David C. Lonie authored
      We have some new volume rendering tests depend on runtime state, and
      we cannot know whether or not the required support will be there
      during configure time.
      
      This patch adds a new symbolic constant, VTK_SKIP_RETURN_CODE that
      uses the SKIP_RETURN_CODE cmake test property, which allows us to skip
      the test at runtime when invalid configurations are detected. The
      value of 125 was chosen to match git rebase's skip value.
      ca8ce383
  6. Apr 08, 2017
  7. Apr 05, 2017
  8. Mar 31, 2017
  9. Mar 10, 2017
  10. Feb 17, 2017
  11. Feb 02, 2017
    • Cory Quammen's avatar
      BUG 16965: Enable reading an arbitrary number of time steps · 60f7bd9c
      Cory Quammen authored
      This patch removes the upper limit of 4096 time steps in annotated
      time XML files. Now an arbitrary number of time steps can be read.
      
      Repurposed vtkXMLDataElementVectorAttributeParse() for the purposes of
      counting tokens of a particular type in an attribute by changing the
      meaning of a NULL 'data' parameter.
      
      The existing test has been added to try out the new feature, as well
      as a small test data set.
      
      Hat tip to David Benn for the bug report and a reference solution.
      60f7bd9c
  12. Jan 25, 2017
  13. Jan 23, 2017
    • Alvaro Sanchez's avatar
      Added vtkMultiBlockVolumeMapper. · 646daa86
      Alvaro Sanchez authored
      vtkMultiBlockVolumeMapper renders vtkMultiBlockDataSet instances containing
      vtkImageData blocks. Bounds containing the full set of blocks are computed so that
      vtkRenderer can adjust the clipping planes appropriately. At render time, blocks are
      sorted back-to-front and each block is rendered independently. The mapper defers
      actual rendering to its internal vtkSmartVolumeMapper.
      646daa86
  14. Jan 22, 2017
    • Sean McBride's avatar
      const improvements to APIs and internal usage · 8b32854b
      Sean McBride authored
      - Made a few APIs' params const
      - Changed many usages of the evil GetBounds() to expect a const
        return value, even though it does not (yet?) return const
      - Slightly changed return values of vtkTextActor3D::GetBounds()
        to return its own ivar instead of its ImageActor's
      8b32854b
  15. Jan 17, 2017
    • Alvaro Sanchez's avatar
      Added support for vtkPolyData in vtkContext2D. · 1469ea5d
      Alvaro Sanchez authored
      vtkContext2D takes a new type of item which directly draws a 2D mesh
      represented by a vtkPolyData object. Internally, vtkContextDevice2D makes
      the API calls necessary to draw the internal primitives of vtkPolyData.
      Added a test demonstrating the use of vtkPolyDataItem.
      
      Added interaction and batched primitives for drawing.
      
      vtkInteractiveArea derives from vtkContextArea and implements basic interaction
      (zoom and panning). Currently, two types of vtkPolyData primitives are supported,
      Lines and Polygons. Lines are batched and drawn using ContextDevice2D::DrawLines.
      Polygons are first decomposed into a set of triangles and then drawn using
      ContextDevice2D::CoreDrawTriangles. Primitives are colored per vertex.
      
      Suppressed run-time warning.
      
      Setting the current renderer in the interactor style. Removed
      unecessary initializations.
      
      Using defined symbolic names for scalar modes.
      1469ea5d
  16. Jan 16, 2017
  17. Dec 24, 2016
  18. Dec 20, 2016
    • Bill Lorensen's avatar
      ENH: Unify error/warning testing · a5fd4df3
      Bill Lorensen authored
      CHECK_ERROR_MSG and CHECK_WARNING_MSG are used to check the
      content of error and warning messages. Error and warning code is often
      overlooked during testing. Over the years, these two macros have been
      refined to increase their utility. Tests that use the macros defined
      their own interpretations. Three different API's have been used in the
      macros.
      
      This patch replaces the CHECK_ERROR_MSG and CHECK_WARNING_MSG macros
      with methods for vtkTest::ErrorObserver.  All tests that used the
      CHECK macros in one form or another have been updated to use the
      CheckErrorMessage and CheckWarningMessage methods.
      a5fd4df3
  19. Dec 15, 2016
    • Jon Haitz Legarreta's avatar
      ENH: Add test to improve vtkDICOMImageReader coverage. · 0ed16ca5
      Jon Haitz Legarreta authored
      This patch set adds a new test to exercise the vtkDICOMImageReader's
      ability to parse a folder containing DICOM files.
      
      The DICOM files were generated using David Gobbi's niftitodicom tool from
      the vtk-dicom project, and using the filtered_func_data.nii.gz NIfTI file
      already present in VTK's testing data. Only 10 slices around the central
      axial region of the volume are included to limit the testing data size.
      0ed16ca5
  20. Dec 07, 2016
  21. Nov 28, 2016
  22. Nov 22, 2016
  23. Nov 21, 2016
  24. Oct 27, 2016
  25. Oct 25, 2016
  26. Sep 23, 2016
    • Kitware Robot's avatar
      Reindent using the reindentation script. · f830ff47
      Kitware Robot authored and David Gobbi's avatar David Gobbi committed
      This commit reindents the code with the following utility:
      Utilities/Maintenance/vtk-reindent-code.py
      
      This utility changes the positions of the braces so that they are no
      longer indented relative to the code block they reside in.
      
      The bash command line used was the following:
      
      for d in Charts Common Deprecated Domains Examples Filters GUISupport \
               Geovis IO Imaging Infovis Interaction Parallel Rendering \
               Testing Views Web Wrapping; do
        for e in cxx cxx.in txx txx.in hxx hxx.in h h.in c c.in; do
          find "${d}" -name "*.${e}" -exec \
            python Utilities/Maintenance/vtk_reindent_code.py {} +
        done
      done
      f830ff47
    • David DeMarle's avatar
      replace VTK's nonstandard Doxygen with standard markup · 6a7e5148
      David DeMarle authored
      generated via:
      cd $VTKSRC
      perl Utilities/Doxygen/doc_header2doxygen.pl --to ~/tmp/vtkheaders .
      cp -r ~/tmp/vtkheaders/* .
      6a7e5148
    • Dave DeMarle's avatar
      preemptively fix issues that trip of doxygen converted code · a2250027
      Dave DeMarle authored
      fix problematic ccomments that trip up doxygen generator. Mostly
      c style comments in class description but a few cases of comments
      not in expected location that leads to stripped out code and comp fails
      
      fix trailing whitespaces that will fail style check when committed
      
      Thanks Andrew Maclean for updating the url to VTK publications.
      a2250027
  27. Sep 12, 2016
    • Haocheng LIU's avatar
      Rewrite all public&private dependency in module.cmake file · 6e113ad4
      Haocheng LIU authored
      The current dependency relationship in vtk is unclear and misleading.
      This MR tries to rewrite them based on header files inclusion of headers
      and source files in each module. Corner cases are considered and
      modules are sorted in alphabetical order to facilitate future reference.
      See details in my gitlab python based script project. In future we can continue
      using this script to clean the VTK Dependency easily from
      time to time.
      6e113ad4
  28. Sep 09, 2016
  29. Aug 23, 2016
  30. Aug 22, 2016
  31. Aug 19, 2016
    • Bill Lorensen's avatar
      ENH: Introduce vtkMTimeType · 9333d9d1
      Bill Lorensen authored
      This is a fix for:
      #14310
      
      Windows applications that run for a long time report that rendered
      objects do not change. This is because the modified time on a Windows
      system is 32 bits. This causes overflows that defeat the modified time
      mechanism. This patch defines a new type, vtkMTimeType that is 64
      unsigned integer regardless of the architecture.
      
      A mechanism to provide backward compatibility is introduced. The
      preprocessor define "VTK_HAS_MTIME_TYPE" can be used in applications
      that must build against VTK versions that use the "unsigned long" type
      for MTime's.
      
      Methodology used to find MTime occurences:
      1) Identify files as follows:
         git grep "unsigned long" | grep ime | cut -d":" -f1,1 | sort | uniq
      2) Hand edit each of those files replacing "unsigned long" with
         "vtkMTimeType" where appropriate.
      3) Temporarily change typedef for vtkMTimeType to "double" to detect
         missing conversions
      9333d9d1
  32. Aug 15, 2016
  33. Aug 04, 2016
  34. Jul 13, 2016
Loading