Skip to content
Snippets Groups Projects
  1. Jan 28, 2014
  2. Nov 10, 2013
  3. Sep 01, 2013
  4. Aug 18, 2013
  5. Jun 11, 2013
  6. Jun 04, 2013
    • 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
  7. May 17, 2013
  8. May 14, 2013
  9. Apr 28, 2013
    • 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: default avatarAndrew Maclean <andrew.amaclean@gmail.com>
      3810c5a6
  10. Apr 22, 2013
    • Bill Lorensen's avatar
      ENH: Add InteractionStyle to rendering tests · f83d821a
      Bill Lorensen authored
      When tests are run with -I they must be linked with InteractionStyle.
      
      On the Mac, tests must be linked with MACOSX_BUNDLE to get keyboard
      focus.
      
      Change-Id: I938c4b6a5a44ca5792f5eeaaa946cc9fb27e1110
      f83d821a
  11. Apr 01, 2013
    • Sean McBride's avatar
      Replaced invalid casts with memcpy · 32dcb78d
      Sean McBride authored
      A few places were reinterpreting byte aligned memory
      as larger types like int, float, or double.
      
      Use memcpy, which can do this kind of thing safely.
      
      Fixes -Wcast-align warnings.
      
      Change-Id: I93cdb897384f70c568a9a7ca8afbd3983ca502b9
      32dcb78d
    • Sean McBride's avatar
      Fixed Wcast-align warning by removing cast · 9672a33b
      Sean McBride authored
      Removed unnecessary cast of malloc's result
      (void*) to char*.
      
      Change-Id: I715bfcd16ca314ec2d47a2d7a7e43bd091b3a8de
      9672a33b
  12. Mar 15, 2013
    • Sean McBride's avatar
      Big find-replace of VTK_LARGE_INTEGER -> VTK_INT_MAX · 1ff4b0ee
      Sean McBride authored
      vtkType.h says that VTK_LARGE_INTEGER is a
      'compatibility name'.  There were many uses of the
      old name, which I updated.  The find-replace should
      be quite safe as it's basically what the preprocessor
      does anyway.
      
      Change-Id: Ic82bfec6d706dbcd68af70f2d4a31cdd51f7b497
      1ff4b0ee
  13. Mar 07, 2013
    • Bill Lorensen's avatar
      BUG: Vertext list leak · af106289
      Bill Lorensen authored
      vtkPLY allocates a list of vertices for each face. That list was not
      freed after it was used in vtkPLYReader.
      
      To further compilate things, vtkPLY::ascii_get_element and
      vtkPLY::binary_get_element used two different forms of heap allocation.
      
      Change-Id: Ic92d3b9dd3291576a8ce285e905db760cbf7f23b
      af106289
  14. Feb 15, 2013
    • Bill Lorensen's avatar
      ENH: Tcl tests should not fail if VTK_DATA_ROOT is missing. · c5ab6fda
      Bill Lorensen authored
      A test should run without VTK_DATA_ROOT unless it needs input data
      from VTK_DATA_ROOT. Tests that have image baselines should still run
      unless they need input data.
      
      rtImage.tcl is modified to skip baseline comparisons if VTK_DATA_ROOT
      is not defined.
      
      CMakeLists.txt files are converted to use add_test_tcl macro for
      consistency.
      
      CMakeLists.txt files are changed to isolate tests that need input
      data.
      
      This was tested as follows:
      1) configured a build with VTK_DATA_ROOT undefine
         ctest -R Tcl-
         154 tests passed
      2) configured a build with VTK_DATA_ROOT defined
         ctest -R Tcl-
         390 tests passed
      
      This means that 390-154 = 236 tcl tests require input data
      
      Change-Id: I9067a3e3e2a710ddf353f0181cc7b22a85b5ef10
      c5ab6fda
  15. Oct 11, 2012
  16. Sep 20, 2012
  17. Aug 31, 2012
    • Berk Geveci's avatar
      Moved readers and writers of the legacy VTK format to their own module. · 7f5f0bbc
      Berk Geveci authored and Chris Harris's avatar Chris Harris committed
      The legacy readers and writers somehow ended up in the IO/Geometry
      module. I moved them to their own: IO/Legacy. I also cleaned
      up dependencies. Some writers somewhat incorrectly subclasses from
      the legacy writers even though they supported completely different formats.
      They did this to just use things like FileName.
      
      Change-Id: I603753bc7145b317bd71e7798cd2ea8a6c5c56c1
      7f5f0bbc
  18. May 18, 2012
  19. Apr 10, 2012
    • Brad King's avatar
      Define VTK_TEST_OUTPUT_DIR to name Testing/Temporary directory · 13e19ed9
      Brad King authored
      Replace all references to ${VTK_BINARY_DIR}/Testing/Temporary with
      ${VTK_TEST_OUTPUT_DIR} and set the variable accordingly.  The latter is
      shorter and will also be useful to build module tests as an external
      application that does not have VTK_BINARY_DIR available.
      
      Change-Id: I5159077c10dd2eab23365e9ac917bc6cbd806589
      13e19ed9
  20. Apr 09, 2012
    • Brad King's avatar
      Mark headers to be excluded from header style tests · 002f853f
      Brad King authored
      Add a comment to the bottom of each header that used to be excluded from
      kit HeaderTesting tests in monolithic VTK.  Format the comment in a way
      that cannot be accidentally copied into another header without
      modification.  This comment will tell HeaderTesting.py to exclude a
      header from testing so we do not have to separately list every excluded
      header in every module.
      
      Change-Id: I9d7ae607125459a6527843c8c15ac463a20f6812
      002f853f
    • VTK Developers's avatar
      Remove trailing whitespace from all source files · 2d323fc4
      VTK Developers authored and Brad King's avatar Brad King committed
      Exclude ThirdParty, Utilities/MetaIO, and Utilities/KWSys as these
      are maintained outside VTK.
      
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      2d323fc4
    • VTK Developers's avatar
      Include module-wide headers and export macros · 144f03ca
      VTK Developers authored and Brad King's avatar Brad King committed
      Include the module-wide header from every header in each module.
      Reference the export/visibility macro for the module.
      
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      144f03ca
    • VTK Developers's avatar
      Add modular VTK build system · 0c1471f1
      VTK Developers authored and Brad King's avatar Brad King committed
      Add module.cmake, CMakeLists.txt, and other build system files.
      
      The modular VTK build system is not yet mature.  The monolithic build
      files had a lot of infrastructure.  The modular build files reproduce
      much of the functionality but some features will need to be restored
      later.  Document status and tasks in "TODO-Modularization.txt".
      
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>
      0c1471f1
    • VTK Developers's avatar
      Modularize VTK tree layout · cdd4d6fd
      VTK Developers authored and Brad King's avatar Brad King committed
      Move source files from their former monolithic VTK location to their new
      location in modular VTK without modification.  This preserves enough
      information for "git blame -M" and "git log --follow" to connect
      modularized VTK files to their original location and history.
      
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>
      cdd4d6fd
Loading