1. 23 Sep, 2016 1 commit
  2. 20 Sep, 2016 1 commit
  3. 12 Sep, 2016 1 commit
    • 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.
  4. 19 Aug, 2016 2 commits
    • Robert Maynard's avatar
    • Bill Lorensen's avatar
      ENH: Introduce vtkMTimeType · 9333d9d1
      Bill Lorensen authored
      This is a fix for:
      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
  5. 07 Jul, 2016 2 commits
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION to many constructors · 1853e030
      Sean McBride authored
      vtk(.*)\(const vtk\1&\);\s*//\s*Not implemented[\.]*
      vtk\1(const vtk\1\&) VTK_DELETE_FUNCTION;
      vtk(.*)\(const vtk\1 &\);\s*//\s*Not implemented[\.]*
      vtk\1(const vtk\1 \&) VTK_DELETE_FUNCTION;
      vtk(.*)\( const vtk\1 & \);\s*//\s*Not implemented[\.]*
      vtk\1( const vtk\1 \& ) VTK_DELETE_FUNCTION;
      vtk(.*)\( const vtk\1& \);\s*//\s*Not implemented[\.]*
      vtk\1( const vtk\1\& ) VTK_DELETE_FUNCTION;
      vtk(.*) \(const vtk\1&\);\s*//\s*Not implemented[\.]*
      vtk\1 (const vtk\1\&) VTK_DELETE_FUNCTION;
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION for operator= · 2d0e11ef
      Sean McBride authored
      After that, this finds basically nothing:
      then manually reverted changed files in VPIC and KWSys folders.
  6. 02 Apr, 2016 1 commit
  7. 30 Mar, 2016 2 commits
  8. 08 Mar, 2016 1 commit
  9. 28 Jan, 2016 1 commit
  10. 03 Nov, 2015 1 commit
  11. 30 Oct, 2015 2 commits
    • Tim Meehan's avatar
      Added a test for the new parametric functions · 2ac05e20
      Tim Meehan authored
      I added a test for the new parametric functions (Kuen, Pseudosphere,
      Bohemian Dome, Henneberg, Catalan Minimal, Bour and Plucker Conoid). I
      didn't want to add them to the 'TestParametricFunctions.py' program
      because it just made the image too cluttered. I also fixed a typo in
      vtkParametricPseudosphere.cxx, which had the minimum and maximum 'v' set
      to the same value.
    • Tim Meehan's avatar
      Added some new parametric functions · b2233c75
      Tim Meehan authored
      I looked around for some interesting parametric functions to add. These are
      all surfaces, and the parametrizations do not use special functions.
  12. 27 Oct, 2015 1 commit
  13. 09 Apr, 2015 1 commit
  14. 15 Jan, 2015 1 commit
    • Ken Martin's avatar
      Improve the performance of the parametric function source · 0204d0ec
      Ken Martin authored
      Added an option or generating normals in parametric function source
      Also significantly improved the performance and memory footprint
      for various cases.
      Also change the timing test to use a simpler parametric function
      Change-Id: I73f97cb1dfb6aa497c7e7551e90136c89108bab7
  15. 10 Jan, 2015 1 commit
    • David Gobbi's avatar
      Increase tolerance for UnitTestParametricSpline. · 87868ace
      David Gobbi authored
      This test was failing on two dashboard machines in the "Test with
      externally created points" section.  Use double the tolerance (it
      is still very small!) to see if the tests succeed.
      Change-Id: Ic92ed47335a11ac74b3a4d83b706eb3a20a33809
  16. 18 Dec, 2014 1 commit
  17. 23 Sep, 2014 1 commit
  18. 12 Sep, 2014 1 commit
  19. 03 Jul, 2014 1 commit
    • Ben Boeckel's avatar
      modules: add modules to "kits" · e5203447
      Ben Boeckel authored
      The main kits are:
          vtkOpenGL (required due to a dependency cycle from
                     vtkRenderingOpenGL on vtkImagingHybrid)
      Modules which deal with a specialization of another module belong to the
      kit related to the specialization (i.e., FiltersParallel and
      IOParallelXML both belong to the vtkParallel kit) to avoid circular
      dependencies that arise when put into the same kit as the "lesser"
      Change-Id: Icae0baa78d62cc0dcce84546541df600d4f311dd
  20. 24 Jun, 2014 1 commit
  21. 05 Jun, 2014 1 commit
    • Andrew Maclean's avatar
      ENH: Remove the need to manually regenerate the hill data. · da505148
      Andrew Maclean authored
      Improved thedocumentation and deprecated GenerateTheHills() in
      This change removes the need for the user to manually regenerate the
       centers of the hills, standard deviations and amplitudes whenever the
       parameters change.
      Previously, if any parameters changed, then the user had to manually
       call GenerateTheHills() this meant that when using ParaView, only the
       number of hills could be changed. This change will allow all the
       parameters to be changed when using ParaView.
      Change-Id: I6e8be04238591c8d435284e5eec2203ebd599dfa
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
  22. 01 Jun, 2014 1 commit
    • Andrew Maclean's avatar
      ENH: VTK Parametric surfaces - modernised the code. · 51adcdcf
      Andrew Maclean authored
      I created these classes on Feb 08, 2005 and they are showing their age.
      The following changes will update them to be more VTK 6 compliant and
       easier to use in ParaView.
          1) Setting names for the scalar, normals and texture coordinate arrays.
              Thereby enabling easier usage in ParaView.
          2) Used vtkSmartPointer where appropriate.
          3) Removed BTX/ETX for the enum, in vtkParametricFunctionSource.h
          3) Prevent out of bounds errors by using vtkSetClampMacro where appropriate.
          4) Updated documentation, changing links and credits where appropriate.
      Change-Id: I136e443d57ff4479843f48fc6eb8540475e8f8e2
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
  23. 16 Apr, 2014 3 commits
  24. 10 Mar, 2014 1 commit
    • Dave DeMarle's avatar
      fix a compilation warning · 1d754ec2
      Dave DeMarle authored
      londinium's compiler doesn't realize that the first pass doesn't
      use xm1, so it complains that it might use it uninitialized.
      Change-Id: If1263f4075b02aa6d3fcfda8b42b55d7cae72a7e
  25. 17 Feb, 2014 1 commit
    • Bill Lorensen's avatar
      ENH: Unit test for ParametricSpline · e2b5f16b
      Bill Lorensen authored
      Provide 100 % coverage in a unit test for vtkParametricSpline.
      This illustrates it can take considerable effort to provide 100%
      Change-Id: I31e9a7bc4b6e31cb23209630520d01980d0a09c9
  26. 01 Sep, 2013 1 commit
  27. 30 Jul, 2013 1 commit
    • Sean McBride's avatar
      Conservative elimination of !null checks before 'delete' · 890a9760
      Sean McBride authored
      C++ guarantees that delete 0 and delete [] 0 do nothing.
      Older buggy compilers that didn't honour this are no longer
      supported by VTK.  Conservatively removed many "if (!ptr)"
      checks before using delete in /Common.
      Change-Id: Idf185d675e516e7fb5a8a745fd3dbf9720035325
  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
      Change-Id: Id02490b76ea2e161b9038188264a4830485039d8
  29. 31 May, 2013 1 commit
  30. 23 May, 2013 1 commit
    • Brad King's avatar
      Remove references to old VTKData/Baseline directories · fc5d874c
      Brad King authored
      The VTKData repository no longer holds Baseline directories so drop
      references to such directories from the VTK source tree:
      * Replace the default -V in CMake/vtkTestingRenderingDriver.cmake with a
        value that will fail but indicate what to do.  All current uses of
        this module have an explicit -V so the default should never be used.
      * Drop a few leftover Baseline directory references from comments in
      * Remove boilerplate duplicate test command-line examples (that
        reference Baseline directories) from *.py tests and leave an updated
        example in "Wrapping/Python/README.txt".  The command-line example
        convention was added long before the modern CTest infrastructure
        and is no longer needed anyway.
      Change-Id: I3001e99b3cc8c2717107e61b3b7f988caeb49cab
  31. 17 May, 2013 2 commits
  32. 14 May, 2013 1 commit
  33. 13 May, 2013 1 commit
    • Brad King's avatar
      vtkTestingMacros: Generalize add_test_(python|tcl) · 52b51415
      Brad King authored
      Teach add_test_(python|tcl) to parse explicit NO_DATA, NO_RT, NO_VALID,
      and NO_OUTPUT keyword options for tests that do not need VTK_DATA_ROOT
      or do not use a valid baseline image.  Factor add_test_python1 into
      add_test_python and distinguish them with the NO_RT keyword argument.
      Update call sites to produce identical test command lines before and
      after this change.
      Change-Id: I09f874b26aab409e55e7aa6f92412314540dbb85