1. 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.
      6e113ad4
  2. 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[\.]*
      to
      vtk\1(const vtk\1\&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\(const vtk\1 &\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1 \&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1 & \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1 \& ) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1& \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1\& ) VTK_DELETE_FUNCTION;
      
      vtk(.*) \(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1 (const vtk\1\&) VTK_DELETE_FUNCTION;
      1853e030
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION for operator= · 2d0e11ef
      Sean McBride authored
      (operator\s*=.*);\s*//\s*Not\s*implemented[\.]*
      to
      \1 VTK_DELETE_FUNCTION;
      
      After that, this finds basically nothing:
      
      operator.*implemented
      
      then manually reverted changed files in VPIC and KWSys folders.
      2d0e11ef
  3. 08 Mar, 2016 1 commit
  4. 18 Dec, 2014 1 commit
  5. 03 Jul, 2014 1 commit
    • Ben Boeckel's avatar
      modules: add modules to "kits" · e5203447
      Ben Boeckel authored
      The main kits are:
      
          vtkCommon
          vtkFilters
          vtkIO
          vtkImaging
          vtkInteraction
          vtkOpenGL (required due to a dependency cycle from
                     vtkRenderingOpenGL on vtkImagingHybrid)
          vtkParallel
          vtkRendering
          vtkViews
          vtkWrapping
      
      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"
      module.
      
      Change-Id: Icae0baa78d62cc0dcce84546541df600d4f311dd
      e5203447
  6. 20 Jun, 2014 1 commit
  7. 21 May, 2014 3 commits
    • Berk Geveci's avatar
      Moved key. · ac6f1854
      Berk Geveci authored
      It made more sense to have both CAN_PRODUCE_SUB_EXTENT and
      CAN_HANDLE_PIECE_REQUEST in vtkAlgorithm.
      
      Change-Id: Ie64bb3e7c8417113bfb7f677c10d8feb5fdddc39
      ac6f1854
    • Berk Geveci's avatar
      Updated filters and sources to work with new pipeline logic. · 747b780a
      Berk Geveci authored
      Change-Id: Id76d3bc545a64675a0820cb1d9b45c61a51efc6a
      747b780a
    • Berk Geveci's avatar
      Refactored how pieces and extents are handled. · 1a0b4e9d
      Berk Geveci authored
      Refactoring the way VTK goes between piece and structured
      extents. Before, extent translators were used when the pipeline
      moved from structured to unstructured data converting piece
      request to extent request. This caused many problems with filters
      that altered extents, mainly a lot of redundant IO due to
      repartitioning of different extents. This became extremely
      cumbersome to manage when running distributed. The new behavior
      pushes the extent translation all to way to the readers and
      only when readers are able to read a subset. This works much
      better. The only downside is that filters need to be able to
      handle data extents different than update extents. Most filters
      can do this but many imaging filters cannot. Those that are
      needed in parallel will have to be updated.
      
      As part of this work, I also removed MAXIMUM_NUMBER_OF_PIECES
      and added CAN_HANDLE_PIECE_REQUEST. MAXIMUM_NUMBER_OF_PIECES had
      reduced to being a boolean. 1 for serial sources, -1 for parallel
      sources. I removed it and added a CAN_HANDLE_PIECE_REQUEST instead.
      This key, produced by a source, tells the executive that a source is
      able to handle piece request. It is a source only key produced in
      RequestInformation and is not propagated downstream. If this key is
      not present, the executive will only execute the source for piece 0
      to produce the entire data. It is then up to the user to add a filter
      that splits the data for other piece requests. The only exception to
      this is when CAN_PRODUCE_SUB_EXTENT is present, in which case the
      executive will split using an extent translator AT THE source - not
      downstream.
      
      Conflicts:
      	Filters/FlowPaths/vtkParticleTracerBase.cxx
      
      Change-Id: I8db4040289ff87331adeecded4a738313d9b52df
      1a0b4e9d
  8. 06 May, 2014 1 commit
  9. 23 Apr, 2014 1 commit
    • Brad King's avatar
      Use vtkMPI.cmake helper for all module MPI tests · c05001df
      Brad King authored
      In commit cd4fc15a (Rewrite the testing macros, 2014-03-14)
      the vtk_test_mpi_executable() helper was introduced to add
      MPI tests.  It depends on the vtk_mpi_link() helper in the
      vtkMPI module.  Include the latter in all test CMakeLists.txt
      files that add MPI tests.
      
      Change-Id: Ifecc7c6b1bf856a8f66905bfb2d69e22b5de3aac
      c05001df
  10. 16 Apr, 2014 1 commit
  11. 24 May, 2013 1 commit
    • Brad King's avatar
      Convert VTKLargeData test inputs to ExternalData content links · 4fbc3a0d
      Brad King authored
      Add a Testing/Data directory with ExternalData content links mirroring
      the content and layout we use from the VTKLargeData/Data directory.
      Add a VTK_USE_LARGE_DATA option to enable tests using such data.
      
      Call ExternalData_Expand_Arguments in */*/Testing/Cxx/CMakeLists.txt for
      tests that reference these data files in order to tell the ExternalData
      module to populate a ExternalData/Testing/Data directory in the build
      tree.  Pass the ExternalData/Testing directory in the build tree as the
      "-D" data directory option to tests using these data so that they can
      find the files where ExternalData puts them at build time.
      
      In the vtk_add_test_* API replace the LARGE_DATA options with a new
      TESTING_DATA option to indicate that a test uses the directory
      ExternalData/Testing/Data populated by ExternalData from the
      Testing/Data source directory.
      
      Drop VTK_LARGE_DATA_ROOT and stop using the VTKLargeData repository.
      Drop references to VTKLargeData from test source comments.
      
      Change-Id: Iaaf36293a840e65d6c171ae69b5c99db4c61443e
      4fbc3a0d
  12. 17 May, 2013 1 commit
  13. 14 May, 2013 2 commits
  14. 22 Apr, 2013 1 commit
    • 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
  15. 02 Oct, 2012 1 commit
    • David E. DeMarle's avatar
      Fix most of the parallel tests. · 4d05b66e
      David E. DeMarle authored
      Add optional test macro arguments to allow for some of the tests to
      depend on VTK_LARGE_DATA_ROOT and for most of the tests to have
      their correct images in an pre-modularized vtkdata directory layout.
      NOTE: This requires some VTKDATA file movement because old tests
      have names like tname.cxx.png and this assumes tname.png.
      
      Also make TestParallelRendering return some sort of pass/fail result.
      
      Change-Id: Id76a92ac1d7f5eedb15baff91e6849b590961d5e
      4d05b66e
  16. 28 Aug, 2012 1 commit
  17. 09 Apr, 2012 4 commits
    • VTK Developers's avatar
      Remove trailing whitespace from all source files · 2d323fc4
      VTK Developers authored
      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
      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
      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
      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